diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:47:34 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:47:34 -0500 |
| commit | dda948891d3731927b821ce31f9d9a2d03ba20c5 (patch) | |
| tree | 99cd40be4cbb0606260da212cd81b8ab2db9da9b /dev-python/python-gnupg/python-gnupg-0.5.6.ebuild | |
| parent | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (diff) | |
| download | baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.gz baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.xz baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.zip | |
Adding metadata
Diffstat (limited to 'dev-python/python-gnupg/python-gnupg-0.5.6.ebuild')
| -rw-r--r-- | dev-python/python-gnupg/python-gnupg-0.5.6.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/python-gnupg/python-gnupg-0.5.6.ebuild b/dev-python/python-gnupg/python-gnupg-0.5.6.ebuild new file mode 100644 index 000000000000..68af7e90d9a9 --- /dev/null +++ b/dev-python/python-gnupg/python-gnupg-0.5.6.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi 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/ +" +# the download is the same as pypi sdist +SRC_URI+=" + https://github.com/vsajip/python-gnupg/releases/download/${PV}/${P/-/_}.tar.gz + verify-sig? ( + https://github.com/vsajip/python-gnupg/releases/download/${PV}/${P/-/_}.tar.gz.asc + ) +" +# https://github.com/vsajip/python-gnupg/issues/272 +S=${WORKDIR}/${P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~sparc x86" + +# Need gnupg[nls] for avoiding decode errors and possible hangs +# w/ e.g. sec-keys/openpgp-keys-gentoo-developers but other pkgs too. +DEPEND=" + || ( + app-alternatives/gpg[nls,reference] + app-alternatives/gpg[nls,freepg(-)] + ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + verify-sig? ( sec-keys/openpgp-keys-vinaysajip ) +" + +distutils_enable_tests unittest + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/vinaysajip.asc + +python_test() { + # NO_EXTERNAL_TESTS must be enabled to disable network tests. + NO_EXTERNAL_TESTS=1 eunittest +} |
