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: Thu, 30 Apr 2020 09:45:33
Message-Id: 1588239912.2c36a80437a0cffe12c56b55de0aacd1156ebbec.mgorny@gentoo
1 commit: 2c36a80437a0cffe12c56b55de0aacd1156ebbec
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 30 07:08:02 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 30 09:45:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c36a804
7
8 dev-python/xmlschema: Bump to 1.1.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.1.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 88f96cf6efd..d32a0b2528d 100644
18 --- a/dev-python/xmlschema/Manifest
19 +++ b/dev-python/xmlschema/Manifest
20 @@ -1 +1,2 @@
21 DIST xmlschema-1.1.2.tar.gz 297566 BLAKE2B 828da26710ffd3cffbd15dfd320438e37516906726527468f0c5cc26e2d710320f39a6ea4c7959e4de081a35c0359cd55ed400edfa7acebbbeef6271f2e1f913 SHA512 dee3b854c74645cb85bc1464648909fe2497542d137c98d241201670d1536e7a47c5bc2d6a38e10fe07696fa34115d76eac3ac67a9279ea7d9a45722b4e80ba7
22 +DIST xmlschema-1.1.3.tar.gz 298490 BLAKE2B 70c24424fd6a5e87e07591451db920d22c1bf2c63c1908e008401eafe210b759894ba508011ee58e2c242ca5b3d424c86cdf7a65312e9df1cda426802af8e861 SHA512 df277cd75058e10b8e0505db51fc167c688fe4c3d319de289ac77faa37913f60d2697f4456e00d637c4a3c3f83d164619e0ce1b849e8c8ea3b5e1932b56044dc
23
24 diff --git a/dev-python/xmlschema/xmlschema-1.1.3.ebuild b/dev-python/xmlschema/xmlschema-1.1.3.ebuild
25 new file mode 100644
26 index 00000000000..e1579bdefa2
27 --- /dev/null
28 +++ b/dev-python/xmlschema/xmlschema-1.1.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 +PYTHON_COMPAT=( python3_{6,7,8} 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 ~sparc ~x86"
45 +IUSE="test"
46 +RESTRICT="!test? ( test )"
47 +
48 +RDEPEND="
49 + =dev-python/elementpath-1.4*[${PYTHON_USEDEP}]"
50 +BDEPEND="${RDEPEND}
51 + dev-python/setuptools[${PYTHON_USEDEP}]
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 +}