summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-09-19 20:31:56 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-09-19 21:28:06 +0300
commit73f35e926016065dd4c299db5fa3891654b05ac7 (patch)
tree9a254a4e8c85940308b39af8ab521c7608ce7656 /dev-python/cssselect2
parentdev-python/pylint: add 2.15.3 (diff)
downloadgentoo-73f35e926016065dd4c299db5fa3891654b05ac7.tar.gz
gentoo-73f35e926016065dd4c299db5fa3891654b05ac7.tar.bz2
gentoo-73f35e926016065dd4c299db5fa3891654b05ac7.zip
dev-python/cssselect2: add 0.7.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/cssselect2')
-rw-r--r--dev-python/cssselect2/Manifest1
-rw-r--r--dev-python/cssselect2/cssselect2-0.7.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/cssselect2/Manifest b/dev-python/cssselect2/Manifest
index 76a199558c3d..46871f23cceb 100644
--- a/dev-python/cssselect2/Manifest
+++ b/dev-python/cssselect2/Manifest
@@ -1 +1,2 @@
DIST cssselect2-0.6.0.tar.gz 35442 BLAKE2B eb42c6abed531d9ece07ae5aa442be0c0ca926f982987ede1c5ba3e391950fcf88b1c322da5933842993ad5d98488e2a29aa714d1ca65b672cecbe425bac9bd7 SHA512 10cb55ebaaa16b755d85f1e511ae0281fb017d6937750392ae1da7f32d51ff944fb14c6d1c9ea5f42734450b719157ded116dc14ef471a9a20fcc43fb6682308
+DIST cssselect2-0.7.0.tar.gz 35888 BLAKE2B 14ad79878b7dbd9ce56fa9597a0678b3dc774fc81f599cd8eb28d67af5eb07914ff6f72dd6210d1e34787c78f85ebb22c8096c3a642f1c0092384e4f22a9e59c SHA512 e3c975fe159d3bec53002bda31c72d9cb346f40529272d8d5bef6aa13142ce60f1e8aa20b039d93ff5ff3d2cd34119b8b2d406f889964eded69e770e4f04e949
diff --git a/dev-python/cssselect2/cssselect2-0.7.0.ebuild b/dev-python/cssselect2/cssselect2-0.7.0.ebuild
new file mode 100644
index 000000000000..fccb1c1149ae
--- /dev/null
+++ b/dev-python/cssselect2/cssselect2-0.7.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Parses CSS3 Selectors and translates them to XPath 1.0"
+HOMEPAGE="
+ https://doc.courtbouillon.org/cssselect2/stable/
+ https://pypi.org/project/cssselect2/
+ https://github.com/Kozea/cssselect2/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+ dev-python/tinycss2[${PYTHON_USEDEP}]
+ dev-python/webencodings[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ sed -i -e '/addopts/d' pyproject.toml || die
+ distutils-r1_src_prepare
+}