summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZamarin Arthur <arthurzam@gmail.com>2021-05-21 11:53:08 +0300
committerMichał Górny <mgorny@gentoo.org>2021-05-22 12:52:14 +0200
commit4b710aba970c3484dddf383802323c750ec353c4 (patch)
tree1b96821f0f96ec2340388a622080c47504d5b9ba /dev-python/python-gnupg
parentdev-python/python-jose: enable doc generation (diff)
downloadgentoo-4b710aba970c3484dddf383802323c750ec353c4.tar.gz
gentoo-4b710aba970c3484dddf383802323c750ec353c4.tar.bz2
gentoo-4b710aba970c3484dddf383802323c750ec353c4.zip
dev-python/python-gnupg: bump to python 3.10
passes tests Signed-off-by: Zamarin Arthur <arthurzam@gmail.com> Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-gnupg')
-rw-r--r--dev-python/python-gnupg/python-gnupg-0.4.7.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-python/python-gnupg/python-gnupg-0.4.7.ebuild b/dev-python/python-gnupg/python-gnupg-0.4.7.ebuild
index 1cd17bfc5706..c8b201758699 100644
--- a/dev-python/python-gnupg/python-gnupg-0.4.7.ebuild
+++ b/dev-python/python-gnupg/python-gnupg-0.4.7.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
+PYTHON_COMPAT=( pypy3 python3_{7..10} )
inherit distutils-r1
@@ -21,9 +21,10 @@ SLOT="0"
RDEPEND="app-crypt/gnupg"
DEPEND="${RDEPEND}"
+distutils_enable_tests unittest
+
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}"
+ NO_EXTERNAL_TESTS=1 eunittest
}