commit: 6be96ccb450232283933474e08a6ed073563db18
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Mon Apr 7 12:08:18 2025 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Mon Apr 7 14:26:53 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6be96ccb
dev-python/w3lib: add 2.3.1
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
dev-python/w3lib/Manifest | 1 +
dev-python/w3lib/w3lib-2.3.1.ebuild | 32 ++++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+)
diff --git a/dev-python/w3lib/Manifest b/dev-python/w3lib/Manifest
index 2d046d151..12ed0a16b 100644
--- a/dev-python/w3lib/Manifest
+++ b/dev-python/w3lib/Manifest
@@ -1 +1,2 @@
DIST w3lib-2.1.2.tar.gz 48715 BLAKE2B
8ec3514351634430b348d19a87e21fc95fbb230bac51b59801f692c4d2dc8426bd9740db49949efb2df80eda69026fb202ea0ae80fba45506a366c0b66bc8b29
SHA512
cfff2520cab24b84c93223125de3fb813e4d40d23a022f7fc34196c3033adb5dfc01358d62566dcc4b763d40b271e1428eba0250ba997228d07f35cd3721e37e
+DIST w3lib-2.3.1.tar.gz 49531 BLAKE2B
b5409de02fd965fb214b19f3c3a47c2f4a303dee4343f9994aea361ae857d7ca49ef02c1233cefb0487ffddd6d85731d9ba4fde33a94419eaead40df43b3d547
SHA512
b65d5773aa35e2d2e95a395f25c9a9520d1143569faa94d000f01fa0a17258bcbdc2f1cf744c70be26a7e3e77d50deac9d09e572284bdd0e5e3d483ba7d4fee7
diff --git a/dev-python/w3lib/w3lib-2.3.1.ebuild
b/dev-python/w3lib/w3lib-2.3.1.ebuild
new file mode 100644
index 000000000..fd4d22641
--- /dev/null
+++ b/dev-python/w3lib/w3lib-2.3.1.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_{11..13} 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 ~arm64 ~x86"
+
+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
+)