commit: d3164b4b7e87340229b8b4bb23733291f65ad984
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 2 15:14:20 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Aug 2 15:15:12 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3164b4b
app-crypt/glep63-check: Bump to v5, now with tests!
app-crypt/glep63-check/Manifest | 1 +
app-crypt/glep63-check/glep63-check-5.ebuild | 26 ++++++++++++++++++++++++++
2 files changed, 27 insertions(+)
diff --git a/app-crypt/glep63-check/Manifest b/app-crypt/glep63-check/Manifest
index 1f3b875b029..376cc055415 100644
--- a/app-crypt/glep63-check/Manifest
+++ b/app-crypt/glep63-check/Manifest
@@ -1 +1,2 @@
DIST glep63-check-4.tar.gz 5898 BLAKE2B
b28dd0843138bb54c81142959a28b121b043b7da4e3dc797b8ad3ebabfde6f850a11c40e94e3d20b9cf152b2138165733ba36754859081eb59bbbd5e99f2b98e
SHA512
65a40ce097937df0517f86d1b32fd47e23d39abc6a49fa45dfa9075e7f7a163c2c2e25f6e39538a5e47c295bfdb2390bc4909e14a06b21f2bf14edf8cf43f199
+DIST glep63-check-5.tar.gz 61234 BLAKE2B
15b2e38e00ec044c963f4aaea9be4bf0659441a94ba9958aa1e70ecd425cc9f3dada31ab194092abdf9953ca10d711aa0cdd615365a6e78761b07fb0739fadd5
SHA512
d79a2e2a92dc4f123fbfa73df501fb9a0829a879e0d3674e8d6a854b8a2b437698b77793d92c6862d646a58ef302638cb9e5d152f60e634c9ec06e804dea79b4
diff --git a/app-crypt/glep63-check/glep63-check-5.ebuild
b/app-crypt/glep63-check/glep63-check-5.ebuild
new file mode 100644
index 00000000000..b1ee063dd91
--- /dev/null
+++ b/app-crypt/glep63-check/glep63-check-5.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5,6,7} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="GLEP 63 compliance checker for OpenPGP keys"
+HOMEPAGE="https://github.com/mgorny/glep63-check/"
+SRC_URI="https://github.com/mgorny/glep63-check/archive/v${PV}.tar.gz ->
${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="app-crypt/gnupg"
+DEPEND="test? ( ${RDEPEND} )"
+
+python_test() {
+ "${EPYTHON}" -m unittest -v || die "Tests fail with ${EPYTHON}"
+}