2021-11-15 15:11:07 +00:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
2021-12-06 17:55:45 +05:00
|
|
|
EAPI=8
|
2021-11-15 15:11:07 +00:00
|
|
|
|
2021-12-06 17:55:45 +05:00
|
|
|
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
2021-11-15 15:11:07 +00:00
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
|
|
DESCRIPTION="Library of web-related functions"
|
|
|
|
|
HOMEPAGE="https://scrapy.org/"
|
2021-12-06 17:55:45 +05:00
|
|
|
SRC_URI="https://github.com/scrapy/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
2021-11-15 15:11:07 +00:00
|
|
|
|
|
|
|
|
LICENSE="BSD"
|
|
|
|
|
SLOT=0
|
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
|
2021-12-06 17:55:45 +05:00
|
|
|
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
|
2021-11-15 15:11:07 +00:00
|
|
|
|
|
|
|
|
distutils_enable_tests pytest
|
|
|
|
|
|
2021-12-06 17:55:45 +05:00
|
|
|
EPYTEST_DESELECT=(
|
2021-11-15 15:11:07 +00:00
|
|
|
# https://github.com/scrapy/w3lib/issues/164
|
2021-12-06 17:55:45 +05:00
|
|
|
tests/test_url.py::UrlTests::test_add_or_replace_parameter
|
|
|
|
|
)
|