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, 27 Sep 2021 22:16:19
Message-Id: 1632780962.a6bde64222aaa465418ec6d9a06b2a33a0fe6197.mgorny@gentoo
1 commit: a6bde64222aaa465418ec6d9a06b2a33a0fe6197
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 27 21:30:19 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 27 22:16:02 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6bde642
7
8 dev-python/xmlschema: Bump to 1.8.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.8.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 44b9db69f14..656e48c1b06 100644
18 --- a/dev-python/xmlschema/Manifest
19 +++ b/dev-python/xmlschema/Manifest
20 @@ -1,2 +1,3 @@
21 DIST xmlschema-1.7.0.tar.gz 370433 BLAKE2B 0270151705ca65d4b0f587e2ac75f7273a20242a0a315b4b954a6ccad6d46d7d093330a4c40d74a44c0c55af021da1c4ddde85f8431e0779d30e2164a599a335 SHA512 c4620f205cbdccef95a38eab6e6a5d6082681e3ff71708376f0ddeecd75a5c53f686fd740a41e98afd2ec5ec0f14be913b6c65bce80fab0143fa5fe1cc8a2ab6
22 DIST xmlschema-1.7.1.tar.gz 372165 BLAKE2B a534c42d5405eefdfd0c595f1ea02a703c8f5a225f9a46ea4fe9885d09de4b87bc5ddb470fabaf3e01093012346247d34fd56495641815fe04f4fa1919f9f53f SHA512 4ad8ef9d91aa2e0b06d64aa06cc380898976c8c1b4efe049b67948b4534bb8edc3a3450cf5e242a004a039e8e29b23954138a0192ac6355fdeecb77e6284c3d9
23 +DIST xmlschema-1.8.0.tar.gz 379305 BLAKE2B dcc3fc5860dede681912f578b548bfe39feb5fda3dd7c5f0ed7f85fce247489d492b062b789acce6679cab835b31c1f77eb82ae43b83c5af5b749a4e93c991d1 SHA512 b4622030e959383729074554e80606dce6e731b9c4e3393c60a02d592acf66f07e50f12d65867fad31e18494e04a8bb1bdadcf22f110d91708e8a0fa89848e2e
24
25 diff --git a/dev-python/xmlschema/xmlschema-1.8.0.ebuild b/dev-python/xmlschema/xmlschema-1.8.0.ebuild
26 new file mode 100644
27 index 00000000000..19b2c2736c2
28 --- /dev/null
29 +++ b/dev-python/xmlschema/xmlschema-1.8.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.2.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 +}