dev-python/parsel: add 1.7.0

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2022-11-22 11:25:17 +05:00
parent 2f852fb59d
commit d5816fe30e
2 changed files with 49 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST parsel-1.6.0.tar.gz 100678 BLAKE2B 9fe937013d84d168cab4e415affecece272f7b2af729448aaf802240d0d7aca553d85de5747cf06ecbd17099e2bd81c741a3afd6bbad803916afdfd3673c07d6 SHA512 d3161522e1102cceeb1f29ab020b33019d4ac7f096cfab8fbe40f54073e49afc24f02aa54206d86f56c8f92e3db2d0d2f8a3dbdfa6417492cf299201f2ae6604
DIST parsel-1.7.0.tar.gz 46036 BLAKE2B e83b5f7f5a7a4274632a38586641be761482c6978670f6c747249d4063f5596bacc42d698d294da1aa9fb972bbaf21cbe3247e49560f1b9c29a3d79eee4dd00a SHA512 850784cfb32fbf619dbcd53152edb569b199965e59f3ec088892a8d432aaf08c1a61f3562499c5c592d9578fb28f871d519e3d7b344e3b7a12fbaaca57909f89

View File

@@ -0,0 +1,48 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Utility to extract data from XML/HTML documents using XPath or CSS selectors"
HOMEPAGE="
https://scrapy.org/
https://pypi.org/project/parsel/
https://github.com/scrapy/parsel
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT=0
KEYWORDS="~amd64"
RDEPEND="
dev-python/cssselect[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/w3lib[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/sybil[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/sphinx-notfound-page \
dev-python/sphinx_rtd_theme
src_prepare() {
distutils-r1_src_prepare
sed "/pytest-runner/d" -i setup.py || die
}
python_test() {
epytest --ignore=docs
}