1 |
commit: b00c82a117f04ea6d1d8869ded77e3de4a379881 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 30 21:45:47 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 30 21:55:08 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b00c82a1 |
7 |
|
8 |
dev-python/xmlschema: Bump to 1.9.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/xmlschema/Manifest | 1 + |
13 |
dev-python/xmlschema/xmlschema-1.9.0.ebuild | 31 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest |
17 |
index b2909297146b..b2d657542154 100644 |
18 |
--- a/dev-python/xmlschema/Manifest |
19 |
+++ b/dev-python/xmlschema/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST xmlschema-1.8.1.tar.gz 390835 BLAKE2B 5ba4e37bc52402a939e3c6508bb3d2cca33b85d73db9be375295de62587bae638d498435198a4b25bc6858bad19a89d14a11870774c631bcc9f1b22bb1c41f4c SHA512 741477d006270deb4a1d1b13bb404c6f4917047b0f68e85727a2dfe239a59f36f4160a6a88f26514a05865219a16ccbaa26bc319b06ac867aeabe008a778ddf8 |
22 |
DIST xmlschema-1.8.2.tar.gz 392045 BLAKE2B 05b63c069bc6f7052e84f7af20b789e2e9b9e54eccbc28971006b924d1eff4b23a43e2a85356214603f4c2263f2478f7cc4321c4ae93e8106f31940098ab7ae2 SHA512 3a03206c732b3d46a58bcfdeafdccb08c7f3334c78df63901352d2d2eaebaabbb663d70329bd9667530a1e8c2bf1b7087eb493f971c3fa914d8944064e12361c |
23 |
+DIST xmlschema-1.9.0.tar.gz 394048 BLAKE2B 96060d971826263b3a52b3d8720c7d2421af0bf55f1603b68691a374a72d441238b790f3c7ce0e48ca436cd9939aa0f3563bd3862d5371bd57c44815777ec83a SHA512 c7763acefa6cd34a1edc5487f0c2257c871b7c5aed2466dfb1867a004e9f91603e20d458238a52da33225d9303a7262e347f20c41203dea0f0cb7400bed66838 |
24 |
|
25 |
diff --git a/dev-python/xmlschema/xmlschema-1.9.0.ebuild b/dev-python/xmlschema/xmlschema-1.9.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..4860e6037578 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/xmlschema/xmlschema-1.9.0.ebuild |
30 |
@@ -0,0 +1,31 @@ |
31 |
+# Copyright 2019-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="An XML Schema validator and decoder" |
40 |
+HOMEPAGE="https://github.com/sissaschool/xmlschema https://pypi.org/project/xmlschema/" |
41 |
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
46 |
+IUSE="test" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-python/elementpath-2.3.2[${PYTHON_USEDEP}]" |
51 |
+BDEPEND=" |
52 |
+ test? ( |
53 |
+ ${RDEPEND} |
54 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
55 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
56 |
+ )" |
57 |
+ |
58 |
+python_test() { |
59 |
+ "${EPYTHON}" tests/test_all.py -v || |
60 |
+ die "Tests fail with ${EPYTHON}" |
61 |
+} |