summaryrefslogtreecommitdiff
path: root/dev-python/python-gnupg/python-gnupg-0.5.5.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-08-06 07:02:57 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-08-06 07:02:57 +0000
commit20f0b54e2d7710a03c17bdf936e3f1c81a4c2aca (patch)
tree14e0d5c8013827edcbbaaaffe3223548a4eb2864 /dev-python/python-gnupg/python-gnupg-0.5.5.ebuild
parent509e6c551a619cca02520a6671827dc8a31a9399 (diff)
downloadbaldeagleos-repo-20f0b54e2d7710a03c17bdf936e3f1c81a4c2aca.tar.gz
baldeagleos-repo-20f0b54e2d7710a03c17bdf936e3f1c81a4c2aca.tar.xz
baldeagleos-repo-20f0b54e2d7710a03c17bdf936e3f1c81a4c2aca.zip
Adding metadata
Diffstat (limited to 'dev-python/python-gnupg/python-gnupg-0.5.5.ebuild')
-rw-r--r--dev-python/python-gnupg/python-gnupg-0.5.5.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/python-gnupg/python-gnupg-0.5.5.ebuild b/dev-python/python-gnupg/python-gnupg-0.5.5.ebuild
new file mode 100644
index 000000000000..f0fb11355910
--- /dev/null
+++ b/dev-python/python-gnupg/python-gnupg-0.5.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 )
+
+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
+ verify-sig? (
+ https://github.com/vsajip/python-gnupg/releases/download/${PV}/${P}.tar.gz.asc
+ )
+"
+
+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-crypt/gnupg[nls]
+"
+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 tests needing Internet access.
+ NO_EXTERNAL_TESTS=1 eunittest
+}