diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-02-03 14:36:00 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-02-03 15:55:07 +0100 |
commit | 7f001b52fd50dc6331529c303bba1db11fa37b87 (patch) | |
tree | e756aa4a67162c215821ec759a4db65bdbe6a1c4 /dev-python/xmlschema | |
parent | dev-python/elementpath: Bump to 1.4.1, add pypy3 (diff) | |
download | gentoo-7f001b52fd50dc6331529c303bba1db11fa37b87.tar.gz gentoo-7f001b52fd50dc6331529c303bba1db11fa37b87.tar.bz2 gentoo-7f001b52fd50dc6331529c303bba1db11fa37b87.zip |
dev-python/xmlschema: Bump to 1.1.0, add pypy3
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.1.0.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index 6fded9691f47..35010402e22f 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1 +1,2 @@ DIST xmlschema-1.0.16.tar.gz 278082 BLAKE2B 284f71536f86475fbfccefe1130fbea9319282e34ec11a1ca13c6ddd0f8aad2747d66c8cc6443885982c6f98fa074778f2757d012d1380ae46136dc3e5df4a69 SHA512 5dd79e608036995d70b4da627f89c86cd8e7a66f80c2cb87d701395229daa920759769bf7efad34c33dd28ca14971eb155a654f8fec12fb6ace8cb5ecf979650 +DIST xmlschema-1.1.0.tar.gz 285006 BLAKE2B 9369726c6a6680b9a6d9f317ae96df2db68c1cfe8a1024c141bee2211f5ec176898bc147a9597523c872bee6e7519bc9e57972710fe8f983fdeac7ac7984f901 SHA512 6f5e163969ab06a38cf5b36b6b3f6ba31c98753fc5b364e94889b02b5b2c1b2a3bcae8b5c2b809a9c35c1a2cd855f1b98c68723c51ec2b12998db1a4d1c114c9 diff --git a/dev-python/xmlschema/xmlschema-1.1.0.ebuild b/dev-python/xmlschema/xmlschema-1.1.0.ebuild new file mode 100644 index 000000000000..7bdc2f6a6a93 --- /dev/null +++ b/dev-python/xmlschema/xmlschema-1.1.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} 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="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + =dev-python/elementpath-1.4*[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' -2) + )" + +python_test() { + "${EPYTHON}" tests/test_all.py -v || + die "Tests fail with ${EPYTHON}" +} |