commit: 1a8b813c5042bb1d903cd0ca3ca58c12ca521b0e
Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com>
AuthorDate: Fri May 21 08:45:14 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 22 10:52:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a8b813c
dev-python/python-jose: bump to python 3.10
passes tests
Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/python-jose/python-jose-3.2.0-r1.ebuild | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/dev-python/python-jose/python-jose-3.2.0-r1.ebuild
b/dev-python/python-jose/python-jose-3.2.0-r1.ebuild
index 84bbcfea7cd..6b5270e414e 100644
--- a/dev-python/python-jose/python-jose-3.2.0-r1.ebuild
+++ b/dev-python/python-jose/python-jose-3.2.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=bdepend
+
+PYTHON_COMPAT=( python3_{7..10} )
inherit distutils-r1
DESCRIPTION="A JavaScript Object Signing and Encryption (JOSE) implementation
in Python"
@@ -31,7 +31,12 @@ python_prepare_all() {
-e '/ecdsa/s:<0.15::' \
-i setup.py || die
sed -e '/addopts/d' -i setup.cfg || die
- sed -e 's:test_key_too_short:_&:' \
- -i tests/algorithms/test_EC.py || die
distutils-r1_python_prepare_all
}
+
+python_test() {
+ local deselect=(
+ tests/algorithms/test_EC.py::TestECAlgorithm::test_key_too_short
+ )
+ epytest ${deselect[@]/#/--deselect }
+}