diff options
author | Sam James <sam@gentoo.org> | 2022-08-24 00:17:00 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-08-24 01:08:29 +0100 |
commit | 808561585553b345ff72ed811285afbfa079489f (patch) | |
tree | 52ee98087a7607b1913dd2a79a0f93528c9a0000 /dev-python/python-gnupg | |
parent | dev-python/ansible-runner: add 2.1.0 (diff) | |
download | gentoo-808561585553b345ff72ed811285afbfa079489f.tar.gz gentoo-808561585553b345ff72ed811285afbfa079489f.tar.bz2 gentoo-808561585553b345ff72ed811285afbfa079489f.zip |
dev-python/python-gnupg: add 0.5.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/python-gnupg')
-rw-r--r-- | dev-python/python-gnupg/Manifest | 2 | ||||
-rw-r--r-- | dev-python/python-gnupg/python-gnupg-0.5.0.ebuild | 32 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/python-gnupg/Manifest b/dev-python/python-gnupg/Manifest index 9d8e932b2c51..0673d27a4470 100644 --- a/dev-python/python-gnupg/Manifest +++ b/dev-python/python-gnupg/Manifest @@ -1,2 +1,4 @@ DIST python-gnupg-0.4.9.tar.gz 59982 BLAKE2B 09ca33bf181239d2ed39930e2b017f30e5c3ff158ccf937a1a1e72366cd144bc7327c8a57517840f976b10fbf542f8181721fa6e203cf0b67766b3fea9ca2d16 SHA512 e59685bea966addbfacfd5516601c518c9ccd7a828250584a00dca5c2062b30bd859ae73b467bd16db60abd800bd0b66f68177e56d3c48654416a294e72f3e8f DIST python-gnupg-0.4.9.tar.gz.asc 801 BLAKE2B d95b5e5bb5613adfb5705851ba1f1ff4a9331bfedb452d3f15e7838aaaf66b9b161664e1dc7f16acc4490eb2647dcf6ed1d1cf9b5272bd9523527b7329917cfb SHA512 ca91795ae7c43e825f35bccbbb3464e6f9e60742f28d1e215e97680c4de454b07375d66593553ace53d6fc9ceb423253a34f3ea6a5bc1b27e7da9b0ba3c385f2 +DIST python-gnupg-0.5.0.tar.gz 61154 BLAKE2B 0ae7e8ff669f51b47410a7a5aef16ca6792db18f28c59d3ce6615d0852eba1e201e3d000d1f644ffc1a362a74ee56c0930dd5814c23238137d6d8696319fd130 SHA512 cfd302257b53fdc9318004db7323ea5bf4bddc055b65b24386a1ecb27cd476fdf1bc771adcdde70a4eef442982a0c57dc832b92274bbe5ba16cbdf3247f4e77a +DIST python-gnupg-0.5.0.tar.gz.asc 801 BLAKE2B a3df8ea4c22c2df8351aeb51a670e36e2809eef2248507842b9580f819af5c4e5a7ad4902ef54f2a62c3629a2d658cac346cc1647838e8066b2a018939e1a751 SHA512 58fa1b201803bb542e3fb9c1c567d83abba0e897b52efa331942899684e15b4c44a225c28adce58c69c290d5059fc562556b79fec21f960c894b30a8f3642405 diff --git a/dev-python/python-gnupg/python-gnupg-0.5.0.ebuild b/dev-python/python-gnupg/python-gnupg-0.5.0.ebuild new file mode 100644 index 000000000000..8e1e818cf84e --- /dev/null +++ b/dev-python/python-gnupg/python-gnupg-0.5.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..11} ) +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/vinaysajip.asc +inherit distutils-r1 verify-sig + +DESCRIPTION="A Python wrapper for GnuPG" +HOMEPAGE="https://docs.red-dove.com/python-gnupg/" +SRC_URI="https://github.com/vsajip/python-gnupg/releases/download/${PV}/${P}.tar.gz" +SRC_URI+=" verify-sig? ( https://github.com/vsajip/python-gnupg/releases/download/${PV}/${P}.tar.gz.asc )" + +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +LICENSE="BSD" +SLOT="0" + +# Need gnupg[nls] for avoiding decode errors and possible hangs +# w/ e.g. sec-keys/openpgp-keys-gentoo-developers but other pkgs too. +RDEPEND="app-crypt/gnupg[nls]" +DEPEND="${RDEPEND}" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-vinaysajip )" + +distutils_enable_tests unittest + +python_test() { + # NO_EXTERNAL_TESTS must be enabled, + # to disable all tests, which need internet access. + NO_EXTERNAL_TESTS=1 eunittest +} |