diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-08-03 10:43:59 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-08-03 11:33:54 +0200 |
commit | e675cddac7e62dee473e7244998587e327a5e60d (patch) | |
tree | 93298b88e9f7ca17a0619067009c69cf90913dd1 /app-crypt/glep63-check/glep63-check-6.ebuild | |
parent | app-leechcraft/lc-core: drop USE-flag from x11-libs/qwt dependency (diff) | |
download | gentoo-e675cddac7e62dee473e7244998587e327a5e60d.tar.gz gentoo-e675cddac7e62dee473e7244998587e327a5e60d.tar.bz2 gentoo-e675cddac7e62dee473e7244998587e327a5e60d.zip |
app-crypt/glep63-check: Bump to v6
Diffstat (limited to 'app-crypt/glep63-check/glep63-check-6.ebuild')
-rw-r--r-- | app-crypt/glep63-check/glep63-check-6.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app-crypt/glep63-check/glep63-check-6.ebuild b/app-crypt/glep63-check/glep63-check-6.ebuild new file mode 100644 index 000000000000..0719917e3491 --- /dev/null +++ b/app-crypt/glep63-check/glep63-check-6.ebuild @@ -0,0 +1,30 @@ +# 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} ) + +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}" +} |