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