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, 21 Feb 2020 10:08:36
Message-Id: 1582279702.a09b0ac192400408b69c650482e5c5a84e290438.mgorny@gentoo
1 commit: a09b0ac192400408b69c650482e5c5a84e290438
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 21 06:30:14 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 21 10:08:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a09b0ac1
7
8 dev-python/xmlschema: Bump to 1.1.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.1.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 35010402e22..00943158ed2 100644
18 --- a/dev-python/xmlschema/Manifest
19 +++ b/dev-python/xmlschema/Manifest
20 @@ -1,2 +1,3 @@
21 DIST xmlschema-1.0.16.tar.gz 278082 BLAKE2B 284f71536f86475fbfccefe1130fbea9319282e34ec11a1ca13c6ddd0f8aad2747d66c8cc6443885982c6f98fa074778f2757d012d1380ae46136dc3e5df4a69 SHA512 5dd79e608036995d70b4da627f89c86cd8e7a66f80c2cb87d701395229daa920759769bf7efad34c33dd28ca14971eb155a654f8fec12fb6ace8cb5ecf979650
22 DIST xmlschema-1.1.0.tar.gz 285006 BLAKE2B 9369726c6a6680b9a6d9f317ae96df2db68c1cfe8a1024c141bee2211f5ec176898bc147a9597523c872bee6e7519bc9e57972710fe8f983fdeac7ac7984f901 SHA512 6f5e163969ab06a38cf5b36b6b3f6ba31c98753fc5b364e94889b02b5b2c1b2a3bcae8b5c2b809a9c35c1a2cd855f1b98c68723c51ec2b12998db1a4d1c114c9
23 +DIST xmlschema-1.1.1.tar.gz 293535 BLAKE2B 563552038f4c07b183ac60ba5d477ab68f9dd81f8f2b93733054adb83dc0b7d892f8ea1bd487c1e8404b6d4ee78e258791ddfb6d99cdb8a63501e13fd204969a SHA512 c2acb1b624173f61fa68b022d205183097c652f7d5389277d23a35fb16a2de5db37d4fa36cdaa9af860f4f6117b5d2f8740f541914f65f951ee24659f3fd4611
24
25 diff --git a/dev-python/xmlschema/xmlschema-1.1.1.ebuild b/dev-python/xmlschema/xmlschema-1.1.1.ebuild
26 new file mode 100644
27 index 00000000000..8ea796fb40b
28 --- /dev/null
29 +++ b/dev-python/xmlschema/xmlschema-1.1.1.ebuild
30 @@ -0,0 +1,31 @@
31 +# Copyright 2019-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{6,7,8} 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="~amd64 ~hppa ~x86"
46 +IUSE="test"
47 +RESTRICT="!test? ( test )"
48 +
49 +RDEPEND="
50 + =dev-python/elementpath-1.4*[${PYTHON_USEDEP}]"
51 +BDEPEND="${RDEPEND}
52 + dev-python/setuptools[${PYTHON_USEDEP}]
53 + test? (
54 + dev-python/lxml[${PYTHON_USEDEP}]
55 + $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' -2)
56 + )"
57 +
58 +python_test() {
59 + "${EPYTHON}" tests/test_all.py -v ||
60 + die "Tests fail with ${EPYTHON}"
61 +}