commit: 742cdad2482182a1afd910cbf0bc2d9771e9cd47
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Fri Feb 24 14:07:19 2023 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Fri Feb 24 14:07:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=742cdad2
dev-python/w3lib: add 2.1.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
dev-python/w3lib/Manifest | 1 +
dev-python/w3lib/w3lib-2.1.1.ebuild | 33 +++++++++++++++++++++++++++++++++
2 files changed, 34 insertions(+)
diff --git a/dev-python/w3lib/Manifest b/dev-python/w3lib/Manifest
index 34b031804..824e552ba 100644
--- a/dev-python/w3lib/Manifest
+++ b/dev-python/w3lib/Manifest
@@ -1,2 +1,3 @@
DIST w3lib-1.22.0.tar.gz 42682 BLAKE2B
72e5a8f5313a5552d619c4d9ab3784f0575da46a23828ceeb0b4dd939607be2777f8d1e73fb98dc04aae3da2a8e6d48064ad4063ad3b178fa1d53e8eec345e1c
SHA512
14e12726ca46a60d0a86f670f8b19415c2a6e304eeb9a152008a2d1ea81267ddc5ff36b47fdd308bb4764869ffff61e2c243c20cfe85f79a8eb7e31ba85d46dd
DIST w3lib-2.0.1.tar.gz 43324 BLAKE2B
cb3b16da08b37ff224a94c37987fab3da752490eec081dece6c9576067590e0012585f9c26d0af2bb86c99fc6ba0cf47213cb32d51847513ee1d35bf48bdb66b
SHA512
6d271d1d2858f2aef843cb3e99ca46cadef3d866f920a55696d7189c8b7da3ca3f9adbb066272301c9b5332a414ff4554222a044efa58ec622be8a3da79c04e3
+DIST w3lib-2.1.1.tar.gz 48471 BLAKE2B
f510cb66c19c56260d7c196d46a2d44a5f8eb3e0204869f9ccd68b84dbdfdd5f4a8ec731b1c4c3f8d2e0549fba4dac3877200c9018b55ae6f454a2c2518df872
SHA512
f720ec4ded534474ef8f18df388fdaad56ccd48de797c0ec6145737479bc3d589a0e376316aab08c5f4ffe5f0fa07a383d655e3feedc1d1ba51c4cf9ee9639ac
diff --git a/dev-python/w3lib/w3lib-2.1.1.ebuild
b/dev-python/w3lib/w3lib-2.1.1.ebuild
new file mode 100644
index 000000000..f5f9bec11
--- /dev/null
+++ b/dev-python/w3lib/w3lib-2.1.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="Library of web-related functions"
+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
+KEYWORDS="~amd64"
+
+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
+)