commit:     d5816fe30eebbd4a8d223a5319b2eb709fafc12e
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Nov 22 06:25:17 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Nov 22 06:25:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d5816fe3

dev-python/parsel: add 1.7.0

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/parsel/Manifest            |  1 +
 dev-python/parsel/parsel-1.7.0.ebuild | 48 +++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/parsel/Manifest b/dev-python/parsel/Manifest
index 7912a5960..7b4db1cb9 100644
--- a/dev-python/parsel/Manifest
+++ b/dev-python/parsel/Manifest
@@ -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

diff --git a/dev-python/parsel/parsel-1.7.0.ebuild 
b/dev-python/parsel/parsel-1.7.0.ebuild
new file mode 100644
index 000000000..30d5eb07b
--- /dev/null
+++ b/dev-python/parsel/parsel-1.7.0.ebuild
@@ -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
+}

Reply via email to