From 8a6d7077fecc7f0bf74e06b70d6a71442bb1b13b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 25 May 2020 21:52:42 +0200 Subject: [PATCH] dev-python/urllib3: Port to py39 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/urllib3/urllib3-1.25.9.ebuild | 8 +++++--- 1 file 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}" ;; -- 2.26.2