1 |
commit: 7f001b52fd50dc6331529c303bba1db11fa37b87 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 3 13:36:00 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 3 14:55:07 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f001b52 |
7 |
|
8 |
dev-python/xmlschema: Bump to 1.1.0, add pypy3 |
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.1.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 6fded9691f4..35010402e22 100644 |
18 |
--- a/dev-python/xmlschema/Manifest |
19 |
+++ b/dev-python/xmlschema/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST xmlschema-1.0.16.tar.gz 278082 BLAKE2B 284f71536f86475fbfccefe1130fbea9319282e34ec11a1ca13c6ddd0f8aad2747d66c8cc6443885982c6f98fa074778f2757d012d1380ae46136dc3e5df4a69 SHA512 5dd79e608036995d70b4da627f89c86cd8e7a66f80c2cb87d701395229daa920759769bf7efad34c33dd28ca14971eb155a654f8fec12fb6ace8cb5ecf979650 |
22 |
+DIST xmlschema-1.1.0.tar.gz 285006 BLAKE2B 9369726c6a6680b9a6d9f317ae96df2db68c1cfe8a1024c141bee2211f5ec176898bc147a9597523c872bee6e7519bc9e57972710fe8f983fdeac7ac7984f901 SHA512 6f5e163969ab06a38cf5b36b6b3f6ba31c98753fc5b364e94889b02b5b2c1b2a3bcae8b5c2b809a9c35c1a2cd855f1b98c68723c51ec2b12998db1a4d1c114c9 |
23 |
|
24 |
diff --git a/dev-python/xmlschema/xmlschema-1.1.0.ebuild b/dev-python/xmlschema/xmlschema-1.1.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..7bdc2f6a6a9 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/xmlschema/xmlschema-1.1.0.ebuild |
29 |
@@ -0,0 +1,31 @@ |
30 |
+# Copyright 2019-2020 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="An XML Schema validator and decoder" |
39 |
+HOMEPAGE="https://github.com/sissaschool/xmlschema https://pypi.org/project/xmlschema/" |
40 |
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ =dev-python/elementpath-1.4*[${PYTHON_USEDEP}]" |
50 |
+BDEPEND="${RDEPEND} |
51 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
52 |
+ test? ( |
53 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
54 |
+ $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' -2) |
55 |
+ )" |
56 |
+ |
57 |
+python_test() { |
58 |
+ "${EPYTHON}" tests/test_all.py -v || |
59 |
+ die "Tests fail with ${EPYTHON}" |
60 |
+} |