From: Michał Górny Date: Mon, 25 May 2020 19:52:42 +0000 (+0200) Subject: dev-python/urllib3: Port to py39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8a6d7077fecc7f0bf74e06b70d6a71442bb1b13b;p=gentoo.git dev-python/urllib3: Port to py39 Signed-off-by: Michał Górny --- 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}" ;;