dev-python/w3lib: enable py3.11

update HOMEPAGE, SRC_URI

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2022-11-22 11:22:25 +05:00
parent 575033ad4d
commit 2f852fb59d
2 changed files with 14 additions and 5 deletions

View File

@@ -1,14 +1,19 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} pypy3 )
PYTHON_COMPAT=( python3_{8..11} pypy3 )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Library of web-related functions"
HOMEPAGE="https://scrapy.org/"
SRC_URI="https://github.com/scrapy/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
HOMEPAGE="
https://scrapy.org/
https://pypi.org/project/w3lib/
https://github.com/scrapy/w3lib
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT=0
@@ -18,6 +23,10 @@ RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/sphinx-hoverxref \
dev-python/sphinx-notfound-page
EPYTEST_DESELECT=(
# https://github.com/scrapy/w3lib/issues/164
tests/test_url.py::UrlTests::test_add_or_replace_parameter