diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-04-12 09:58:13 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-04-12 10:02:01 +0200 |
commit | 23df5c9ded1ad399e1dd41364bf9996ba51c30eb (patch) | |
tree | 643f06020483e23dcd0eb661567ff67a17020e68 /dev-python/xmlschema | |
parent | dev-python/typed-ast: Bump to 1.4.3 (diff) | |
download | gentoo-23df5c9ded1ad399e1dd41364bf9996ba51c30eb.tar.gz gentoo-23df5c9ded1ad399e1dd41364bf9996ba51c30eb.tar.bz2 gentoo-23df5c9ded1ad399e1dd41364bf9996ba51c30eb.zip |
dev-python/xmlschema: Bump to 1.6.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.6.1.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index 7ba0eeb396be..5d6bbd545efe 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1,2 +1,3 @@ DIST xmlschema-1.5.3.tar.gz 350684 BLAKE2B 5dfcd2e00339caa834195729cce1604d17e5aa4705150649e22bebe3dc7b3ac6ace5dccbc7b6313c5cadb5ca29992853191afff2f76f05d18c10294131a904cf SHA512 3d86dc407d3181bf5c34b2d6aead9995eca1b7210b39ce3cb95c5655fa0cac0bbcc9f15c6ac016aca69a23f19befbe0525d6f13644b68fde348dcd0fd03bfa73 DIST xmlschema-1.6.0.tar.gz 362175 BLAKE2B a9ff2807e3371ca81af3f0febf555c3fb5cea0b3623925e5b9c5f7b48df8e7c7118f3654930dd13b785ab1f1816d43df08316ddaeca2df983dc3f611ebacad10 SHA512 d72c85307b2b22bb59ed3331a1fbb8fd4ce58e69fed1762e37b89fba6c2f704753123ae34bb6155bc60d287461e426eff48b2b6a04899f067f0f235129320099 +DIST xmlschema-1.6.1.tar.gz 365094 BLAKE2B f39992b61b6ebdc6f9e9a8a83d004bbed0d74bafead7f61e20ff4adb9c135e8e50fa8f7bb20d6ccbfd95894dd62c8cf265d40caae29a8020b73eabbd2366c282 SHA512 be766649f43c297a3ae593bb59244199c52f87bf5f85eb54f5ee8e7cc7a8312aa74ed45198df63a43045840231339203180b7175ac71b850640c44aeb67b5ff5 diff --git a/dev-python/xmlschema/xmlschema-1.6.1.ebuild b/dev-python/xmlschema/xmlschema-1.6.1.ebuild new file mode 100644 index 000000000000..5bb53aff4381 --- /dev/null +++ b/dev-python/xmlschema/xmlschema-1.6.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.2.1[${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}" +} |