diff options
author | 2023-05-19 06:02:55 +0200 | |
---|---|---|
committer | 2023-05-19 06:02:55 +0200 | |
commit | 9586a2809cd4082e0e5937846402051771169519 (patch) | |
tree | 272e90831e3a4e51ca38d20a841a7d6dd16502f4 /dev-python/xmlschema | |
parent | dev-python/apsw: Bump to 3.42.0.0 (diff) | |
download | gentoo-9586a2809cd4082e0e5937846402051771169519.tar.gz gentoo-9586a2809cd4082e0e5937846402051771169519.tar.bz2 gentoo-9586a2809cd4082e0e5937846402051771169519.zip |
dev-python/xmlschema: Bump to 2.3.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/xmlschema')
-rw-r--r-- | dev-python/xmlschema/Manifest | 1 | ||||
-rw-r--r-- | dev-python/xmlschema/xmlschema-2.3.0.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index 6603b5dd8ce1..91a843461455 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1 +1,2 @@ DIST xmlschema-2.2.3.tar.gz 493444 BLAKE2B 64b8cbc27fe0378cc0a90e110f5c816a25f8b67b61b12363b200035cdc60ba1492923589a8b2b8d3c8a20ecaef85c6acb3c448a377d793efe87f7ad7a6a95bc3 SHA512 978f48d1d79cc8c4f3eab22fd2396da24abd42ea5d36439b72a7783d59e17863b647039a3a058513efd170e78c340705d5729dabd28aa8c26b0c4b2133a67222 +DIST xmlschema-2.3.0.tar.gz 494204 BLAKE2B 96daf1753ec8430fd2be892086a2b7cbb730729e407723845b6fc94175e1a6137df660fce0282ff0940903fe14d87dfbc14a4822ee8bd505861c142fadcc6cff SHA512 1e5a0f36e4e456ac49d808aa3480a68aa269296780a6d1dfa9e2cc8b3616971ba06abf632c1ff51eee0d6f0654d22ba5d1fa805fda81c6e3cfaa33fbc6301267 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}" +} |