summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-03-11 08:32:25 +0100
committerMichał Górny <mgorny@gentoo.org>2020-03-11 09:04:34 +0100
commit944929b01e940c0e1b4fb6696d5c46c88d7c6c00 (patch)
tree58662bd15b63f61f09a7ccdf8bdd2a47d7548438 /dev-python/cssselect2
parentdev-python/tinycss2: Unjunk, py3.{7,8} (diff)
downloadgentoo-944929b01e940c0e1b4fb6696d5c46c88d7c6c00.tar.gz
gentoo-944929b01e940c0e1b4fb6696d5c46c88d7c6c00.tar.bz2
gentoo-944929b01e940c0e1b4fb6696d5c46c88d7c6c00.zip
dev-python/cssselect2: Bump to 0.2.2, py3.{7,8}, tests
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.2.2.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/cssselect2/Manifest b/dev-python/cssselect2/Manifest
index 845e21f8c8cc..7bbb084f390c 100644
--- a/dev-python/cssselect2/Manifest
+++ b/dev-python/cssselect2/Manifest
@@ -1 +1,2 @@
DIST cssselect2-0.2.0.tar.gz 28197 BLAKE2B 447dc915ff550ee137c64096ed760e12d8da4dbd732a1b48668c2843aa90b11af89e3fe6e31d7128ec713132c7dd5a8b17ed271e0afc3a9219b5839f5e1292d7 SHA512 18069dd22892d8457865c2960630e984e791c6779b8d3a6ce4542c3ae92535a8ab23fc964e59776095a999a38ad2c40facce3b9164fef68870bb54167b6dc49b
+DIST cssselect2-0.2.2.tar.gz 31764 BLAKE2B 4f85af65bc893522aa3a084998bab364b66b0305690331a5a2e5719a0dfa7c8744bc1a2615c39b58981ddb152bbdfcd10d95ef23561ef65de34f9e6c32f51619 SHA512 1f11077c6e28f52a1c370c1f3d5fa1156f74b390298323889230304ede6c23a2f2b78c63026f5d84e67518a21fc8df3484577bc77fcf19cb97a84c2a7f28d355
diff --git a/dev-python/cssselect2/cssselect2-0.2.2.ebuild b/dev-python/cssselect2/cssselect2-0.2.2.ebuild
new file mode 100644
index 000000000000..01f865d548fa
--- /dev/null
+++ b/dev-python/cssselect2/cssselect2-0.2.2.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' setup.cfg || die
+ distutils-r1_src_prepare
+}