summaryrefslogtreecommitdiff
path: root/dev-python/xmlschema
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-12-19 19:12:08 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-12-19 19:12:08 +0000
commit40a960e586ffe32b0be97060d218cacdf34bba61 (patch)
tree7eb5f3877ab1f04ac574bca0ff4172f47c05fe81 /dev-python/xmlschema
parent56541badbfae64d7888064095840f4d4e65ca47a (diff)
downloadbaldeagleos-repo-40a960e586ffe32b0be97060d218cacdf34bba61.tar.gz
baldeagleos-repo-40a960e586ffe32b0be97060d218cacdf34bba61.tar.xz
baldeagleos-repo-40a960e586ffe32b0be97060d218cacdf34bba61.zip
Adding metadata
Diffstat (limited to 'dev-python/xmlschema')
-rw-r--r--dev-python/xmlschema/Manifest1
-rw-r--r--dev-python/xmlschema/xmlschema-2.5.1.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest
index b8d9b05d06e6..7ff8288aa944 100644
--- a/dev-python/xmlschema/Manifest
+++ b/dev-python/xmlschema/Manifest
@@ -1 +1,2 @@
DIST xmlschema-2.5.0.tar.gz 539358 BLAKE2B 3d70b01f325ed1b4b61b1baaf1d7d29fd9748984f229d78bc645fef331d2cfb6f6d6e52200295ced0e03513e105ebfb8f30937c51e0883ee5d67866346cddb02 SHA512 d859be35d057d8bb1cea85c0f90525ae26f78f09ba2a111414f429eb2afd8633cb59ec0d701bba5bd1d086efb7ae51c2c470882cbfb932caa51c8b8d1ecbfbcb
+DIST xmlschema-2.5.1.tar.gz 539267 BLAKE2B 6eae451f1331fd506e8f70b8d00505f6773b6aa82599bad5a94662704d045411a60e86e96f946b20d8c9d6c79b1bd61bfcac65f00ac0273eab89d27f75bdb73a SHA512 b968323581140a768d44cbd7fec08638f556204a4c75dc608b1f78868a68dc3fe3103a2c03dfa79601301043807478bc08ded63923ec26c4425ebdf48fdf0c7e
diff --git a/dev-python/xmlschema/xmlschema-2.5.1.ebuild b/dev-python/xmlschema/xmlschema-2.5.1.ebuild
new file mode 100644
index 000000000000..07c009226cd0
--- /dev/null
+++ b/dev-python/xmlschema/xmlschema-2.5.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_{8,9,10,11,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}"
+}