summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-11 19:52:02 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-11 20:11:49 +0100
commita1c61ba8ea6d39b502d20fbef452df66de0638b0 (patch)
treec936199592ebacf3ec6bb87bf00a0cb1135c4c1e /dev-python/xmlschema
parentdev-python/fakeredis: Bump to 2.8.0 (diff)
downloadgentoo-a1c61ba8ea6d39b502d20fbef452df66de0638b0.tar.gz
gentoo-a1c61ba8ea6d39b502d20fbef452df66de0638b0.tar.bz2
gentoo-a1c61ba8ea6d39b502d20fbef452df66de0638b0.zip
dev-python/xmlschema: Bump to 2.2.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/xmlschema')
-rw-r--r--dev-python/xmlschema/Manifest1
-rw-r--r--dev-python/xmlschema/xmlschema-2.2.1.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest
index 8581fcd5ba89..be175702c31f 100644
--- a/dev-python/xmlschema/Manifest
+++ b/dev-python/xmlschema/Manifest
@@ -1,2 +1,3 @@
DIST xmlschema-2.1.1.tar.gz 482988 BLAKE2B 8bcd66518e99b6df96a48408830388cba33530b8787ab733f5710e8ebdee3243cbbe8968c25060396c4d0e577dd40ae2438dab7afae5958386c886f235b3d96c SHA512 2c55de21ab4aaba9f499a0b348e60a50939af41b5ce43787c339ce86e4067681acf28b155bfba90346b1e8d976c468ad0ca21f73f76afc55bd700b1866bba945
DIST xmlschema-2.2.0.tar.gz 485104 BLAKE2B 3cafd67149043e8ee8a720afd08f4a37b343fcc245302d2754230e08a8c624f507cd1f8aca884e7d75717a9e794b936bf1c54b3d98a37f3ec687d97e3f6f919a SHA512 f613a8f49f3b373398e097017407cba4e6801886ef7ff479906d5180bd2a7020b2a2fb812aae444210b82ab2f8b12438b639c4418e2d5bedaa396fcaa69271f5
+DIST xmlschema-2.2.1.tar.gz 491212 BLAKE2B 75212d7e159b0719bd1c01e8e31da6aab2b6422bb497d7312160aee4d00a920e65a135852441c2c61e83a9d8d65c94d9f5ed0f05e967fb456ffd46f314a4bb13 SHA512 8e3eef6379cbcb67fc0dd90f9a962f0ba890c5c9a1334c2cfe695e701b8a3aa1fa97f8e50c1e87cbdb5f0b7790bb84e1a181c00b678134cfbeeb8578fa78f724
diff --git a/dev-python/xmlschema/xmlschema-2.2.1.ebuild b/dev-python/xmlschema/xmlschema-2.2.1.ebuild
new file mode 100644
index 000000000000..ccc61f19eb6c
--- /dev/null
+++ b/dev-python/xmlschema/xmlschema-2.2.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2019-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} 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 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ <dev-python/elementpath-5[${PYTHON_USEDEP}]
+ >=dev-python/elementpath-4.0.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ ${RDEPEND}
+ dev-python/jinja[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ )
+"
+
+python_test() {
+ "${EPYTHON}" tests/test_all.py -v || die "Tests fail with ${EPYTHON}"
+}