1 |
commit: d173559e256d1095a5e4ac00acb349889b0b7656 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 26 15:58:04 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 26 15:58:04 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d173559e |
7 |
|
8 |
dev-python/xmlschema: add 2.0.3 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/xmlschema/Manifest | 1 + |
13 |
dev-python/xmlschema/xmlschema-2.0.3.ebuild | 38 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest |
17 |
index 0c468d4aa883..f64a294c138f 100644 |
18 |
--- a/dev-python/xmlschema/Manifest |
19 |
+++ b/dev-python/xmlschema/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST xmlschema-2.0.1.tar.gz 475999 BLAKE2B 646f839ec8c1e3e7a18250e5e98a2d2503974b331a296c428eeceb5400af792c432851bf4cc7b8a15bfa815a9316f3a243535412344fd968ede7fbbee352bce5 SHA512 2087c3a4dc8517b3a05e852f213c611c6040c9bf41a392b26467a9d4a27140a2ce577a13cb1d0f4074f1d3d8bc33d6e115386cb1d675a6b6ee5ee29c01b20173 |
22 |
DIST xmlschema-2.0.2.tar.gz 476241 BLAKE2B 56d1708a2139591d4efaa93a448485cef28f6a4dfd602f6919a4d7afaf249c5ec8d4500062a5f959d2d4f7a28819d8e45724830b09e1e66298192af0f8ddd32f SHA512 3ec7a6a8337e1c342e4f4db02fac51a5b31a95f21b4630d8750014c418ecfd12fecd271309bd18235288f373f3e01511998af907adcd444720b6f14d13762123 |
23 |
+DIST xmlschema-2.0.3.tar.gz 479014 BLAKE2B 19b5e3892a59e780c23c4b9789901a55509b63d3dd3466d473a47aa43eec8894ad2f99dbae7fa2063a53430d99db1455dd2e370fc0e1932750bf6aecc6657b8e SHA512 ab805229d28d53bbc265a4393ca286d0df81803c53ec16b52879ce3edcdc5e7576602088b5fe977e13dcfb5039af652ef96be5a3e9d23592fee104da5a486516 |
24 |
|
25 |
diff --git a/dev-python/xmlschema/xmlschema-2.0.3.ebuild b/dev-python/xmlschema/xmlschema-2.0.3.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..829df9709686 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/xmlschema/xmlschema-2.0.3.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="An XML Schema validator and decoder" |
42 |
+HOMEPAGE=" |
43 |
+ https://github.com/sissaschool/xmlschema/ |
44 |
+ https://pypi.org/project/xmlschema/ |
45 |
+" |
46 |
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="MIT" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
51 |
+IUSE="test" |
52 |
+RESTRICT="!test? ( test )" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ <dev-python/elementpath-4[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/elementpath-3.0.0[${PYTHON_USEDEP}] |
57 |
+" |
58 |
+BDEPEND=" |
59 |
+ test? ( |
60 |
+ ${RDEPEND} |
61 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
62 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
63 |
+ ) |
64 |
+" |
65 |
+ |
66 |
+python_test() { |
67 |
+ "${EPYTHON}" tests/test_all.py -v || die "Tests fail with ${EPYTHON}" |
68 |
+} |