diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-02-12 09:23:52 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-02-12 10:09:51 +0100 |
commit | 59e94635cdd0148e3c53453c68c88485c1a56522 (patch) | |
tree | c9d356e33c2e50d429ac5a420ee137e7f5830766 /dev-python/xmlschema | |
parent | dev-python/tikzplotlib: Add python@ as co-maint (diff) | |
download | gentoo-59e94635cdd0148e3c53453c68c88485c1a56522.tar.gz gentoo-59e94635cdd0148e3c53453c68c88485c1a56522.tar.bz2 gentoo-59e94635cdd0148e3c53453c68c88485c1a56522.zip |
dev-python/xmlschema: Bump to 1.5.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-1.5.1.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index 32c68b2b9ef9..9d1a30958a93 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1,3 +1,4 @@ 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 +DIST xmlschema-1.5.1.tar.gz 349788 BLAKE2B a46aa6619594de4db31158f26def3dc070629cc29112aa02555c2479f57883d7d5afb82cbc65e4193d607b2572049ff7da8cf3cb14850b0a6f3166ae87d86928 SHA512 5e8b3adbf8c5b4ac6a85a2d9b62212870cdc6639634f9adf9d16499d86b9cc73fd1fc6ba496f14d840ecefc60f175c62f077a62bab68bd057150889d5ae0a872 diff --git a/dev-python/xmlschema/xmlschema-1.5.1.ebuild b/dev-python/xmlschema/xmlschema-1.5.1.ebuild new file mode 100644 index 000000000000..bb3a6af5bf3d --- /dev/null +++ b/dev-python/xmlschema/xmlschema-1.5.1.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}" +} |