summaryrefslogtreecommitdiff
path: root/dev-python/xmlschema
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-19 10:15:02 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-19 10:15:02 +0100
commit1b76d39d04711631f8d9c7961d19e993e718e53c (patch)
tree983829b9d19c77ade95df4b2557259cd0480efe3 /dev-python/xmlschema
parent55f35733fd2cef66761513953c80be5312563c5f (diff)
gentoo auto-resync : 19:05:2023 - 10:15:02
Diffstat (limited to 'dev-python/xmlschema')
-rw-r--r--dev-python/xmlschema/Manifest2
-rw-r--r--dev-python/xmlschema/xmlschema-2.3.0.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest
index 4307bd29eeae..860c2d0301b6 100644
--- a/dev-python/xmlschema/Manifest
+++ b/dev-python/xmlschema/Manifest
@@ -1,3 +1,5 @@
DIST xmlschema-2.2.3.tar.gz 493444 BLAKE2B 64b8cbc27fe0378cc0a90e110f5c816a25f8b67b61b12363b200035cdc60ba1492923589a8b2b8d3c8a20ecaef85c6acb3c448a377d793efe87f7ad7a6a95bc3 SHA512 978f48d1d79cc8c4f3eab22fd2396da24abd42ea5d36439b72a7783d59e17863b647039a3a058513efd170e78c340705d5729dabd28aa8c26b0c4b2133a67222
+DIST xmlschema-2.3.0.tar.gz 494204 BLAKE2B 96daf1753ec8430fd2be892086a2b7cbb730729e407723845b6fc94175e1a6137df660fce0282ff0940903fe14d87dfbc14a4822ee8bd505861c142fadcc6cff SHA512 1e5a0f36e4e456ac49d808aa3480a68aa269296780a6d1dfa9e2cc8b3616971ba06abf632c1ff51eee0d6f0654d22ba5d1fa805fda81c6e3cfaa33fbc6301267
EBUILD xmlschema-2.2.3.ebuild 829 BLAKE2B 2c93bc26b9b0ec48645d3068d7c6f397a7706aa3ebfb5fce74d55819a74b221b93ed53e639f2381d2960d4567622a5b7d3f8b9ef1c3dad6f22a130f0e1a83a9b SHA512 b95d73901c8ed6fa992d2d47d0bdf1f5cb9aa57a4066d3f90fec8d0a771d649c7fc3b34f6da043556006e949cb35507ee9f5b1e46f27a512d71d4156cfeb8cc6
+EBUILD xmlschema-2.3.0.ebuild 838 BLAKE2B e99d35831795aaa0a5c3256713741552727b11bee00f51ef07cb7d4c27c22bf36287cc12439bf0d7028dc450d6d97a4a5f3867cb210996e23d711002b4393795 SHA512 70ef26fc7c1358f30964b025895a188c19d91f386127165a9046909fcb0cee0737618036f93b359dcfa83d62c7124058004f74cc08488a6659ff48f43cb567ef
MISC metadata.xml 376 BLAKE2B 6aa6c0ef38b17f49452a3db71c7f449dfda8951e2196b904235592921620b6a2064021aae7a1a30639e637c3b9bdb46bcaebec1903a081a41832bd0c5199dde9 SHA512 b814209cd4b87ad5cb8bc447f1d485043d8386339607f39575faf2d26c19b69befa9fd7b7eb2d3fca4b5e60499091a59c1466cfc2f0d9651430949893e2edaeb
diff --git a/dev-python/xmlschema/xmlschema-2.3.0.ebuild b/dev-python/xmlschema/xmlschema-2.3.0.ebuild
new file mode 100644
index 000000000000..d16a20872604
--- /dev/null
+++ b/dev-python/xmlschema/xmlschema-2.3.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..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.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}"
+}