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/rfc3987/
Date: Wed, 11 May 2022 14:33:14
Message-Id: 1652279514.3ee918fd9daca7e295e50925c5fc1cf007455cd6.mgorny@gentoo
1 commit: 3ee918fd9daca7e295e50925c5fc1cf007455cd6
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 11 14:14:38 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 11 14:31:54 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ee918fd
7
8 dev-python/rfc3987: Enable py3.11
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/rfc3987/rfc3987-1.3.8-r2.ebuild | 18 +++++++++++++-----
13 1 file changed, 13 insertions(+), 5 deletions(-)
14
15 diff --git a/dev-python/rfc3987/rfc3987-1.3.8-r2.ebuild b/dev-python/rfc3987/rfc3987-1.3.8-r2.ebuild
16 index 2b5665fd53ed..f27e19e1778c 100644
17 --- a/dev-python/rfc3987/rfc3987-1.3.8-r2.ebuild
18 +++ b/dev-python/rfc3987/rfc3987-1.3.8-r2.ebuild
19 @@ -4,20 +4,28 @@
20 EAPI=8
21
22 DISTUTILS_USE_PEP517=setuptools
23 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
24 +PYTHON_COMPAT=( python3_{8..11} pypy3 )
25 +
26 inherit distutils-r1
27
28 DESCRIPTION="Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)"
29 -HOMEPAGE="https://github.com/dgerber/rfc3987 https://pypi.org/project/rfc3987/"
30 +HOMEPAGE="
31 + https://github.com/dgerber/rfc3987/
32 + https://pypi.org/project/rfc3987/
33 +"
34 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
35
36 LICENSE="GPL-3"
37 SLOT="0"
38 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
39
40 -RDEPEND="dev-python/regex[${PYTHON_USEDEP}]"
41 -DEPEND="${RDEPEND}"
42 +RDEPEND="
43 + dev-python/regex[${PYTHON_USEDEP}]
44 +"
45 +BDEPEND="
46 + ${RDEPEND}
47 +"
48
49 python_test() {
50 - ${EPYTHON} -m doctest -v "${S}/${PN}.py" || die
51 + "${EPYTHON}" -m doctest -v "${S}/${PN}.py" || die
52 }