commit:     fb74741fa9bf34a8cc4bd7b3641b695f3b8b80d5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  1 20:55:53 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jun  1 20:56:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb74741f

dev-python/urllib3: Enable testing on py3.10

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

 dev-python/urllib3/urllib3-1.26.5.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/dev-python/urllib3/urllib3-1.26.5.ebuild 
b/dev-python/urllib3/urllib3-1.26.5.ebuild
index 921dcd09ce4..43e5b4ba02b 100644
--- a/dev-python/urllib3/urllib3-1.26.5.ebuild
+++ b/dev-python/urllib3/urllib3-1.26.5.ebuild
@@ -36,7 +36,7 @@ BDEPEND="
                        dev-python/pytest-freezegun[\${PYTHON_USEDEP}]
                        >=dev-python/trustme-0.5.3[\${PYTHON_USEDEP}]
                        >=www-servers/tornado-4.2.1[\${PYTHON_USEDEP}]
-               " python3_{6,7,8,9})
+               " python3_{6..10})
        )
 "
 
@@ -53,9 +53,8 @@ python_prepare_all() {
 python_test() {
        local -x CI=1
        # FIXME: get tornado ported
-       [[ ${EPYTHON} == python3* ]] || continue
-       # tests skipped for now
-       [[ ${EPYTHON} == python3.10 ]] && continue
+       # please keep in sync with BDEPEND!
+       has "${EPYTHON}" python3.{6..10} || continue
 
        local deselect=(
                # TODO?

Reply via email to