Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/urllib3/
Date: Mon, 25 May 2020 20:16:14
Message-Id: 1590436362.8a6d7077fecc7f0bf74e06b70d6a71442bb1b13b.mgorny@gentoo
1 commit: 8a6d7077fecc7f0bf74e06b70d6a71442bb1b13b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 25 19:52:42 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 25 19:52:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a6d7077
7
8 dev-python/urllib3: Port to py39
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/urllib3/urllib3-1.25.9.ebuild | 8 +++++---
13 1 file changed, 5 insertions(+), 3 deletions(-)
14
15 diff --git a/dev-python/urllib3/urllib3-1.25.9.ebuild b/dev-python/urllib3/urllib3-1.25.9.ebuild
16 index 9b3269254dc..3b908729ee8 100644
17 --- a/dev-python/urllib3/urllib3-1.25.9.ebuild
18 +++ b/dev-python/urllib3/urllib3-1.25.9.ebuild
19 @@ -3,7 +3,7 @@
20
21 EAPI=7
22
23 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
24 +PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )
25 PYTHON_REQ_USE="ssl(+)"
26
27 inherit distutils-r1
28 @@ -31,7 +31,6 @@ RDEPEND="
29 brotli? ( dev-python/brotlipy[${PYTHON_USEDEP}] )
30 "
31 BDEPEND="
32 - dev-python/setuptools[${PYTHON_USEDEP}]
33 test? (
34 $(python_gen_cond_dep "
35 ${RDEPEND}
36 @@ -40,7 +39,7 @@ BDEPEND="
37 dev-python/pytest[\${PYTHON_USEDEP}]
38 >=dev-python/trustme-0.5.3[\${PYTHON_USEDEP}]
39 >=www-servers/tornado-4.2.1[\${PYTHON_USEDEP}]
40 - " 'python3*')
41 + " python3_{6,7,8})
42 )
43 "
44
45 @@ -70,6 +69,9 @@ python_test() {
46 ewarn "of circular dependencies for Python 2 removal. Please test"
47 ewarn "manually in a virtualenv."
48 ;;
49 + python3.9)
50 + einfo "Tests not yet ported to py3.9"
51 + ;;
52 python3*)
53 pytest -vv || die "Tests fail with ${EPYTHON}"
54 ;;