commit: 6e053357bd4d90e8be09dbfc8a4be724be2dcb20
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Fri Dec 29 01:53:16 2023 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Fri Dec 29 02:11:31 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6e053357
dev-python/w3lib: add 2.1.2
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
dev-python/w3lib/Manifest | 1 +
dev-python/w3lib/w3lib-2.1.2.ebuild | 32 ++++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+)
diff --git a/dev-python/w3lib/Manifest b/dev-python/w3lib/Manifest
index 06d1c71315..6b04668360 100644
--- a/dev-python/w3lib/Manifest
+++ b/dev-python/w3lib/Manifest
@@ -1,2 +1,3 @@
DIST w3lib-2.0.1.tar.gz 43324 BLAKE2B
cb3b16da08b37ff224a94c37987fab3da752490eec081dece6c9576067590e0012585f9c26d0af2bb86c99fc6ba0cf47213cb32d51847513ee1d35bf48bdb66b
SHA512
6d271d1d2858f2aef843cb3e99ca46cadef3d866f920a55696d7189c8b7da3ca3f9adbb066272301c9b5332a414ff4554222a044efa58ec622be8a3da79c04e3
DIST w3lib-2.1.1.tar.gz 48471 BLAKE2B
f510cb66c19c56260d7c196d46a2d44a5f8eb3e0204869f9ccd68b84dbdfdd5f4a8ec731b1c4c3f8d2e0549fba4dac3877200c9018b55ae6f454a2c2518df872
SHA512
f720ec4ded534474ef8f18df388fdaad56ccd48de797c0ec6145737479bc3d589a0e376316aab08c5f4ffe5f0fa07a383d655e3feedc1d1ba51c4cf9ee9639ac
+DIST w3lib-2.1.2.tar.gz 48715 BLAKE2B
8ec3514351634430b348d19a87e21fc95fbb230bac51b59801f692c4d2dc8426bd9740db49949efb2df80eda69026fb202ea0ae80fba45506a366c0b66bc8b29
SHA512
cfff2520cab24b84c93223125de3fb813e4d40d23a022f7fc34196c3033adb5dfc01358d62566dcc4b763d40b271e1428eba0250ba997228d07f35cd3721e37e
diff --git a/dev-python/w3lib/w3lib-2.1.2.ebuild
b/dev-python/w3lib/w3lib-2.1.2.ebuild
new file mode 100644
index 0000000000..08c95fca3e
--- /dev/null
+++ b/dev-python/w3lib/w3lib-2.1.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="Library of web-related functions"
+HOMEPAGE="
+ https://scrapy.org/
+ https://pypi.org/project/w3lib/
+ https://github.com/scrapy/w3lib
+"
+
+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
+)