summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-03-17 07:53:17 +0100
committerMichał Górny <mgorny@gentoo.org>2020-03-17 08:23:05 +0100
commitea6791c8b5cfe2f4872117cc5e325f63add2dccc (patch)
treedd93ce0e14bb85ddad0510759b4c771cc605743e /dev-python/cssselect2
parentx11-misc/xkeyboard-config: Fix shebang (diff)
downloadgentoo-ea6791c8b5cfe2f4872117cc5e325f63add2dccc.tar.gz
gentoo-ea6791c8b5cfe2f4872117cc5e325f63add2dccc.tar.bz2
gentoo-ea6791c8b5cfe2f4872117cc5e325f63add2dccc.zip
dev-python/cssselect2: Bump to 0.3.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cssselect2')
-rw-r--r--dev-python/cssselect2/Manifest1
-rw-r--r--dev-python/cssselect2/cssselect2-0.3.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/cssselect2/Manifest b/dev-python/cssselect2/Manifest
index 7bbb084f390c..33305578b7a5 100644
--- a/dev-python/cssselect2/Manifest
+++ b/dev-python/cssselect2/Manifest
@@ -1,2 +1,3 @@
DIST cssselect2-0.2.0.tar.gz 28197 BLAKE2B 447dc915ff550ee137c64096ed760e12d8da4dbd732a1b48668c2843aa90b11af89e3fe6e31d7128ec713132c7dd5a8b17ed271e0afc3a9219b5839f5e1292d7 SHA512 18069dd22892d8457865c2960630e984e791c6779b8d3a6ce4542c3ae92535a8ab23fc964e59776095a999a38ad2c40facce3b9164fef68870bb54167b6dc49b
DIST cssselect2-0.2.2.tar.gz 31764 BLAKE2B 4f85af65bc893522aa3a084998bab364b66b0305690331a5a2e5719a0dfa7c8744bc1a2615c39b58981ddb152bbdfcd10d95ef23561ef65de34f9e6c32f51619 SHA512 1f11077c6e28f52a1c370c1f3d5fa1156f74b390298323889230304ede6c23a2f2b78c63026f5d84e67518a21fc8df3484577bc77fcf19cb97a84c2a7f28d355
+DIST cssselect2-0.3.0.tar.gz 29534 BLAKE2B d7426d72c52ab2cbdbadfb935b3d4f1f23cbc960c94d6691a8f97c9935e0c8d6212e9e2c1c5b00df6fd450216a3deb2c7308c032821f9ef7fbb4d488a7728c8f SHA512 ae59314654d1c1ddf982b77521de7743d1496145a1367f51e02b6067d6757940e7ccb50b67959630f472972473a1e87cec8dfbc8eeb68ad5f16465a36b1447be
diff --git a/dev-python/cssselect2/cssselect2-0.3.0.ebuild b/dev-python/cssselect2/cssselect2-0.3.0.ebuild
new file mode 100644
index 000000000000..27da62db8521
--- /dev/null
+++ b/dev-python/cssselect2/cssselect2-0.3.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="Parses CSS3 Selectors and translates them to XPath 1.0"
+HOMEPAGE="https://cssselect.readthedocs.io/en/latest/
+ https://pypi.org/project/cssselect/
+ 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() {
+ # junk deps
+ sed -i -e '/^addopts/d' -e '/pytest-runner/d' setup.cfg || die
+ distutils-r1_src_prepare
+}