1 |
commit: 6fbad681cf1cd92c9134ea8379d5e74e9be58378 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 1 13:20:42 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 1 13:23:56 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fbad681 |
7 |
|
8 |
dev-python/elementpath: Bump to 4.0.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/elementpath/Manifest | 1 + |
13 |
dev-python/elementpath/elementpath-4.0.0.ebuild | 38 +++++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/elementpath/Manifest b/dev-python/elementpath/Manifest |
17 |
index 88fe3165a73d..578f593189bf 100644 |
18 |
--- a/dev-python/elementpath/Manifest |
19 |
+++ b/dev-python/elementpath/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST elementpath-3.0.2.gh.tar.gz 275843 BLAKE2B b5e51971dbbcf68f6199ecf8d3270d2ed06732e3d1abc07d768127bc8a4cef4096fe3e6fe97606bde6d229753a942abd6c0019708f86e8a9931bc902bc8f48ef SHA512 46392cece136bd6e73285333b14a00ebbebcca70c7df42cd04021225207593ef33337fd468c12f089030f2a8adc1251660ebf762aa17f82b2f26ba902d6e89d2 |
22 |
+DIST elementpath-4.0.0.gh.tar.gz 304721 BLAKE2B a3ad9a3f7746bd8d1df14d6057508b1db48e057ee83ff2d4278b4b1ffd2828ab96572780c4ee37b444eae49747a2008aa5133492dfeec762a134c8e4635e4bf3 SHA512 14f1b9f13212e935fcd7074ab2e0da7e3f43ac676e1c05b931eb1304f5eba951c0b2caa57f5eb04e006fa274a47ec2a0e42518023d4e8111b6795175b6ed8ede |
23 |
|
24 |
diff --git a/dev-python/elementpath/elementpath-4.0.0.ebuild b/dev-python/elementpath/elementpath-4.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..ae27d9afd944 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/elementpath/elementpath-4.0.0.ebuild |
29 |
@@ -0,0 +1,38 @@ |
30 |
+# Copyright 2019-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{9..11} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="XPath 1.0/2.0 parsers and selectors for ElementTree and lxml" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/sissaschool/elementpath/ |
43 |
+ https://pypi.org/project/elementpath/ |
44 |
+" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/sissaschool/elementpath/archive/v${PV}.tar.gz |
47 |
+ -> ${P}.gh.tar.gz |
48 |
+" |
49 |
+ |
50 |
+LICENSE="MIT" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
53 |
+ |
54 |
+BDEPEND=" |
55 |
+ test? ( |
56 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
57 |
+ dev-python/xmlschema[${PYTHON_USEDEP}] |
58 |
+ ) |
59 |
+" |
60 |
+ |
61 |
+distutils_enable_tests unittest |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ # fails for some reason, more fit for upstream testing anyway |
65 |
+ rm tests/test_typing.py || die |
66 |
+ distutils-r1_src_prepare |
67 |
+} |