diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-05-11 16:14:38 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-05-11 16:31:54 +0200 |
commit | 3ee918fd9daca7e295e50925c5fc1cf007455cd6 (patch) | |
tree | 3f0666d1465416f7d09e789200a524feadde9b04 /dev-python/rfc3987 | |
parent | dev-python/rfc3339-validator: Enable py3.11 (diff) | |
download | gentoo-3ee918fd9daca7e295e50925c5fc1cf007455cd6.tar.gz gentoo-3ee918fd9daca7e295e50925c5fc1cf007455cd6.tar.bz2 gentoo-3ee918fd9daca7e295e50925c5fc1cf007455cd6.zip |
dev-python/rfc3987: Enable py3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/rfc3987')
-rw-r--r-- | dev-python/rfc3987/rfc3987-1.3.8-r2.ebuild | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/dev-python/rfc3987/rfc3987-1.3.8-r2.ebuild b/dev-python/rfc3987/rfc3987-1.3.8-r2.ebuild index 2b5665fd53ed..f27e19e1778c 100644 --- a/dev-python/rfc3987/rfc3987-1.3.8-r2.ebuild +++ b/dev-python/rfc3987/rfc3987-1.3.8-r2.ebuild @@ -4,20 +4,28 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + inherit distutils-r1 DESCRIPTION="Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)" -HOMEPAGE="https://github.com/dgerber/rfc3987 https://pypi.org/project/rfc3987/" +HOMEPAGE=" + https://github.com/dgerber/rfc3987/ + https://pypi.org/project/rfc3987/ +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -RDEPEND="dev-python/regex[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" +RDEPEND=" + dev-python/regex[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} +" python_test() { - ${EPYTHON} -m doctest -v "${S}/${PN}.py" || die + "${EPYTHON}" -m doctest -v "${S}/${PN}.py" || die } |