diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-09-26 12:54:41 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-26 13:10:06 +0200 |
commit | 1c34e3347ab6625ce6c8fc48488504b692ac8fe9 (patch) | |
tree | cd89f3590c4a37f07f54447bd9e54f9388f90a66 /dev-python/xmlschema | |
parent | dev-python/executing: Bump to 1.1.0 (diff) | |
download | gentoo-1c34e3347ab6625ce6c8fc48488504b692ac8fe9.tar.gz gentoo-1c34e3347ab6625ce6c8fc48488504b692ac8fe9.tar.bz2 gentoo-1c34e3347ab6625ce6c8fc48488504b692ac8fe9.zip |
dev-python/xmlschema: Bump to 2.1.0
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-2.1.0.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index 23aa2486ee01..b58c2e8677b1 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1,2 +1,3 @@ DIST xmlschema-2.0.3.tar.gz 479014 BLAKE2B 19b5e3892a59e780c23c4b9789901a55509b63d3dd3466d473a47aa43eec8894ad2f99dbae7fa2063a53430d99db1455dd2e370fc0e1932750bf6aecc6657b8e SHA512 ab805229d28d53bbc265a4393ca286d0df81803c53ec16b52879ce3edcdc5e7576602088b5fe977e13dcfb5039af652ef96be5a3e9d23592fee104da5a486516 DIST xmlschema-2.0.4.tar.gz 481517 BLAKE2B 105f382dee65a55c6b3073d20fee8582123e6f7aa55e5c02f57e8278354ecb5a05d3f00f5a6fac7a53168e8de258ec8380d6637eea881d5725cb8980c3cbff7b SHA512 57902a14c6b038f3f8e2e996ca9f07e87341a754ece9c4b636d1f8b53db1caf176c6d4a975a843ccdbf7e24ce721f51fb3f0a0efd04719c6f81601c0b56910ba +DIST xmlschema-2.1.0.tar.gz 481921 BLAKE2B 4bda3a4a402808b1961ddef3509c93fa36ecc6dd4e1162015033d31c6b97f3e3a5a84692521dbdafcf127c9548346e9c78f67c5445aca6da3b2fe2e76cfd872b SHA512 a0a76626f40f2261840f5f97be58a3b3cd3183d7d5b722bd785d0f81dbdbcd327428ae6dd596ce1f6b266f751bb17b2c7f3661cd8947b67103789b3436bd654d diff --git a/dev-python/xmlschema/xmlschema-2.1.0.ebuild b/dev-python/xmlschema/xmlschema-2.1.0.ebuild new file mode 100644 index 000000000000..829df9709686 --- /dev/null +++ b/dev-python/xmlschema/xmlschema-2.1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} 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 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + <dev-python/elementpath-4[${PYTHON_USEDEP}] + >=dev-python/elementpath-3.0.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}" +} |