summaryrefslogtreecommitdiff
path: root/dev-python/xmlschema
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/xmlschema')
-rw-r--r--dev-python/xmlschema/Manifest2
-rw-r--r--dev-python/xmlschema/xmlschema-2.3.1.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest
index 280c4ab18649..44202a4681c1 100644
--- a/dev-python/xmlschema/Manifest
+++ b/dev-python/xmlschema/Manifest
@@ -1,5 +1,7 @@
DIST xmlschema-2.2.3.tar.gz 493444 BLAKE2B 64b8cbc27fe0378cc0a90e110f5c816a25f8b67b61b12363b200035cdc60ba1492923589a8b2b8d3c8a20ecaef85c6acb3c448a377d793efe87f7ad7a6a95bc3 SHA512 978f48d1d79cc8c4f3eab22fd2396da24abd42ea5d36439b72a7783d59e17863b647039a3a058513efd170e78c340705d5729dabd28aa8c26b0c4b2133a67222
DIST xmlschema-2.3.0.tar.gz 494204 BLAKE2B 96daf1753ec8430fd2be892086a2b7cbb730729e407723845b6fc94175e1a6137df660fce0282ff0940903fe14d87dfbc14a4822ee8bd505861c142fadcc6cff SHA512 1e5a0f36e4e456ac49d808aa3480a68aa269296780a6d1dfa9e2cc8b3616971ba06abf632c1ff51eee0d6f0654d22ba5d1fa805fda81c6e3cfaa33fbc6301267
+DIST xmlschema-2.3.1.tar.gz 494834 BLAKE2B 2438a57f0b07aa5b0f9871bd6a4f64a90a7946ef3deb89b8e12736c52f185a3f4406ff5e894cd7b330600f82e55f6470a32769ed06e4ce85e914dc9808d5091c SHA512 6a08db7cc8f719f2b6d2b8c8478aa35b4fae72bd3c595a2ac9d39c6be6f75a3cdbf696f9e7424d3122d618a4bffc6bfddd5600daa8e0a64db5474fe95659c706
EBUILD xmlschema-2.2.3.ebuild 829 BLAKE2B 2c93bc26b9b0ec48645d3068d7c6f397a7706aa3ebfb5fce74d55819a74b221b93ed53e639f2381d2960d4567622a5b7d3f8b9ef1c3dad6f22a130f0e1a83a9b SHA512 b95d73901c8ed6fa992d2d47d0bdf1f5cb9aa57a4066d3f90fec8d0a771d649c7fc3b34f6da043556006e949cb35507ee9f5b1e46f27a512d71d4156cfeb8cc6
EBUILD xmlschema-2.3.0.ebuild 838 BLAKE2B 6abdef9582d368d34f7b3afe58699b8c4adba1c9442b8fc70ed92b14dc75ecdc1037327f0f847398d895716b2503b859d01c4f62c69ec3cca1432054795876ca SHA512 c70cdfe12eba8f9f3b1c06092c22451604ae999e916a65b6b03b1882c6505c50c972769eeebd144a1fcb61fbf29b94a1fb7e9ee1a6621ead6ee1e8f5dd57c140
+EBUILD xmlschema-2.3.1.ebuild 838 BLAKE2B 6abdef9582d368d34f7b3afe58699b8c4adba1c9442b8fc70ed92b14dc75ecdc1037327f0f847398d895716b2503b859d01c4f62c69ec3cca1432054795876ca SHA512 c70cdfe12eba8f9f3b1c06092c22451604ae999e916a65b6b03b1882c6505c50c972769eeebd144a1fcb61fbf29b94a1fb7e9ee1a6621ead6ee1e8f5dd57c140
MISC metadata.xml 376 BLAKE2B 6aa6c0ef38b17f49452a3db71c7f449dfda8951e2196b904235592921620b6a2064021aae7a1a30639e637c3b9bdb46bcaebec1903a081a41832bd0c5199dde9 SHA512 b814209cd4b87ad5cb8bc447f1d485043d8386339607f39575faf2d26c19b69befa9fd7b7eb2d3fca4b5e60499091a59c1466cfc2f0d9651430949893e2edaeb
diff --git a/dev-python/xmlschema/xmlschema-2.3.1.ebuild b/dev-python/xmlschema/xmlschema-2.3.1.ebuild
new file mode 100644
index 000000000000..82c073a207c8
--- /dev/null
+++ b/dev-python/xmlschema/xmlschema-2.3.1.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_{10..12} 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.1.2[${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}"
+}