diff options
Diffstat (limited to 'app-crypt/glep63-check')
-rw-r--r-- | app-crypt/glep63-check/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/glep63-check/glep63-check-9.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/app-crypt/glep63-check/Manifest b/app-crypt/glep63-check/Manifest index 5d642c3684be..e23e657710b7 100644 --- a/app-crypt/glep63-check/Manifest +++ b/app-crypt/glep63-check/Manifest @@ -1,3 +1,4 @@ DIST glep63-check-6.tar.gz 61318 BLAKE2B 9310a70556deabf90003c154c326480e7a5fb58992bf79201100c21fbbeb17ebfdb560d861586d1c206a8d4ed3e64500a8eca4d99dacd072dce121736cdb2d3e SHA512 f0729683095222f60243923bcb7d9c1b984eb10cb0d8a0da2ec756b40a11c3f4f3de466fa533a66d4f645a2de09137a12a47eda5e80d7d5d562b0926a30b1a72 DIST glep63-check-7.tar.gz 66680 BLAKE2B 33c332b6f90a2b9bcecc174c2a0cdd4e99f3e03d6b5c663b3477b486a96e03116612e8d63ead29d7036c115e0a21dfcf952d1085d23b1bce966fd784f1c12f23 SHA512 7990f2c926f23a92164b9aaa8da549cfe8194b7fe864f8787daf0e24d4dd7812cc917f0d5beea0355c14c0cf737a9ea2351a570da39a19a0dfc7bcd42e0cac05 DIST glep63-check-8.tar.gz 67982 BLAKE2B b6f785e7f589521f719c4bbf6452bd74c1926c24889be404680b3edefb88b335e52f991e63c3fa33ee3a0a59b5112d01b6ab62785c3074d21b4fce473cb3b17f SHA512 1063889290820d4581a11de7a74058c85889864846de635581b4d9f5b46378d64acfc8c41827de1e54276dc941e8d08a59c86e06e8090795c192437c8c39731d +DIST glep63-check-9.tar.gz 73445 BLAKE2B cd229065da9a4663491a891787d2a9e719cd9d61ea5974393199ca418413e7e1c6b73a3146577b26029ceb3302f430ed1051c9d050278b098b18407e95c1cac3 SHA512 86c49ffe2b8dde3735b85ff4808862c460b1e832fa9c3fca4fc2ea776d314c29ed2442adef2e1dbca1cec81b6ea29bbb417b123306602dfaa611b5153dddb7ac diff --git a/app-crypt/glep63-check/glep63-check-9.ebuild b/app-crypt/glep63-check/glep63-check-9.ebuild new file mode 100644 index 000000000000..13996cabd8a0 --- /dev/null +++ b/app-crypt/glep63-check/glep63-check-9.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +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} + sys-libs/libfaketime + )" + +python_test() { + "${EPYTHON}" -m unittest -v || die "Tests fail with ${EPYTHON}" +} |