summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-10-30 00:13:59 +0100
committerMichał Górny <mgorny@gentoo.org>2020-10-30 00:38:25 +0100
commit44200cee3fe6d43568f3fab9cc5eeb3f7bb1f9b1 (patch)
tree3a62b9f7562b3f8595e5dd5184d5da39efde021d /dev-python
parentdev-python/tinycss2: Bump to 1.1.0 (diff)
downloadgentoo-44200cee3fe6d43568f3fab9cc5eeb3f7bb1f9b1.tar.gz
gentoo-44200cee3fe6d43568f3fab9cc5eeb3f7bb1f9b1.tar.bz2
gentoo-44200cee3fe6d43568f3fab9cc5eeb3f7bb1f9b1.zip
dev-python/cssselect2: Bump to 0.4.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/cssselect2/Manifest1
-rw-r--r--dev-python/cssselect2/cssselect2-0.4.1.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/cssselect2/Manifest b/dev-python/cssselect2/Manifest
index 645585b34858..d4fab74516d4 100644
--- a/dev-python/cssselect2/Manifest
+++ b/dev-python/cssselect2/Manifest
@@ -1 +1,2 @@
DIST cssselect2-0.3.0.tar.gz 29534 BLAKE2B d7426d72c52ab2cbdbadfb935b3d4f1f23cbc960c94d6691a8f97c9935e0c8d6212e9e2c1c5b00df6fd450216a3deb2c7308c032821f9ef7fbb4d488a7728c8f SHA512 ae59314654d1c1ddf982b77521de7743d1496145a1367f51e02b6067d6757940e7ccb50b67959630f472972473a1e87cec8dfbc8eeb68ad5f16465a36b1447be
+DIST cssselect2-0.4.1.tar.gz 32756 BLAKE2B 86915c39aa5b72ebcdba25b3ac23f59a0fb6c6109019d68e8ce8846572d9412a3cc76cdf9e8b2163605cb942183019eb9170df9a4e61476d703eaf612381a903 SHA512 feafeec3dbe3157ee452d94cd391a09cfcb48ca8bd1563c117c77c9ceb01102c4989611ede39e433ec25d3ddda98a94c4589ccb290b79c729683e673763b42ac
diff --git a/dev-python/cssselect2/cssselect2-0.4.1.ebuild b/dev-python/cssselect2/cssselect2-0.4.1.ebuild
new file mode 100644
index 000000000000..6bca05245216
--- /dev/null
+++ b/dev-python/cssselect2/cssselect2-0.4.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Parses CSS3 Selectors and translates them to XPath 1.0"
+HOMEPAGE="https://cssselect2.readthedocs.io/en/latest/
+ 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 ~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
+}