dev-python/w3lib: add 2.1.2

Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
This commit is contained in:
Aisha Tammy
2023-12-28 20:53:16 -05:00
parent 1b39b4d4a3
commit 6e053357bd
2 changed files with 33 additions and 0 deletions

View File

@@ -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
)