summaryrefslogtreecommitdiff
path: root/dev-python/w3lib
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/w3lib
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/w3lib')
-rw-r--r--dev-python/w3lib/Manifest1
-rw-r--r--dev-python/w3lib/metadata.xml12
-rw-r--r--dev-python/w3lib/w3lib-2.3.1.ebuild33
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/w3lib/Manifest b/dev-python/w3lib/Manifest
new file mode 100644
index 000000000000..d3849077adb3
--- /dev/null
+++ b/dev-python/w3lib/Manifest
@@ -0,0 +1 @@
+DIST w3lib-2.3.1.tar.gz 49531 BLAKE2B b5409de02fd965fb214b19f3c3a47c2f4a303dee4343f9994aea361ae857d7ca49ef02c1233cefb0487ffddd6d85731d9ba4fde33a94419eaead40df43b3d547 SHA512 b65d5773aa35e2d2e95a395f25c9a9520d1143569faa94d000f01fa0a17258bcbdc2f1cf744c70be26a7e3e77d50deac9d09e572284bdd0e5e3d483ba7d4fee7
diff --git a/dev-python/w3lib/metadata.xml b/dev-python/w3lib/metadata.xml
new file mode 100644
index 000000000000..3bec3e36d95f
--- /dev/null
+++ b/dev-python/w3lib/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gentoo@aisha.cc</email>
+ <name>Aisha Tammy</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">scrapy/w3lib</remote-id>
+ <remote-id type="pypi">w3lib</remote-id>
+ </upstream>
+</pkgmetadata>
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 000000000000..dc1c18061b11
--- /dev/null
+++ b/dev-python/w3lib/w3lib-2.3.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{13..14} )
+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 \
+ dev-python/sphinx-rtd-theme
+
+EPYTEST_DESELECT=(
+ # https://github.com/scrapy/w3lib/issues/164
+ tests/test_url.py::UrlTests::test_add_or_replace_parameter
+)