Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/keyring/
Date: Wed, 02 Jun 2021 16:12:50
Message-Id: 1622650362.a5a795ac543a25bd6f26b1c72bcf4643cac06d37.mgorny@gentoo
1 commit: a5a795ac543a25bd6f26b1c72bcf4643cac06d37
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 2 16:11:20 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 2 16:12:42 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5a795ac
7
8 dev-python/keyring: Enable py3.10
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/keyring/keyring-23.0.1.ebuild | 11 +++++++----
13 1 file changed, 7 insertions(+), 4 deletions(-)
14
15 diff --git a/dev-python/keyring/keyring-23.0.1.ebuild b/dev-python/keyring/keyring-23.0.1.ebuild
16 index d91059c922c..f1b73ebf00e 100644
17 --- a/dev-python/keyring/keyring-23.0.1.ebuild
18 +++ b/dev-python/keyring/keyring-23.0.1.ebuild
19 @@ -3,9 +3,7 @@
20
21 EAPI=7
22
23 -DISTUTILS_USE_SETUPTOOLS=rdepend
24 -PYTHON_COMPAT=( pypy3 python3_{7..9} )
25 -
26 +PYTHON_COMPAT=( pypy3 python3_{7..10} )
27 inherit distutils-r1
28
29 DESCRIPTION="Provides access to the system keyring service"
30 @@ -35,5 +33,10 @@ distutils_enable_sphinx docs \
31 export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
32
33 python_test() {
34 - epytest --ignore tests/backends/test_kwallet.py
35 + local deselect=(
36 + # this test fails if importlib-metadata returns more than one
37 + # entry, i.e. when keyring is installed already
38 + tests/test_packaging.py::test_entry_point
39 + )
40 + epytest --ignore tests/backends/test_kwallet.py ${deselect[@]/#/--deselect }
41 }