commit: 6810759ac8a9df5bd64fb2d4b02ce3102e65178e Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Feb 5 20:37:12 2021 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Feb 5 21:28:29 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6810759a
dev-python/xmlschema: Bump to 1.5.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/xmlschema/Manifest | 1 + dev-python/xmlschema/xmlschema-1.5.0.ebuild | 32 +++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index 7ea8508bfc7..32c68b2b9ef 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1,2 +1,3 @@ DIST xmlschema-1.4.1.tar.gz 329488 BLAKE2B 80125c6867facb8f94574f4aa210239057f6c8429ff52daac047457eaf6c836b051ccf8e0dec751c1bc57e4de7343781849fe88290117b8546ecd9b8ee99859a SHA512 935e4bffa5361e87fe0656c04b79fe50213098db86e18de38d82d9c04e45557b7ce9468379644c202ab25bdbd6f430bf85a639c3aa7636833d4bbe8533738e82 DIST xmlschema-1.4.2.tar.gz 331747 BLAKE2B 013a74e7d929e46d497a55ad67888f0dd25b60097e390c3ad3b69c9a87d9e5a83bd68873336137805d755a47d0e5cb5b7347403ee38bcb7457e70803c6aca2ff SHA512 a490d1686f3e8cc7fd45bcb51f00ddf8b734e0c928f8690f9988232f8781fa070f7f03be7473ed5e8b3d1ab67bb08e123c79b408c3daaebfd2df0e94c8827888 +DIST xmlschema-1.5.0.tar.gz 345946 BLAKE2B 19e1eb3662d2e8d59b6b17e560923303a5370d0a936d3416ec02991af04f2f3e58f63be5304d5cbf314235b70e14565bfc232fd4be3503e2a1a2e121cdab1488 SHA512 07943e6de04cc7f4de4963a1d2d7ef85d4eaf3bb4bb52d3f632df4569f359481ca97f1cc7bca7fd59e14988795e4675c84e5a2d80f22514fb6499ff52d40a0c2 diff --git a/dev-python/xmlschema/xmlschema-1.5.0.ebuild b/dev-python/xmlschema/xmlschema-1.5.0.ebuild new file mode 100644 index 00000000000..bb3a6af5bf3 --- /dev/null +++ b/dev-python/xmlschema/xmlschema-1.5.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{7..9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="An XML Schema validator and decoder" +HOMEPAGE="https://github.com/sissaschool/xmlschema https://pypi.org/project/xmlschema/" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/elementpath-2.1.2[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND} + test? ( + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + )" + +python_test() { + "${EPYTHON}" tests/test_all.py -v || + die "Tests fail with ${EPYTHON}" +}