commit:     a24778ba62941ecabfe5459005cf003afb85163b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 30 19:41:02 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 30 19:45:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a24778ba

dev-python/socketpool: Enable py3.10

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

 dev-python/socketpool/socketpool-0.5.3-r3.ebuild | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/dev-python/socketpool/socketpool-0.5.3-r3.ebuild 
b/dev-python/socketpool/socketpool-0.5.3-r3.ebuild
index 9e39a53f35d..7ef6347c493 100644
--- a/dev-python/socketpool/socketpool-0.5.3-r3.ebuild
+++ b/dev-python/socketpool/socketpool-0.5.3-r3.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,8,9} pypy3 )
+PYTHON_COMPAT=( python3_{7..10} pypy3 )
 
 inherit distutils-r1
 
@@ -20,12 +20,12 @@ RDEPEND="
        eventlet? (
                $(python_gen_cond_dep '
                        dev-python/eventlet[${PYTHON_USEDEP}]
-               ' 'python3*')
+               ' python3_{7..9})
        )
        gevent? (
                $(python_gen_cond_dep '
                        dev-python/gevent[${PYTHON_USEDEP}]
-               ' 'python*')
+               ' python3_{7..9})
        )"
 
 BDEPEND="
@@ -33,10 +33,10 @@ BDEPEND="
                !alpha? ( !hppa? ( !ia64? (
                        $(python_gen_cond_dep '
                                dev-python/eventlet[${PYTHON_USEDEP}]
-                       ' 'python3*')
+                       ' python3_{7..9})
                        $(python_gen_cond_dep '
                                dev-python/gevent[${PYTHON_USEDEP}]
-                       ' 'python*')
+                       ' python3_{7..9})
                ) ) )
        )"
 
@@ -55,7 +55,7 @@ python_test() {
        cp -r examples tests "${BUILD_DIR}" || die
 
        pushd "${BUILD_DIR}" >/dev/null || die
-       pytest -vv tests || die "Tests fail with ${EPYTHON}"
+       epytest tests
        popd >/dev/null || die
 }
 

Reply via email to