Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/xmlschema/
Date: Mon, 26 Sep 2022 11:22:05
Message-Id: 1664190606.1c34e3347ab6625ce6c8fc48488504b692ac8fe9.mgorny@gentoo
1 commit: 1c34e3347ab6625ce6c8fc48488504b692ac8fe9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 26 10:54:41 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 26 11:10:06 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c34e334
7
8 dev-python/xmlschema: Bump to 2.1.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-2.1.0.ebuild | 38 +++++++++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest
17 index 23aa2486ee01..b58c2e8677b1 100644
18 --- a/dev-python/xmlschema/Manifest
19 +++ b/dev-python/xmlschema/Manifest
20 @@ -1,2 +1,3 @@
21 DIST xmlschema-2.0.3.tar.gz 479014 BLAKE2B 19b5e3892a59e780c23c4b9789901a55509b63d3dd3466d473a47aa43eec8894ad2f99dbae7fa2063a53430d99db1455dd2e370fc0e1932750bf6aecc6657b8e SHA512 ab805229d28d53bbc265a4393ca286d0df81803c53ec16b52879ce3edcdc5e7576602088b5fe977e13dcfb5039af652ef96be5a3e9d23592fee104da5a486516
22 DIST xmlschema-2.0.4.tar.gz 481517 BLAKE2B 105f382dee65a55c6b3073d20fee8582123e6f7aa55e5c02f57e8278354ecb5a05d3f00f5a6fac7a53168e8de258ec8380d6637eea881d5725cb8980c3cbff7b SHA512 57902a14c6b038f3f8e2e996ca9f07e87341a754ece9c4b636d1f8b53db1caf176c6d4a975a843ccdbf7e24ce721f51fb3f0a0efd04719c6f81601c0b56910ba
23 +DIST xmlschema-2.1.0.tar.gz 481921 BLAKE2B 4bda3a4a402808b1961ddef3509c93fa36ecc6dd4e1162015033d31c6b97f3e3a5a84692521dbdafcf127c9548346e9c78f67c5445aca6da3b2fe2e76cfd872b SHA512 a0a76626f40f2261840f5f97be58a3b3cd3183d7d5b722bd785d0f81dbdbcd327428ae6dd596ce1f6b266f751bb17b2c7f3661cd8947b67103789b3436bd654d
24
25 diff --git a/dev-python/xmlschema/xmlschema-2.1.0.ebuild b/dev-python/xmlschema/xmlschema-2.1.0.ebuild
26 new file mode 100644
27 index 000000000000..829df9709686
28 --- /dev/null
29 +++ b/dev-python/xmlschema/xmlschema-2.1.0.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 +}