1 |
commit: fb74741fa9bf34a8cc4bd7b3641b695f3b8b80d5 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 1 20:55:53 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 1 20:56:13 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb74741f |
7 |
|
8 |
dev-python/urllib3: Enable testing on py3.10 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/urllib3/urllib3-1.26.5.ebuild | 7 +++---- |
13 |
1 file changed, 3 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/urllib3/urllib3-1.26.5.ebuild b/dev-python/urllib3/urllib3-1.26.5.ebuild |
16 |
index 921dcd09ce4..43e5b4ba02b 100644 |
17 |
--- a/dev-python/urllib3/urllib3-1.26.5.ebuild |
18 |
+++ b/dev-python/urllib3/urllib3-1.26.5.ebuild |
19 |
@@ -36,7 +36,7 @@ BDEPEND=" |
20 |
dev-python/pytest-freezegun[\${PYTHON_USEDEP}] |
21 |
>=dev-python/trustme-0.5.3[\${PYTHON_USEDEP}] |
22 |
>=www-servers/tornado-4.2.1[\${PYTHON_USEDEP}] |
23 |
- " python3_{6,7,8,9}) |
24 |
+ " python3_{6..10}) |
25 |
) |
26 |
" |
27 |
|
28 |
@@ -53,9 +53,8 @@ python_prepare_all() { |
29 |
python_test() { |
30 |
local -x CI=1 |
31 |
# FIXME: get tornado ported |
32 |
- [[ ${EPYTHON} == python3* ]] || continue |
33 |
- # tests skipped for now |
34 |
- [[ ${EPYTHON} == python3.10 ]] && continue |
35 |
+ # please keep in sync with BDEPEND! |
36 |
+ has "${EPYTHON}" python3.{6..10} || continue |
37 |
|
38 |
local deselect=( |
39 |
# TODO? |