commit: 2f852fb59d0804e3d7de616aa17f236b1846b01e
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Nov 22 06:22:25 2022 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Nov 22 06:22:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f852fb5
dev-python/w3lib: enable py3.11
update HOMEPAGE, SRC_URI
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-python/w3lib/Manifest | 2 +-
dev-python/w3lib/w3lib-2.0.1.ebuild | 17 +++++++++++++----
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/dev-python/w3lib/Manifest b/dev-python/w3lib/Manifest
index 120f9925e..34b031804 100644
--- a/dev-python/w3lib/Manifest
+++ b/dev-python/w3lib/Manifest
@@ -1,2 +1,2 @@
DIST w3lib-1.22.0.tar.gz 42682 BLAKE2B
72e5a8f5313a5552d619c4d9ab3784f0575da46a23828ceeb0b4dd939607be2777f8d1e73fb98dc04aae3da2a8e6d48064ad4063ad3b178fa1d53e8eec345e1c
SHA512
14e12726ca46a60d0a86f670f8b19415c2a6e304eeb9a152008a2d1ea81267ddc5ff36b47fdd308bb4764869ffff61e2c243c20cfe85f79a8eb7e31ba85d46dd
-DIST w3lib-2.0.1.tar.gz 43905 BLAKE2B
35d5ef1b326074a86f98341c50ed08f8ec8bc3e13433b7dc8ee6db453375fa0a1958f0f83d4274eeef89b95a177c3f92994c0927367c420d5a03c8400420cc91
SHA512
c4c1a00ad6d0c8f9a3a3a6581fb513328f89bfd9f797bf6289133580581c2579b04da8a2c815d14214bc0dbc87839de3d9f7949ad9398402312d3c522361414e
+DIST w3lib-2.0.1.tar.gz 43324 BLAKE2B
cb3b16da08b37ff224a94c37987fab3da752490eec081dece6c9576067590e0012585f9c26d0af2bb86c99fc6ba0cf47213cb32d51847513ee1d35bf48bdb66b
SHA512
6d271d1d2858f2aef843cb3e99ca46cadef3d866f920a55696d7189c8b7da3ca3f9adbb066272301c9b5332a414ff4554222a044efa58ec622be8a3da79c04e3
diff --git a/dev-python/w3lib/w3lib-2.0.1.ebuild
b/dev-python/w3lib/w3lib-2.0.1.ebuild
index 1693f3352..f5f9bec11 100644
--- a/dev-python/w3lib/w3lib-2.0.1.ebuild
+++ b/dev-python/w3lib/w3lib-2.0.1.ebuild
@@ -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