summaryrefslogtreecommitdiff
path: root/dev-python/xmlschema
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /dev-python/xmlschema
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'dev-python/xmlschema')
-rw-r--r--dev-python/xmlschema/Manifest11
-rw-r--r--dev-python/xmlschema/files/xmlschema-1.2.5-skip_network_tests.patch10
-rw-r--r--dev-python/xmlschema/metadata.xml4
-rw-r--r--dev-python/xmlschema/xmlschema-1.2.4.ebuild2
-rw-r--r--dev-python/xmlschema/xmlschema-1.2.5.ebuild36
-rw-r--r--dev-python/xmlschema/xmlschema-1.3.0.ebuild31
-rw-r--r--dev-python/xmlschema/xmlschema-1.3.1.ebuild31
7 files changed, 122 insertions, 3 deletions
diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest
index b3a5eccf06f3..64a4f1a6b657 100644
--- a/dev-python/xmlschema/Manifest
+++ b/dev-python/xmlschema/Manifest
@@ -1,5 +1,12 @@
+AUX xmlschema-1.2.5-skip_network_tests.patch 488 BLAKE2B 0be194d30f0155492f486a5e485de57c17aed76777c808854eff074af7d775a54596621d4fcc9416c4dc9e5f808a747d0037b4dd53365cfa225a431dc3c01d5f SHA512 1781f91a190fec6b9ecc754e36035312e4b68644a5c2343868fc076fd30021317e8d5b85365b44a5eb186c98b60d27f265729a46a5234078c98680a6453d73f1
DIST xmlschema-1.2.3.tar.gz 322076 BLAKE2B 2b6c587772a14b4b804a35614a2e1e77ade9be0ef25cabfc331efc3a443058fd51c178339f1d6df2cbda77d2a8d1c2ac2c33155406e7e7f36c10225ecb70a3e7 SHA512 15c47c7e93cb0bf14534dfc298848ba4ac332677583ee14eca0c5908fd935e1a3dc01b96f92e7df6eb45b215eae2b67d74ee2d4d227fb3e3360be944815532b7
DIST xmlschema-1.2.4.tar.gz 287636 BLAKE2B bbb06fcf0e93b98ad7b9746fa0492bc79705dab79fa3d738bc02368e5d777b61cce60f6bd65f095dc99395037d7f0af3056c0877f0c96efb830fa65e1a389c2b SHA512 27f50890728be149e3c36a5ad706b27c32efecf859699a99bebe9a0b81dea2c1ab733860366a2cf0d30680de7f45d8ae581cb445ba78708db3ed25ff7eef94ee
+DIST xmlschema-1.2.5.tar.gz 290750 BLAKE2B b6fb6722f1f9468cbae6507522c4398a7d0aff11918479b8e89e24986df2ad1ae4fe8640c5fe532319c6e7dbdb958d81df8cf81f1ceb18db09c406fc6a137219 SHA512 f821f041b7be483039746d7c7771117d4cac6189dd02a0f95235ea6597300dead39813b1ede9b6871fad93e50aa55f01f7da4e485c7074f66d78a76f1b57e7cf
+DIST xmlschema-1.3.0.tar.gz 319713 BLAKE2B 81c94fb346aaa0f3b17d168f239fc24368ccc59fecdae615fd2a249d44072b2e6db637f802d6fca632b98ead5a85ac2b6f924abc3dc42b4c646de3ca5dd9635d SHA512 b505b3a8e375e669631b8b8c4b0867fab7e48200da7bfb6b97f5bd5f604f5e30d4d00c72d919765db8663f7eaf98f4c6cc6491aeef520ee0cc49041062c5b3bc
+DIST xmlschema-1.3.1.tar.gz 318853 BLAKE2B 1f2f960c5dad0c82a7ca0345bca052560d39f07b3fff9f443ec5d206a2ec92743462be2209e69a9330f432dbeb7e5908dae4168f7815cf64c141047876844453 SHA512 3bd2ba3004c1a397aff1c81c1105a603dd219f9c2c4afd0742aea3d7263dd0c50adbc05f4ccf96ad0a0f8bd5c116002152eba8194619e6bb636ef46111e6a2a4
EBUILD xmlschema-1.2.3-r1.ebuild 763 BLAKE2B 3f7af1950d66b8a06f8a5ec03f5ab1328c1b706176a798ff9d351a6cd3db23021f84518cb97d8781b2fd7d15cc916383b7f3bcecfc147aa128565c7374f27364 SHA512 2e32194600becc9cde92b0b5398c79b06cbcc519a69b7b089c6a4c231ff685e77125d3f9856b43157ef94656a1ddff5bdb42cbab65c669e2840d4d8a671642a2
-EBUILD xmlschema-1.2.4.ebuild 771 BLAKE2B 4309dbe31a282e1109b16e5de5398081be337468626dddf0897b08ba235b1154e6fc74e0ef32dd6f4b46ee280e7bb5ce5376781be7a171f62692f2fd2b0ec6bf SHA512 813010e93a9f84d1873968035e0846fd3a2976200975e0f280624b398bd6b675521816656b59e1963da2d80c25dfbfa0a2f020897b373f75f8a232ea17a6c311
-MISC metadata.xml 242 BLAKE2B 17fd7db1343fb7dba1842d5b62d83e56e2816962b0122ec6eee7f9e163f333d69ede2cbdf2a2ba8c77613367fca3d2cee779697fb25b5d8cf0439e1e845dbf1f SHA512 2ce768d5aae91f32da90c62900f556c647eb9806c810a817b6c45c5356e71f504b5a646bf75f553c3a9bfd3f94c4317df4948bae863ef7525b4a013b63618cd8
+EBUILD xmlschema-1.2.4.ebuild 766 BLAKE2B c9147a07df0b09551acb0193555a0dc41ec7b6b7af77c2c05a967143631e7109fe876f1676d7c27bd7200f5f5241a7e106cda72fda9971bf627a326134c625f9 SHA512 bdcc764d8dd5e78386842921fc76bd320211bae812d9ba241480960dedd9c4587089647f28abc3ecb9b2023afc8e2f2662e02088eac9813086351cca7b369e2b
+EBUILD xmlschema-1.2.5.ebuild 892 BLAKE2B a76dc8b5d295a9088827d51129695b15a3fc788e39c5d193aae5663f1d419dfdf68de733acbd2e9e005f743d859de434be274c29eb2305992bdcef938f1d81f2 SHA512 feb3f9d9a802ad0a60686e17446f3e38ffd5b640aa9cc9e92949fbd7f6f9383cc2fb0d25c879b1b4c5f92a7005c92420d7bde8895f47ffddbac12afd5d5506e7
+EBUILD xmlschema-1.3.0.ebuild 769 BLAKE2B d9127d956cddc0f8fb552563025e852a83647a7ff29de816dc4a3ca8ebe8b81a5e136d8114c6e96157b750fed85a5db2e28058fd49e8854d2388deb757b91eb6 SHA512 ff611755005ff59170d0c283ff6ba622127b3234e98edcacbab158c46678a19f4e8b6bf94671caaf6200972c87a1d563021e1b82b0f88dd37ad96a7b5aca9625
+EBUILD xmlschema-1.3.1.ebuild 769 BLAKE2B d9127d956cddc0f8fb552563025e852a83647a7ff29de816dc4a3ca8ebe8b81a5e136d8114c6e96157b750fed85a5db2e28058fd49e8854d2388deb757b91eb6 SHA512 ff611755005ff59170d0c283ff6ba622127b3234e98edcacbab158c46678a19f4e8b6bf94671caaf6200972c87a1d563021e1b82b0f88dd37ad96a7b5aca9625
+MISC metadata.xml 375 BLAKE2B 16a422a1beab981008ef66eccca94cace74cb244fb6123d2495e13045b4c786bf00f2807d3ac73e98f1c962fc0ccb7f7aa84f565dff54e2ef2077776a85bd479 SHA512 db2b030851d7357aea0b41066bcfa36b9ae81c745f413a3cdc1a528a38f2ea1a8c7876abff7f139801185f075be9e841d637f238b9d3bc37fa212f13c06ec411
diff --git a/dev-python/xmlschema/files/xmlschema-1.2.5-skip_network_tests.patch b/dev-python/xmlschema/files/xmlschema-1.2.5-skip_network_tests.patch
new file mode 100644
index 000000000000..4dee9a4ef107
--- /dev/null
+++ b/dev-python/xmlschema/files/xmlschema-1.2.5-skip_network_tests.patch
@@ -0,0 +1,10 @@
+--- xmlschema-1.2.5/tests/validators/test_schema_class.py
++++ xmlschema-1.2.5/tests/validators/test_schema_class.py
+@@ -261,6 +261,7 @@ class TestXMLSchema10(XsdValidatorTestCa
+
+ self.assertFalse(os.path.isdir(dirname))
+
++ @unittest.skipIf(SKIP_REMOTE_TESTS, "Remote networks are not accessible.")
+ def test_export_remote__issue_187(self):
+ vh_schema_file = self.casepath('issues/issue_187/issue_187_2.xsd')
+ vh_schema = self.schema_class(vh_schema_file)
diff --git a/dev-python/xmlschema/metadata.xml b/dev-python/xmlschema/metadata.xml
index e59516686a44..54ba6f5b2b00 100644
--- a/dev-python/xmlschema/metadata.xml
+++ b/dev-python/xmlschema/metadata.xml
@@ -5,4 +5,8 @@
<email>python@gentoo.org</email>
</maintainer>
<stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">xmlschema</remote-id>
+ <remote-id type="github">sissaschool/xmlschema</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/dev-python/xmlschema/xmlschema-1.2.4.ebuild b/dev-python/xmlschema/xmlschema-1.2.4.ebuild
index 6984a361dd20..261c0c06b2bb 100644
--- a/dev-python/xmlschema/xmlschema-1.2.4.ebuild
+++ b/dev-python/xmlschema/xmlschema-1.2.4.ebuild
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"
diff --git a/dev-python/xmlschema/xmlschema-1.2.5.ebuild b/dev-python/xmlschema/xmlschema-1.2.5.ebuild
new file mode 100644
index 000000000000..a97acabc5320
--- /dev/null
+++ b/dev-python/xmlschema/xmlschema-1.2.5.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6..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"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-python/elementpath-2.0.2[${PYTHON_USEDEP}]"
+BDEPEND="${RDEPEND}
+ test? (
+ dev-python/lxml[${PYTHON_USEDEP}]
+ )"
+
+# patch from https://github.com/sissaschool/xmlschema/issues/206
+PATCHES=(
+ "${FILESDIR}/${P}-skip_network_tests.patch"
+)
+
+python_test() {
+ "${EPYTHON}" tests/test_all.py -v ||
+ die "Tests fail with ${EPYTHON}"
+}
diff --git a/dev-python/xmlschema/xmlschema-1.3.0.ebuild b/dev-python/xmlschema/xmlschema-1.3.0.ebuild
new file mode 100644
index 000000000000..28637b92bf4f
--- /dev/null
+++ b/dev-python/xmlschema/xmlschema-1.3.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6..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"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-python/elementpath-2.0.2[${PYTHON_USEDEP}]"
+BDEPEND="${RDEPEND}
+ test? (
+ dev-python/lxml[${PYTHON_USEDEP}]
+ )"
+
+python_test() {
+ "${EPYTHON}" tests/test_all.py -v ||
+ die "Tests fail with ${EPYTHON}"
+}
diff --git a/dev-python/xmlschema/xmlschema-1.3.1.ebuild b/dev-python/xmlschema/xmlschema-1.3.1.ebuild
new file mode 100644
index 000000000000..28637b92bf4f
--- /dev/null
+++ b/dev-python/xmlschema/xmlschema-1.3.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6..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"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-python/elementpath-2.0.2[${PYTHON_USEDEP}]"
+BDEPEND="${RDEPEND}
+ test? (
+ dev-python/lxml[${PYTHON_USEDEP}]
+ )"
+
+python_test() {
+ "${EPYTHON}" tests/test_all.py -v ||
+ die "Tests fail with ${EPYTHON}"
+}