Files
guru/dev-python/w3lib/w3lib-2.0.1.ebuild
T

32 lines
699 B
Bash
Raw Normal View History

2022-11-22 11:22:25 +05:00
# Copyright 1999-2022 Gentoo Authors
2022-08-13 14:40:42 +00:00
# Distributed under the terms of the GNU General Public License v2
EAPI=8
2023-05-02 00:45:35 +05:00
PYTHON_COMPAT=( python3_{10..11} pypy3 )
2022-11-22 11:22:25 +05:00
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
2022-08-13 14:40:42 +00:00
DESCRIPTION="Library of web-related functions"
2022-11-22 11:22:25 +05:00
HOMEPAGE="
https://scrapy.org/
https://pypi.org/project/w3lib/
https://github.com/scrapy/w3lib
"
2022-08-13 14:40:42 +00:00
LICENSE="BSD"
SLOT=0
KEYWORDS="~amd64"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
2022-11-22 11:22:25 +05:00
distutils_enable_sphinx docs \
dev-python/sphinx-hoverxref \
dev-python/sphinx-notfound-page
2022-08-13 14:40:42 +00:00
EPYTEST_DESELECT=(
# https://github.com/scrapy/w3lib/issues/164
tests/test_url.py::UrlTests::test_add_or_replace_parameter
)