commit:     ec09b7c2ac178562d093ddb24a7ae0c0a50bdb49
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 11 12:27:28 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 11 12:35:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec09b7c2

dev-python/python-gnupg: Bump to 0.4.7

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/python-gnupg/Manifest                  |  1 +
 dev-python/python-gnupg/python-gnupg-0.4.7.ebuild | 29 +++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/dev-python/python-gnupg/Manifest b/dev-python/python-gnupg/Manifest
index 0fcf6d9311e..81094677e36 100644
--- a/dev-python/python-gnupg/Manifest
+++ b/dev-python/python-gnupg/Manifest
@@ -1 +1,2 @@
 DIST python-gnupg-0.4.6.tar.gz 52527 BLAKE2B 
ac616bebac3c5d0ac35c2c1a9353b4ee700848be2469fabc4b6df9f328868638f61211adc786ec59a24f122106ae53cce68d0f16c33b64c2d3d27cb94bf17956
 SHA512 
33b98bdd1c7d211d31173bbea2358fdfd2dabdbd5e70d4b33035a0edbf666bdba7319ffc847c8617f2626d1bf5a91102f1103c0bfe651fcd709d51ee821be104
+DIST python-gnupg-0.4.7.tar.gz 53091 BLAKE2B 
ebbd67b7255fa6e7739da785476efc441733c3cfa740fcb11c595c560b5a90ee43a1040a654485c30ae35f5e8d06fee235a4ae8d069f20f0eb1fb6e45b4ed441
 SHA512 
e590778affd3f864bac2221e1ce7c4a37ba257e7112e023d70617f3f3c7597dbeb2974db0ed611b2fc75a071678ae8856be4a3b3f48428a12b42c2f1125fdce5

diff --git a/dev-python/python-gnupg/python-gnupg-0.4.7.ebuild 
b/dev-python/python-gnupg/python-gnupg-0.4.7.ebuild
new file mode 100644
index 00000000000..d3fb551ea89
--- /dev/null
+++ b/dev-python/python-gnupg/python-gnupg-0.4.7.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
+
+inherit distutils-r1
+
+DESCRIPTION="A Python wrapper for GnuPG"
+HOMEPAGE="
+       https://bitbucket.org/vinay.sajip/python-gnupg
+       https://pypi.org/project/python-gnupg/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+LICENSE="BSD"
+SLOT="0"
+
+RDEPEND="app-crypt/gnupg"
+DEPEND="${RDEPEND}"
+
+python_test() {
+       # NO_EXTERNAL_TESTS must be enabled,
+       # to disable all tests, which need internet access.
+       NO_EXTERNAL_TESTS=1 "${EPYTHON}" -m unittest discover -v ||
+               die "Tests failed with ${EPYTHON}"
+}

Reply via email to