2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-02-21 00:00:59 +03:00

dev-python/xmlschema: Bump to 3.1.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-03-14 05:14:26 +01:00
parent 135370e4a0
commit eb7547fc52
2 changed files with 38 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST xmlschema-3.0.2.tar.gz 563203 BLAKE2B a8b31b435d159df65a620d26a7e964745b9a7e6050a32c52bfa039a013e9108b601cdd2a1188503f327900712b2b445dc4279cc50ee3c62022517afc5dfe6425 SHA512 93062230b13bdcc30eed0291c295bdd8eccb50d5d07c8747336c2917e5d949b30f46d1b90f501fb6da06ceda99d162da92b8db9e206fff09fc3c362b05499903
DIST xmlschema-3.1.0.tar.gz 566760 BLAKE2B d8d1dc61e5eb6897d128ba9ed5257b65190af948946b7ac5d5b9b5fdeb14df42e8a298bc0ed7cdec58cabd237e0c950465bf58be702610496a16000a2f23f354 SHA512 26d6586ede499907bc2b7f0b58c75460d4bfa3761bc029a042e32ede2237234daa8be7b4602da7dec2e28aa945f24e1726fd445189ec31ce4af89c9c5762e1ef

View File

@@ -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.4.0[${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}"
}