dev-python/w3lib: library of web-related functions

dependency for dev-python/scrapy

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
This commit is contained in:
Aisha Tammy
2021-11-15 15:11:07 +00:00
parent b5385d28c5
commit ef88ccfc12
3 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST w3lib-1.22.0.tar.gz 42682 BLAKE2B 72e5a8f5313a5552d619c4d9ab3784f0575da46a23828ceeb0b4dd939607be2777f8d1e73fb98dc04aae3da2a8e6d48064ad4063ad3b178fa1d53e8eec345e1c SHA512 14e12726ca46a60d0a86f670f8b19415c2a6e304eeb9a152008a2d1ea81267ddc5ff36b47fdd308bb4764869ffff61e2c243c20cfe85f79a8eb7e31ba85d46dd

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,25 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_9 )
inherit distutils-r1
DESCRIPTION="Library of web-related functions"
HOMEPAGE="https://scrapy.org/"
SRC_URI="https://github.com/scrapy/w3lib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT=0
KEYWORDS="~amd64"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}"
distutils_enable_tests pytest
python_test(){
# https://github.com/scrapy/w3lib/issues/164
py.test -k "not test_add_or_replace_parameter" || die
}