dev-python/xmlschema: Bump to 1.2.0
authorMichał Górny <mgorny@gentoo.org>
Fri, 29 May 2020 06:30:26 +0000 (08:30 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 29 May 2020 07:24:59 +0000 (09:24 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/xmlschema/Manifest
dev-python/xmlschema/xmlschema-1.2.0.ebuild [new file with mode: 0644]

index ed34f185b5cbe40c729af753a8dca90d87ad0550..b4b68ff3579ca518175465a2c64a956c2c5a2b3e 100644 (file)
@@ -1 +1,2 @@
 DIST xmlschema-1.1.3.tar.gz 298490 BLAKE2B 70c24424fd6a5e87e07591451db920d22c1bf2c63c1908e008401eafe210b759894ba508011ee58e2c242ca5b3d424c86cdf7a65312e9df1cda426802af8e861 SHA512 df277cd75058e10b8e0505db51fc167c688fe4c3d319de289ac77faa37913f60d2697f4456e00d637c4a3c3f83d164619e0ce1b849e8c8ea3b5e1932b56044dc
+DIST xmlschema-1.2.0.tar.gz 314580 BLAKE2B d42b221d2730d2b5cdab655269f7b885c72bce1794f12111b4110a80a1288e1996633ef5f00e9fc3ef7cd66a4267baffbdb6a906d0a0c3caf418d31abda93016 SHA512 1a6644b02e96beeea68bd737a4a66fd02693b4cb3c36a07e569a2b2c3e2b0db4fe01a475fcc3c4e5372c6000b27ef824ba5859215a03212fe4c0f2ec61f7103b
diff --git a/dev-python/xmlschema/xmlschema-1.2.0.ebuild b/dev-python/xmlschema/xmlschema-1.2.0.ebuild
new file mode 100644 (file)
index 0000000..fb97f84
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8,9} 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 ~arm ~arm64 ~hppa ~ia64 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       =dev-python/elementpath-1.4*[${PYTHON_USEDEP}]"
+BDEPEND="${RDEPEND}
+       test? (
+               dev-python/lxml[${PYTHON_USEDEP}]
+       )"
+
+python_test() {
+       "${EPYTHON}" tests/test_all.py -v ||
+               die "Tests fail with ${EPYTHON}"
+}