diff options
| author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-07-22 15:54:15 +0300 |
|---|---|---|
| committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-07-22 15:55:53 +0300 |
| commit | e48ad96408bb9cb8002dfe60a50fa8853ceea791 (patch) | |
| tree | eab2abda5f397a4b2dc7d5187a382fba67533761 /dev-python/python-gnupg/python-gnupg-0.5.1.ebuild | |
| parent | b61d1c7193c6f0663334632487079056977898b4 (diff) | |
| download | gentoo-e48ad96408bb9cb8002dfe60a50fa8853ceea791.tar.gz gentoo-e48ad96408bb9cb8002dfe60a50fa8853ceea791.tar.bz2 gentoo-e48ad96408bb9cb8002dfe60a50fa8853ceea791.zip | |
dev-python/python-gnupg: add 0.5.1
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/python-gnupg/python-gnupg-0.5.1.ebuild')
| -rw-r--r-- | dev-python/python-gnupg/python-gnupg-0.5.1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/python-gnupg/python-gnupg-0.5.1.ebuild b/dev-python/python-gnupg/python-gnupg-0.5.1.ebuild new file mode 100644 index 000000000000..24fb9d26c8d3 --- /dev/null +++ b/dev-python/python-gnupg/python-gnupg-0.5.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) +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/ + https://github.com/vsajip/python-gnupg/ + https://pypi.org/project/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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~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 +} |
