summaryrefslogtreecommitdiff
path: root/dev-python/python-gnupg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-21 12:11:53 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-21 12:11:53 +0100
commit1fd1215c62ee14dc2e94fa04d6e3622391c9ab57 (patch)
tree909630a900b1ac6b180d8af2e2345a171417d59f /dev-python/python-gnupg
parentd60aa36cd97fb2193f756b45820d7c073a49229d (diff)
gentoo auto-resync : 21:09:2024 - 12:11:53
Diffstat (limited to 'dev-python/python-gnupg')
-rw-r--r--dev-python/python-gnupg/Manifest3
-rw-r--r--dev-python/python-gnupg/python-gnupg-0.5.3.ebuild48
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/python-gnupg/Manifest b/dev-python/python-gnupg/Manifest
index a7745d947f7c..4f37260d7dab 100644
--- a/dev-python/python-gnupg/Manifest
+++ b/dev-python/python-gnupg/Manifest
@@ -1,4 +1,7 @@
DIST python-gnupg-0.5.2.tar.gz 64531 BLAKE2B c753004e60c16d9c098074b44f1d0b71e35544b478fbd90bfce0e50ab72b8581229d540ea612327b1fde0bcb247782daf4c39c51efe4de3360faeadc13a22f80 SHA512 9ccfb1dad7895cd08b86f9d220a58d67d83a8acead830364d51d49733d442e7d36e8b68541f3f867a4f11c964293b084a316c1caeb45165af2882b8603742846
DIST python-gnupg-0.5.2.tar.gz.asc 801 BLAKE2B e778867bf354f6b488a2876bd70928642062200388227cae497cd09c934803a57801a2a306b669aa13aeaeb741f69b15c9597df2d19c04fb9137a1e6f20d36e8 SHA512 ea1d017331dcc88bda9bfa5332894a55e9597aabcecf9abdfd1ae8fa9e23478346d3c82d809fc1e34f112ace091c1d4cfb2bc67f33d30bd34dc0127055bb2065
+DIST python-gnupg-0.5.3.tar.gz 65457 BLAKE2B d5b646b2aadfef922d1b3116259b0f02668df373375676e679fd900bf001c91b58dd6fb06c8e3470d4135f4ef6b45fd1c5f63a78d3425e82931f2c190a28b129 SHA512 88a2d754df7265aefac6b9a0651c7e933125ba7f8170bda7e867f5dd8bb54272609c26d0ce17a15afa7710baebe06fa3ab211e2af1d1d84eb1f1c65ba7a1dd6a
+DIST python-gnupg-0.5.3.tar.gz.asc 833 BLAKE2B bbb455c138df56dec489334f1d9c9a13603e60bc88f156977ad09c0a0e8eefa89ceb5fe4dd4d01c4e2d92d193257024decee879457633bcba9ebc3a83fe8f20c SHA512 052022dd90821e3aac3b77e92921dcdcaa0e5d6914d04a533bf3e9af1cd74fbae59a756c37a9ed0a1b6e945a316e5414c4174c51d03bb70a5fc4d6d8e3c5400e
EBUILD python-gnupg-0.5.2.ebuild 1187 BLAKE2B 7bb7fca9f5b0bd0c19a67a2e82f192366ad39228ee9d3c1add5cd2e09f402b707f36f76ec7777ca32c6030a18ee04f9d18a7aa390512180a380d5e729b984d08 SHA512 4edd160d7f962228454a6d0d97bf87bf266750d3e42c2adfc8598dce5b2193494ac53fa8ac8eef5d85f9764ea2649e081a79d7e5dc4fe3d068f637bec2e2e83e
+EBUILD python-gnupg-0.5.3.ebuild 1195 BLAKE2B 271137b4040dee5eabfd895f07c7842501871286e234eb89b55d4d62ca96b6a05e79dcaad57872add78150d3cb8434373a194a8d237044c41d5900d14cffcb72 SHA512 9eba275c9d557cf89c4a9422d9c57c82e7a8c0415ab1d261a3b68888b149a988020cf4c7a71a37b9f1e3f99a2783deaede7a62de939bca6a69654a14f3a5a1c8
MISC metadata.xml 633 BLAKE2B 8f4c4f15c4aeae389c2f13e972248da4d7bb9adc1783a54e3882e677d7ce4f197fde565cf7c68a197a55291ea6a15f99c3b39dcc0bd3d18ff981738e5b4a94ab SHA512 77944c5fa529fb844598005386dd639ae30def95a66087b1e1e5441f21a8ba549d6ef0e28dab88527d11cae2a4a6d6c1871dacc765d2fb12188d53e893bd0df9
diff --git a/dev-python/python-gnupg/python-gnupg-0.5.3.ebuild b/dev-python/python-gnupg/python-gnupg-0.5.3.ebuild
new file mode 100644
index 000000000000..0f66623fd7e8
--- /dev/null
+++ b/dev-python/python-gnupg/python-gnupg-0.5.3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+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 all tests, which need internet access.
+ NO_EXTERNAL_TESTS=1 eunittest
+}