diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-01-10 05:39:18 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-01-10 05:39:18 +0100 |
commit | cea081a01eb4886a400c7d58f5a9bdc1beb740df (patch) | |
tree | aeabd975299655b48bac79bdfd0c7818b8d071b9 /dev-python/xmlschema | |
parent | dev-python/trio: Bump to 0.24.0 (diff) | |
download | gentoo-cea081a01eb4886a400c7d58f5a9bdc1beb740df.tar.gz gentoo-cea081a01eb4886a400c7d58f5a9bdc1beb740df.tar.bz2 gentoo-cea081a01eb4886a400c7d58f5a9bdc1beb740df.zip |
dev-python/xmlschema: Bump to 3.0.1
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-3.0.1.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index 0a7e837c19fc..955d4728bb5d 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1,2 +1,3 @@ DIST xmlschema-2.5.1.tar.gz 539267 BLAKE2B 6eae451f1331fd506e8f70b8d00505f6773b6aa82599bad5a94662704d045411a60e86e96f946b20d8c9d6c79b1bd61bfcac65f00ac0273eab89d27f75bdb73a SHA512 b968323581140a768d44cbd7fec08638f556204a4c75dc608b1f78868a68dc3fe3103a2c03dfa79601301043807478bc08ded63923ec26c4425ebdf48fdf0c7e DIST xmlschema-3.0.0.tar.gz 560036 BLAKE2B 94555a6f1bbc95f6597392dad039ef7997d44139017457f76c6b6d302b92a1f563cd3d0c248a430af85350241204c9297f3db16151771ebdd273b9df07858c92 SHA512 c1b22d78e8773fe3c1b22b785e86e7890d9ef9d1dce3e59faacef40dd21e68b0099fc89ff6029f63e1ce1d272e37ce944e14758cb4033c8b446c19adc03a05ba +DIST xmlschema-3.0.1.tar.gz 560537 BLAKE2B 236794db504d3ff6e9e98a03d6e0b25211c76779eac665b69ddd58e98bbbd02dcf1ab6b8aa0430989fedf2c67efcb6999e29fdb9fce09241a0955e32ae76890c SHA512 0266b75c371a3b77a86a7a5380d6bafb14bd8a8b5c58d891825cf708891293f9bf10b4bf1d1a9b71efc43a40115baa51d02e3adb8dbddfe79e4dd56ed07951b9 diff --git a/dev-python/xmlschema/xmlschema-3.0.1.ebuild b/dev-python/xmlschema/xmlschema-3.0.1.ebuild new file mode 100644 index 000000000000..0ec0cd9bd33b --- /dev/null +++ b/dev-python/xmlschema/xmlschema-3.0.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 2019-2024 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}" +} |