commit: a5a795ac543a25bd6f26b1c72bcf4643cac06d37
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 2 16:11:20 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 2 16:12:42 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5a795ac
dev-python/keyring: Enable py3.10
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/keyring/keyring-23.0.1.ebuild | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/dev-python/keyring/keyring-23.0.1.ebuild
b/dev-python/keyring/keyring-23.0.1.ebuild
index d91059c922c..f1b73ebf00e 100644
--- a/dev-python/keyring/keyring-23.0.1.ebuild
+++ b/dev-python/keyring/keyring-23.0.1.ebuild
@@ -3,9 +3,7 @@
EAPI=7
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( pypy3 python3_{7..9} )
-
+PYTHON_COMPAT=( pypy3 python3_{7..10} )
inherit distutils-r1
DESCRIPTION="Provides access to the system keyring service"
@@ -35,5 +33,10 @@ distutils_enable_sphinx docs \
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
python_test() {
- epytest --ignore tests/backends/test_kwallet.py
+ local deselect=(
+ # this test fails if importlib-metadata returns more than one
+ # entry, i.e. when keyring is installed already
+ tests/test_packaging.py::test_entry_point
+ )
+ epytest --ignore tests/backends/test_kwallet.py
${deselect[@]/#/--deselect }
}