summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-08-02 17:14:20 +0200
committerMichał Górny <mgorny@gentoo.org>2018-08-02 17:15:12 +0200
commitd3164b4b7e87340229b8b4bb23733291f65ad984 (patch)
treedd0bc0f57915e2dbd66364c0ab0b232810dc0b9d /app-crypt/glep63-check
parentnet-im/err: add missing initscript (diff)
downloadgentoo-d3164b4b7e87340229b8b4bb23733291f65ad984.tar.gz
gentoo-d3164b4b7e87340229b8b4bb23733291f65ad984.tar.bz2
gentoo-d3164b4b7e87340229b8b4bb23733291f65ad984.zip
app-crypt/glep63-check: Bump to v5, now with tests!
Diffstat (limited to 'app-crypt/glep63-check')
-rw-r--r--app-crypt/glep63-check/Manifest1
-rw-r--r--app-crypt/glep63-check/glep63-check-5.ebuild26
2 files changed, 27 insertions, 0 deletions
diff --git a/app-crypt/glep63-check/Manifest b/app-crypt/glep63-check/Manifest
index 1f3b875b029f..376cc055415b 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 000000000000..b1ee063dd914
--- /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}"
+}