summaryrefslogtreecommitdiff
path: root/dev-python/python-gnupg/python-gnupg-0.4.9-r1.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-07-14 04:42:06 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-07-14 04:42:06 +0000
commit907ffd4300ff0cb1abe415f54557258e740367c6 (patch)
tree059864e8766647a8ab862bd70ac014a4555db572 /dev-python/python-gnupg/python-gnupg-0.4.9-r1.ebuild
parent6ba18143cef524e5f31e1ff714624c09d3411505 (diff)
downloadbaldeagleos-repo-907ffd4300ff0cb1abe415f54557258e740367c6.tar.gz
baldeagleos-repo-907ffd4300ff0cb1abe415f54557258e740367c6.tar.xz
baldeagleos-repo-907ffd4300ff0cb1abe415f54557258e740367c6.zip
Adding metadata
Diffstat (limited to 'dev-python/python-gnupg/python-gnupg-0.4.9-r1.ebuild')
-rw-r--r--dev-python/python-gnupg/python-gnupg-0.4.9-r1.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/python-gnupg/python-gnupg-0.4.9-r1.ebuild b/dev-python/python-gnupg/python-gnupg-0.4.9-r1.ebuild
new file mode 100644
index 000000000000..dc0165f08dbf
--- /dev/null
+++ b/dev-python/python-gnupg/python-gnupg-0.4.9-r1.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=( python3_{7,8,9,10} pypy3 )
+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
+}