1 |
commit: fbcd78e0b75901b395c07af81a8bea07e427ecc7 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 15 06:52:37 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 15 08:44:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbcd78e0 |
7 |
|
8 |
dev-python/xmlschema: Bump to 1.2.3 |
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.2.3.ebuild | 30 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest |
17 |
index 8ab6888025d..8ba0830523b 100644 |
18 |
--- a/dev-python/xmlschema/Manifest |
19 |
+++ b/dev-python/xmlschema/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST xmlschema-1.2.2.tar.gz 318829 BLAKE2B 5ebb8749d56491e65a2c09b56e965ea6b3e9be3d453a01671fa0da065389ca4bf44993693517bed4ef9df22cb94b9398660a7a838405c1757ee1c6f40aedacd3 SHA512 51be4317530cd1055438a4bf8e484b70d8a9414da5507fd30ed506271317859e5255fc729ed9fa5df2230e2af049ff40e693c67a5062e61fda43a1329ef2138d |
22 |
+DIST xmlschema-1.2.3.tar.gz 322076 BLAKE2B 2b6c587772a14b4b804a35614a2e1e77ade9be0ef25cabfc331efc3a443058fd51c178339f1d6df2cbda77d2a8d1c2ac2c33155406e7e7f36c10225ecb70a3e7 SHA512 15c47c7e93cb0bf14534dfc298848ba4ac332677583ee14eca0c5908fd935e1a3dc01b96f92e7df6eb45b215eae2b67d74ee2d4d227fb3e3360be944815532b7 |
23 |
|
24 |
diff --git a/dev-python/xmlschema/xmlschema-1.2.3.ebuild b/dev-python/xmlschema/xmlschema-1.2.3.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..411381185a2 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/xmlschema/xmlschema-1.2.3.ebuild |
29 |
@@ -0,0 +1,30 @@ |
30 |
+# Copyright 2019-2020 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
36 |
+PYTHON_COMPAT=( python3_{6,7,8,9} 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 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
46 |
+IUSE="test" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ =dev-python/elementpath-2.0.0*[${PYTHON_USEDEP}]" |
51 |
+BDEPEND="${RDEPEND} |
52 |
+ test? ( |
53 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
54 |
+ )" |
55 |
+ |
56 |
+python_test() { |
57 |
+ "${EPYTHON}" tests/test_all.py -v || |
58 |
+ die "Tests fail with ${EPYTHON}" |
59 |
+} |