commit:     9a92a22d90f83a7ba3fb636f426d8dc23d51a023
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  6 13:24:53 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar  6 14:04:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a92a22d

dev-python/xmlschema: Bump to 2.2.2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/xmlschema/Manifest               |  1 +
 dev-python/xmlschema/xmlschema-2.2.2.ebuild | 37 +++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest
index 11135117197f..bce576f78d37 100644
--- a/dev-python/xmlschema/Manifest
+++ b/dev-python/xmlschema/Manifest
@@ -1 +1,2 @@
 DIST xmlschema-2.2.1.tar.gz 491212 BLAKE2B 
75212d7e159b0719bd1c01e8e31da6aab2b6422bb497d7312160aee4d00a920e65a135852441c2c61e83a9d8d65c94d9f5ed0f05e967fb456ffd46f314a4bb13
 SHA512 
8e3eef6379cbcb67fc0dd90f9a962f0ba890c5c9a1334c2cfe695e701b8a3aa1fa97f8e50c1e87cbdb5f0b7790bb84e1a181c00b678134cfbeeb8578fa78f724
+DIST xmlschema-2.2.2.tar.gz 492479 BLAKE2B 
1d06841587172d8e67959e0096ac48c0ea3e63c24fa64d2ce9098a7031800a67aa73da9c7b4dcd1cde6ff8999bbc6c675dd157f962461f12446855788d38638a
 SHA512 
a1bbc30e6233192cd275079019cd902d363b23bc02404686713dc16c05bf3a817676db20b6e6e5e7d8d6b9c9e228be3b19e541d0d3a9946765643894fcedc00e

diff --git a/dev-python/xmlschema/xmlschema-2.2.2.ebuild 
b/dev-python/xmlschema/xmlschema-2.2.2.ebuild
new file mode 100644
index 000000000000..c53430e64d4d
--- /dev/null
+++ b/dev-python/xmlschema/xmlschema-2.2.2.ebuild
@@ -0,0 +1,37 @@
+# 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 pypi
+
+DESCRIPTION="An XML Schema validator and decoder"
+HOMEPAGE="
+       https://github.com/sissaschool/xmlschema/
+       https://pypi.org/project/xmlschema/
+"
+
+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}"
+}

Reply via email to