summaryrefslogtreecommitdiff
path: root/dev-python/xmlschema
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-22 05:16:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-22 05:16:15 +0100
commit67ff4e881df5f5a1482662d6aba4680f82d12197 (patch)
tree4b24e048c6a713f514fc5397b5eb8418a7fa490e /dev-python/xmlschema
parentdcd08467271c676e143c6c967faf8580fae7ca77 (diff)
gentoo auto-resync : 22:09:2023 - 05:16:14
Diffstat (limited to 'dev-python/xmlschema')
-rw-r--r--dev-python/xmlschema/Manifest2
-rw-r--r--dev-python/xmlschema/xmlschema-2.5.0.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest
index b5095e0b92b5..279148439cdc 100644
--- a/dev-python/xmlschema/Manifest
+++ b/dev-python/xmlschema/Manifest
@@ -1,3 +1,5 @@
DIST xmlschema-2.3.1.tar.gz 494834 BLAKE2B 2438a57f0b07aa5b0f9871bd6a4f64a90a7946ef3deb89b8e12736c52f185a3f4406ff5e894cd7b330600f82e55f6470a32769ed06e4ce85e914dc9808d5091c SHA512 6a08db7cc8f719f2b6d2b8c8478aa35b4fae72bd3c595a2ac9d39c6be6f75a3cdbf696f9e7424d3122d618a4bffc6bfddd5600daa8e0a64db5474fe95659c706
+DIST xmlschema-2.5.0.tar.gz 539358 BLAKE2B 3d70b01f325ed1b4b61b1baaf1d7d29fd9748984f229d78bc645fef331d2cfb6f6d6e52200295ced0e03513e105ebfb8f30937c51e0883ee5d67866346cddb02 SHA512 d859be35d057d8bb1cea85c0f90525ae26f78f09ba2a111414f429eb2afd8633cb59ec0d701bba5bd1d086efb7ae51c2c470882cbfb932caa51c8b8d1ecbfbcb
EBUILD xmlschema-2.3.1.ebuild 830 BLAKE2B b333f357265182daa91d70a661dc9f688b19aa6d6f3ab3f37cb5e38320c79bdb59cf15536b79989df477cff8490b063aca6bc3cb38d914a03d4abc299ca03320 SHA512 cb5dd8f853021839170d017c767088f4f5f6eb765ac42525c82d4190199dce0e0547d0d32888d09c7d17950de0ef2efcbb6f9d634a00360f193794e2de3862b5
+EBUILD xmlschema-2.5.0.ebuild 838 BLAKE2B 06cf38a6566fba0b2df66b5758833a395e5d4e9c3b11bcc0c80605b73f742fe32908001709e30723b7b8a49d1e5bc187aadbadd8cad62c2ffe2968ccb2f01def SHA512 b767b5361cbb6057b3e458a888b890d78a888980fd1125eb1be0e04d522a6eee379e6eef521a42cbe2bd0f15106da8a29174179b03c6a2e99213b558ada0b18c
MISC metadata.xml 376 BLAKE2B 6aa6c0ef38b17f49452a3db71c7f449dfda8951e2196b904235592921620b6a2064021aae7a1a30639e637c3b9bdb46bcaebec1903a081a41832bd0c5199dde9 SHA512 b814209cd4b87ad5cb8bc447f1d485043d8386339607f39575faf2d26c19b69befa9fd7b7eb2d3fca4b5e60499091a59c1466cfc2f0d9651430949893e2edaeb
diff --git a/dev-python/xmlschema/xmlschema-2.5.0.ebuild b/dev-python/xmlschema/xmlschema-2.5.0.ebuild
new file mode 100644
index 000000000000..0d98d02ad092
--- /dev/null
+++ b/dev-python/xmlschema/xmlschema-2.5.0.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.5[${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}"
+}