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: Fri, 25 Dec 2020 09:17:18
Message-Id: 1608884349.e3d3e3b8da42cae33a6d1995c530c364fdebe72d.mgorny@gentoo
1 commit: e3d3e3b8da42cae33a6d1995c530c364fdebe72d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 25 08:19:09 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 25 08:19:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3d3e3b8
7
8 dev-python/xmlschema: Bump to 1.4.1
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.4.1.ebuild | 31 +++++++++++++++++++++++++++++
14 2 files changed, 32 insertions(+)
15
16 diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest
17 index 02fe786d1af..21cf8f1376f 100644
18 --- a/dev-python/xmlschema/Manifest
19 +++ b/dev-python/xmlschema/Manifest
20 @@ -1,3 +1,4 @@
21 DIST xmlschema-1.2.5.tar.gz 290750 BLAKE2B b6fb6722f1f9468cbae6507522c4398a7d0aff11918479b8e89e24986df2ad1ae4fe8640c5fe532319c6e7dbdb958d81df8cf81f1ceb18db09c406fc6a137219 SHA512 f821f041b7be483039746d7c7771117d4cac6189dd02a0f95235ea6597300dead39813b1ede9b6871fad93e50aa55f01f7da4e485c7074f66d78a76f1b57e7cf
22 DIST xmlschema-1.3.1.tar.gz 318853 BLAKE2B 1f2f960c5dad0c82a7ca0345bca052560d39f07b3fff9f443ec5d206a2ec92743462be2209e69a9330f432dbeb7e5908dae4168f7815cf64c141047876844453 SHA512 3bd2ba3004c1a397aff1c81c1105a603dd219f9c2c4afd0742aea3d7263dd0c50adbc05f4ccf96ad0a0f8bd5c116002152eba8194619e6bb636ef46111e6a2a4
23 DIST xmlschema-1.4.0.tar.gz 329087 BLAKE2B d41d66ee2f572d382aeac45369774caeb216aed8fdd679efa3fdc45ae81d4858e9c63cd17355b46f7378d0754a0307cc66d0f256c689a322a76d561b8c5d42f1 SHA512 572d317f92e6b881f8b95ae3fd6f663c947ff7f48d21f34e356b7fab91b167fe7557cd06bae9907804be95cdeaa7916418e8a4ea184aeae761e60cfb6016c2d1
24 +DIST xmlschema-1.4.1.tar.gz 329488 BLAKE2B 80125c6867facb8f94574f4aa210239057f6c8429ff52daac047457eaf6c836b051ccf8e0dec751c1bc57e4de7343781849fe88290117b8546ecd9b8ee99859a SHA512 935e4bffa5361e87fe0656c04b79fe50213098db86e18de38d82d9c04e45557b7ce9468379644c202ab25bdbd6f430bf85a639c3aa7636833d4bbe8533738e82
25
26 diff --git a/dev-python/xmlschema/xmlschema-1.4.1.ebuild b/dev-python/xmlschema/xmlschema-1.4.1.ebuild
27 new file mode 100644
28 index 00000000000..008edc769d9
29 --- /dev/null
30 +++ b/dev-python/xmlschema/xmlschema-1.4.1.ebuild
31 @@ -0,0 +1,31 @@
32 +# Copyright 2019-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +DISTUTILS_USE_SETUPTOOLS=rdepend
38 +PYTHON_COMPAT=( python3_{6..9} pypy3 )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="An XML Schema validator and decoder"
43 +HOMEPAGE="https://github.com/sissaschool/xmlschema https://pypi.org/project/xmlschema/"
44 +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="MIT"
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
49 +IUSE="test"
50 +RESTRICT="!test? ( test )"
51 +
52 +RDEPEND="
53 + >=dev-python/elementpath-2.0.2[${PYTHON_USEDEP}]"
54 +BDEPEND="${RDEPEND}
55 + test? (
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 +}