mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 11:20:48 -04:00
Part-of: https://github.com/gentoo/guru/pull/447 Closes: https://github.com/gentoo/guru/pull/447 Signed-off-by: David Roman <stkw0@disroot.org>
34 lines
736 B
Bash
34 lines
736 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{12..13} )
|
|
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
|
|
)
|