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: Wed, 09 Jun 2021 20:54:07
Message-Id: 1623272035.1f28cc9c843ecd0a3a41c8416e5c560f8b9e9af5.mgorny@gentoo
1 commit: 1f28cc9c843ecd0a3a41c8416e5c560f8b9e9af5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 9 20:18:48 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 9 20:53:55 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f28cc9c
7
8 dev-python/xmlschema: Bump to 1.6.4
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.6.4.ebuild | 31 +++++++++++++++++++++++++++++
14 2 files changed, 32 insertions(+)
15
16 diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest
17 index edb7572e026..49716e5938e 100644
18 --- a/dev-python/xmlschema/Manifest
19 +++ b/dev-python/xmlschema/Manifest
20 @@ -1 +1,2 @@
21 DIST xmlschema-1.6.2.tar.gz 367141 BLAKE2B 32a1e4924765badc268d2d68458c4d6d0409c5f3b4e0109487cc538aec300817cf0649a43f77990e82b2c54252b2ab3e0593a503c217893661480f1632491f41 SHA512 5aaf022451fa069b2361af542d4d864995e8dae7d50f5e66a5d5567b4d8511bb46b5dcec68a780e89025ff02f5bbb6311c4fcd4fb17f6c24c0c02b00c6b4a341
22 +DIST xmlschema-1.6.4.tar.gz 369270 BLAKE2B f3b98f0b8b4446dfa67da778c6b63585a894f4dcc9fd7ea98637ccd54b26e63aebc7f3fbc00e13ce43730b88da0f773a491917d5eae9301b5d22f6efe620473b SHA512 7e13d20a6add1cc5b6d0f732e672be3eeeb2f107fd2031cd5c22d1059d24b7d818c534817ea115d0c5f011727175bdcae71a0b8d55f1d6bd263a7e38286c26fc
23
24 diff --git a/dev-python/xmlschema/xmlschema-1.6.4.ebuild b/dev-python/xmlschema/xmlschema-1.6.4.ebuild
25 new file mode 100644
26 index 00000000000..2d0e12ac984
27 --- /dev/null
28 +++ b/dev-python/xmlschema/xmlschema-1.6.4.ebuild
29 @@ -0,0 +1,31 @@
30 +# Copyright 2019-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{8..10} 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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
45 +IUSE="test"
46 +RESTRICT="!test? ( test )"
47 +
48 +RDEPEND="
49 + >=dev-python/elementpath-2.2.2[${PYTHON_USEDEP}]"
50 +BDEPEND="
51 + test? (
52 + ${RDEPEND}
53 + dev-python/jinja[${PYTHON_USEDEP}]
54 + dev-python/lxml[${PYTHON_USEDEP}]
55 + )"
56 +
57 +python_test() {
58 + "${EPYTHON}" tests/test_all.py -v ||
59 + die "Tests fail with ${EPYTHON}"
60 +}