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