dev-python/xmlschema: Bump to 1.1.2
authorMichał Górny <mgorny@gentoo.org>
Tue, 24 Mar 2020 07:07:14 +0000 (08:07 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 24 Mar 2020 07:55:27 +0000 (08:55 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/xmlschema/Manifest
dev-python/xmlschema/xmlschema-1.1.2.ebuild [new file with mode: 0644]

index 00943158ed224ae30ebc1006cb66ed34cce83ae6..370b425831167b4f63c166ab3e5adf8e9df5980b 100644 (file)
@@ -1,3 +1,4 @@
 DIST xmlschema-1.0.16.tar.gz 278082 BLAKE2B 284f71536f86475fbfccefe1130fbea9319282e34ec11a1ca13c6ddd0f8aad2747d66c8cc6443885982c6f98fa074778f2757d012d1380ae46136dc3e5df4a69 SHA512 5dd79e608036995d70b4da627f89c86cd8e7a66f80c2cb87d701395229daa920759769bf7efad34c33dd28ca14971eb155a654f8fec12fb6ace8cb5ecf979650
 DIST xmlschema-1.1.0.tar.gz 285006 BLAKE2B 9369726c6a6680b9a6d9f317ae96df2db68c1cfe8a1024c141bee2211f5ec176898bc147a9597523c872bee6e7519bc9e57972710fe8f983fdeac7ac7984f901 SHA512 6f5e163969ab06a38cf5b36b6b3f6ba31c98753fc5b364e94889b02b5b2c1b2a3bcae8b5c2b809a9c35c1a2cd855f1b98c68723c51ec2b12998db1a4d1c114c9
 DIST xmlschema-1.1.1.tar.gz 293535 BLAKE2B 563552038f4c07b183ac60ba5d477ab68f9dd81f8f2b93733054adb83dc0b7d892f8ea1bd487c1e8404b6d4ee78e258791ddfb6d99cdb8a63501e13fd204969a SHA512 c2acb1b624173f61fa68b022d205183097c652f7d5389277d23a35fb16a2de5db37d4fa36cdaa9af860f4f6117b5d2f8740f541914f65f951ee24659f3fd4611
+DIST xmlschema-1.1.2.tar.gz 297566 BLAKE2B 828da26710ffd3cffbd15dfd320438e37516906726527468f0c5cc26e2d710320f39a6ea4c7959e4de081a35c0359cd55ed400edfa7acebbbeef6271f2e1f913 SHA512 dee3b854c74645cb85bc1464648909fe2497542d137c98d241201670d1536e7a47c5bc2d6a38e10fe07696fa34115d76eac3ac67a9279ea7d9a45722b4e80ba7
diff --git a/dev-python/xmlschema/xmlschema-1.1.2.ebuild b/dev-python/xmlschema/xmlschema-1.1.2.ebuild
new file mode 100644 (file)
index 0000000..d05d99d
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="An XML Schema validator and decoder"
+HOMEPAGE="https://github.com/sissaschool/xmlschema https://pypi.org/project/xmlschema/"
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       =dev-python/elementpath-1.4*[${PYTHON_USEDEP}]"
+BDEPEND="${RDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? (
+               dev-python/lxml[${PYTHON_USEDEP}]
+       )"
+
+python_test() {
+       "${EPYTHON}" tests/test_all.py -v ||
+               die "Tests fail with ${EPYTHON}"
+}