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/html5lib/
Date: Tue, 26 May 2020 16:23:45
Message-Id: 1590510214.b71bfcdfd53f3b1377584bf6ffe1b3f9f43d77fb.mgorny@gentoo
1 commit: b71bfcdfd53f3b1377584bf6ffe1b3f9f43d77fb
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 26 16:06:46 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 26 16:23:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b71bfcdf
7
8 dev-python/html5lib: Port to py39
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/html5lib/html5lib-1.0.1-r2.ebuild | 9 ++++-----
13 1 file changed, 4 insertions(+), 5 deletions(-)
14
15 diff --git a/dev-python/html5lib/html5lib-1.0.1-r2.ebuild b/dev-python/html5lib/html5lib-1.0.1-r2.ebuild
16 index 89f23560821..b2553ca1f8c 100644
17 --- a/dev-python/html5lib/html5lib-1.0.1-r2.ebuild
18 +++ b/dev-python/html5lib/html5lib-1.0.1-r2.ebuild
19 @@ -3,7 +3,7 @@
20
21 EAPI=7
22
23 -PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
24 +PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 )
25 PYTHON_REQ_USE="xml(+)"
26
27 inherit distutils-r1
28 @@ -16,18 +16,17 @@ LICENSE="MIT"
29 SLOT="0"
30 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~x64-macos"
31 IUSE="test"
32 +RESTRICT+=" !test? ( test )"
33
34 RDEPEND=">=dev-python/six-1.9[${PYTHON_USEDEP}]
35 dev-python/webencodings[${PYTHON_USEDEP}]"
36 -BDEPEND="${RDEPEND}
37 - dev-python/setuptools[${PYTHON_USEDEP}]
38 +BDEPEND="
39 test? (
40 + ${RDEPEND}
41 dev-python/pytest-expect[${PYTHON_USEDEP}]
42 dev-python/mock[${PYTHON_USEDEP}]
43 )"
44
45 -RESTRICT+=" !test? ( test )"
46 -
47 PATCHES=(
48 # fix deprecated import
49 "${FILESDIR}/html5lib-1.0.1-collections-abc.patch"