guru/dev-python/w3lib/w3lib-2.0.1.ebuild
Aisha Tammy 938f3921f2
dev-python/w3lib: add 2.0.1
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
2022-08-13 14:40:42 +00:00

25 lines
585 B
Bash

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