summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-25 21:52:42 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-25 21:52:42 +0200
commit8a6d7077fecc7f0bf74e06b70d6a71442bb1b13b (patch)
treef9266ea354b1d8a013661c8a9eb08e5452b2c577 /dev-python/urllib3
parentdev-python/pycurl: Port to py3.9 (diff)
downloadgentoo-8a6d7077fecc7f0bf74e06b70d6a71442bb1b13b.tar.gz
gentoo-8a6d7077fecc7f0bf74e06b70d6a71442bb1b13b.tar.bz2
gentoo-8a6d7077fecc7f0bf74e06b70d6a71442bb1b13b.zip
dev-python/urllib3: Port to py39
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/urllib3')
-rw-r--r--dev-python/urllib3/urllib3-1.25.9.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-python/urllib3/urllib3-1.25.9.ebuild b/dev-python/urllib3/urllib3-1.25.9.ebuild
index 9b3269254dc0..3b908729ee89 100644
--- a/dev-python/urllib3/urllib3-1.25.9.ebuild
+++ b/dev-python/urllib3/urllib3-1.25.9.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )
PYTHON_REQ_USE="ssl(+)"
inherit distutils-r1
@@ -31,7 +31,6 @@ RDEPEND="
brotli? ( dev-python/brotlipy[${PYTHON_USEDEP}] )
"
BDEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
test? (
$(python_gen_cond_dep "
${RDEPEND}
@@ -40,7 +39,7 @@ BDEPEND="
dev-python/pytest[\${PYTHON_USEDEP}]
>=dev-python/trustme-0.5.3[\${PYTHON_USEDEP}]
>=www-servers/tornado-4.2.1[\${PYTHON_USEDEP}]
- " 'python3*')
+ " python3_{6,7,8})
)
"
@@ -70,6 +69,9 @@ python_test() {
ewarn "of circular dependencies for Python 2 removal. Please test"
ewarn "manually in a virtualenv."
;;
+ python3.9)
+ einfo "Tests not yet ported to py3.9"
+ ;;
python3*)
pytest -vv || die "Tests fail with ${EPYTHON}"
;;