Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/xmlschema/, dev-python/xmlschema/files/
Date: Thu, 31 Dec 2020 08:50:41
Message-Id: 1609404481.508056de72bd95b0aafc6e25c1b55e4ca2beeb38.mgorny@gentoo
1 commit: 508056de72bd95b0aafc6e25c1b55e4ca2beeb38
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 31 08:48:01 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 31 08:48:01 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=508056de
7
8 dev-python/xmlschema: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/xmlschema/Manifest | 2 --
13 .../files/xmlschema-1.2.5-skip_network_tests.patch | 10 ------
14 dev-python/xmlschema/xmlschema-1.2.5.ebuild | 36 ----------------------
15 dev-python/xmlschema/xmlschema-1.4.0.ebuild | 31 -------------------
16 4 files changed, 79 deletions(-)
17
18 diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest
19 index 21cf8f1376f..b8f6dcff10b 100644
20 --- a/dev-python/xmlschema/Manifest
21 +++ b/dev-python/xmlschema/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST xmlschema-1.2.5.tar.gz 290750 BLAKE2B b6fb6722f1f9468cbae6507522c4398a7d0aff11918479b8e89e24986df2ad1ae4fe8640c5fe532319c6e7dbdb958d81df8cf81f1ceb18db09c406fc6a137219 SHA512 f821f041b7be483039746d7c7771117d4cac6189dd02a0f95235ea6597300dead39813b1ede9b6871fad93e50aa55f01f7da4e485c7074f66d78a76f1b57e7cf
24 DIST xmlschema-1.3.1.tar.gz 318853 BLAKE2B 1f2f960c5dad0c82a7ca0345bca052560d39f07b3fff9f443ec5d206a2ec92743462be2209e69a9330f432dbeb7e5908dae4168f7815cf64c141047876844453 SHA512 3bd2ba3004c1a397aff1c81c1105a603dd219f9c2c4afd0742aea3d7263dd0c50adbc05f4ccf96ad0a0f8bd5c116002152eba8194619e6bb636ef46111e6a2a4
25 -DIST xmlschema-1.4.0.tar.gz 329087 BLAKE2B d41d66ee2f572d382aeac45369774caeb216aed8fdd679efa3fdc45ae81d4858e9c63cd17355b46f7378d0754a0307cc66d0f256c689a322a76d561b8c5d42f1 SHA512 572d317f92e6b881f8b95ae3fd6f663c947ff7f48d21f34e356b7fab91b167fe7557cd06bae9907804be95cdeaa7916418e8a4ea184aeae761e60cfb6016c2d1
26 DIST xmlschema-1.4.1.tar.gz 329488 BLAKE2B 80125c6867facb8f94574f4aa210239057f6c8429ff52daac047457eaf6c836b051ccf8e0dec751c1bc57e4de7343781849fe88290117b8546ecd9b8ee99859a SHA512 935e4bffa5361e87fe0656c04b79fe50213098db86e18de38d82d9c04e45557b7ce9468379644c202ab25bdbd6f430bf85a639c3aa7636833d4bbe8533738e82
27
28 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
29 deleted file mode 100644
30 index 4dee9a4ef10..00000000000
31 --- a/dev-python/xmlschema/files/xmlschema-1.2.5-skip_network_tests.patch
32 +++ /dev/null
33 @@ -1,10 +0,0 @@
34 ---- xmlschema-1.2.5/tests/validators/test_schema_class.py
35 -+++ xmlschema-1.2.5/tests/validators/test_schema_class.py
36 -@@ -261,6 +261,7 @@ class TestXMLSchema10(XsdValidatorTestCa
37 -
38 - self.assertFalse(os.path.isdir(dirname))
39 -
40 -+ @unittest.skipIf(SKIP_REMOTE_TESTS, "Remote networks are not accessible.")
41 - def test_export_remote__issue_187(self):
42 - vh_schema_file = self.casepath('issues/issue_187/issue_187_2.xsd')
43 - vh_schema = self.schema_class(vh_schema_file)
44
45 diff --git a/dev-python/xmlschema/xmlschema-1.2.5.ebuild b/dev-python/xmlschema/xmlschema-1.2.5.ebuild
46 deleted file mode 100644
47 index 65ccfa46c57..00000000000
48 --- a/dev-python/xmlschema/xmlschema-1.2.5.ebuild
49 +++ /dev/null
50 @@ -1,36 +0,0 @@
51 -# Copyright 2019-2020 Gentoo Authors
52 -# Distributed under the terms of the GNU General Public License v2
53 -
54 -EAPI=7
55 -
56 -DISTUTILS_USE_SETUPTOOLS=rdepend
57 -PYTHON_COMPAT=( python3_{6..9} pypy3 )
58 -
59 -inherit distutils-r1
60 -
61 -DESCRIPTION="An XML Schema validator and decoder"
62 -HOMEPAGE="https://github.com/sissaschool/xmlschema https://pypi.org/project/xmlschema/"
63 -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
64 -
65 -LICENSE="MIT"
66 -SLOT="0"
67 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
68 -IUSE="test"
69 -RESTRICT="!test? ( test )"
70 -
71 -RDEPEND="
72 - >=dev-python/elementpath-2.0.2[${PYTHON_USEDEP}]"
73 -BDEPEND="${RDEPEND}
74 - test? (
75 - dev-python/lxml[${PYTHON_USEDEP}]
76 - )"
77 -
78 -# patch from https://github.com/sissaschool/xmlschema/issues/206
79 -PATCHES=(
80 - "${FILESDIR}/${P}-skip_network_tests.patch"
81 -)
82 -
83 -python_test() {
84 - "${EPYTHON}" tests/test_all.py -v ||
85 - die "Tests fail with ${EPYTHON}"
86 -}
87
88 diff --git a/dev-python/xmlschema/xmlschema-1.4.0.ebuild b/dev-python/xmlschema/xmlschema-1.4.0.ebuild
89 deleted file mode 100644
90 index 008edc769d9..00000000000
91 --- a/dev-python/xmlschema/xmlschema-1.4.0.ebuild
92 +++ /dev/null
93 @@ -1,31 +0,0 @@
94 -# Copyright 2019-2020 Gentoo Authors
95 -# Distributed under the terms of the GNU General Public License v2
96 -
97 -EAPI=7
98 -
99 -DISTUTILS_USE_SETUPTOOLS=rdepend
100 -PYTHON_COMPAT=( python3_{6..9} pypy3 )
101 -
102 -inherit distutils-r1
103 -
104 -DESCRIPTION="An XML Schema validator and decoder"
105 -HOMEPAGE="https://github.com/sissaschool/xmlschema https://pypi.org/project/xmlschema/"
106 -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
107 -
108 -LICENSE="MIT"
109 -SLOT="0"
110 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
111 -IUSE="test"
112 -RESTRICT="!test? ( test )"
113 -
114 -RDEPEND="
115 - >=dev-python/elementpath-2.0.2[${PYTHON_USEDEP}]"
116 -BDEPEND="${RDEPEND}
117 - test? (
118 - dev-python/lxml[${PYTHON_USEDEP}]
119 - )"
120 -
121 -python_test() {
122 - "${EPYTHON}" tests/test_all.py -v ||
123 - die "Tests fail with ${EPYTHON}"
124 -}