1 |
commit: 44200cee3fe6d43568f3fab9cc5eeb3f7bb1f9b1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 29 23:13:59 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 29 23:38:25 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44200cee |
7 |
|
8 |
dev-python/cssselect2: Bump to 0.4.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/cssselect2/Manifest | 1 + |
13 |
dev-python/cssselect2/cssselect2-0.4.1.ebuild | 30 +++++++++++++++++++++++++++ |
14 |
2 files changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/cssselect2/Manifest b/dev-python/cssselect2/Manifest |
17 |
index 645585b3485..d4fab74516d 100644 |
18 |
--- a/dev-python/cssselect2/Manifest |
19 |
+++ b/dev-python/cssselect2/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST cssselect2-0.3.0.tar.gz 29534 BLAKE2B d7426d72c52ab2cbdbadfb935b3d4f1f23cbc960c94d6691a8f97c9935e0c8d6212e9e2c1c5b00df6fd450216a3deb2c7308c032821f9ef7fbb4d488a7728c8f SHA512 ae59314654d1c1ddf982b77521de7743d1496145a1367f51e02b6067d6757940e7ccb50b67959630f472972473a1e87cec8dfbc8eeb68ad5f16465a36b1447be |
22 |
+DIST cssselect2-0.4.1.tar.gz 32756 BLAKE2B 86915c39aa5b72ebcdba25b3ac23f59a0fb6c6109019d68e8ce8846572d9412a3cc76cdf9e8b2163605cb942183019eb9170df9a4e61476d703eaf612381a903 SHA512 feafeec3dbe3157ee452d94cd391a09cfcb48ca8bd1563c117c77c9ceb01102c4989611ede39e433ec25d3ddda98a94c4589ccb290b79c729683e673763b42ac |
23 |
|
24 |
diff --git a/dev-python/cssselect2/cssselect2-0.4.1.ebuild b/dev-python/cssselect2/cssselect2-0.4.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..6bca0524521 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/cssselect2/cssselect2-0.4.1.ebuild |
29 |
@@ -0,0 +1,30 @@ |
30 |
+# Copyright 1999-2020 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml |
36 |
+PYTHON_COMPAT=( python3_{6..9} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Parses CSS3 Selectors and translates them to XPath 1.0" |
41 |
+HOMEPAGE="https://cssselect2.readthedocs.io/en/latest/ |
42 |
+ https://pypi.org/project/cssselect2/ |
43 |
+ https://github.com/Kozea/cssselect2" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="BSD" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ dev-python/tinycss2[${PYTHON_USEDEP}] |
52 |
+ dev-python/webencodings[${PYTHON_USEDEP}]" |
53 |
+ |
54 |
+distutils_enable_tests pytest |
55 |
+ |
56 |
+src_prepare() { |
57 |
+ sed -i -e '/addopts/d' pyproject.toml || die |
58 |
+ distutils-r1_src_prepare |
59 |
+} |