1 |
commit: 4c288a36ea24c5809dcf50725c5d1ce5c099cd29 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 18 08:10:58 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 18 08:13:26 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c288a36 |
7 |
|
8 |
dev-python/setuptools: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/setuptools/Manifest | 8 --- |
13 |
.../files/setuptools-42.0.0-imp-fix.patch | 51 ------------- |
14 |
dev-python/setuptools/setuptools-44.1.0.ebuild | 83 ---------------------- |
15 |
dev-python/setuptools/setuptools-49.1.1.ebuild | 67 ----------------- |
16 |
dev-python/setuptools/setuptools-49.2.0.ebuild | 70 ------------------ |
17 |
dev-python/setuptools/setuptools-49.2.1.ebuild | 70 ------------------ |
18 |
dev-python/setuptools/setuptools-49.3.0.ebuild | 71 ------------------ |
19 |
dev-python/setuptools/setuptools-49.3.1.ebuild | 71 ------------------ |
20 |
dev-python/setuptools/setuptools-49.3.2.ebuild | 71 ------------------ |
21 |
dev-python/setuptools/setuptools-49.4.0.ebuild | 71 ------------------ |
22 |
10 files changed, 633 deletions(-) |
23 |
|
24 |
diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest |
25 |
index 186d7ec1f0d..ae116aa5a27 100644 |
26 |
--- a/dev-python/setuptools/Manifest |
27 |
+++ b/dev-python/setuptools/Manifest |
28 |
@@ -1,10 +1,2 @@ |
29 |
-DIST setuptools-44.1.0.zip 858569 BLAKE2B f59f154e121502a731e51294ccd293d60ffccadacf51e23b53bf7ceba38858948b86783238061136c827ac3373ea7ea8e6253d4bb53f3f1dd69284568ec65a68 SHA512 4dfb0f42d334b835758e865a26ecd1e725711fa2b9c38ddc273b8b3849fba04527bc97436d11ba1e98f1a42922aa0f0b9032e32998273c705fac6e10735eacbf |
30 |
DIST setuptools-46.4.0.zip 865912 BLAKE2B 452d36132f5648c79c7e1616a93ff6a39ab2f64b2864ee397b4f57e7f72c47d418ff274f5decd35b0591b09800ad2a7cbd71c283550bd0e60a4d85744a57d4ec SHA512 31e58fd1d682089a45d23aa07c3c2c4c952ca016fa4c3416b2cba979d8b57369f80baef98ce857912e506e87d6cb456497a1ce1c75a0cdf1ee25d4e753b58726 |
31 |
-DIST setuptools-49.1.1.zip 2173825 BLAKE2B 44a23a2bb8613b2dcf2368997c7d89ffbd957d7004c1872bbb64631955e5e8ed2f14a49d16fff4c384c42d56b486eb2ee07f2a3e3e72add97502f39309a17fee SHA512 d33c291edb64d015530e3bd66666a612539896018c5f6b6eff65719339ec75967c4f6200be36a60955f885ebc4cb86f9acd5f52d8fd2e1fb1e4919488a986603 |
32 |
-DIST setuptools-49.2.0.zip 2174648 BLAKE2B 03d4d2f4df5e20a39bdf8940610e0e0ad02566bc594ba90f58f476a90882dff32f1126eb02a797027d126e45f0e3092d848214e4d28292850b5042a23cdfe6ea SHA512 72de34b2000fba981eb186b612a6b7ccec920c480966ebec4e178dc024db5628aeefde778c1bbd7dae9d38ae86aa9384a1b7d86f9c358429742daeba72ba9850 |
33 |
-DIST setuptools-49.2.1.zip 2173295 BLAKE2B c80cb7bc0e278e38cdaa87f32684476f1e72b69171213ef6019631011d735de62149635471a87791ffb665afdef0a3b70b57b4275cc4ff6bff8cc3c488229931 SHA512 daa4096d079eef9b234c854ae404a2b0f6f3034008f4c3119b0412adc1cbbbff936c518c8e3aeadaed67426ad83bb651681d63352520910833c5b919147f0fb6 |
34 |
-DIST setuptools-49.3.0.zip 2175616 BLAKE2B bc46992660adbf5aeafa0c3e93c9fa598c6ec61ed379fe07f97d43b77274ce27829bfaac6e706cb943e5e7a5a8e5e2b09551178c04e20af86fa8732d809753be SHA512 954b192b1d3a9deb8b8c9fb7d834d139a630d1951585f7ce9747c65b191c0bbd4747c8840b6297eb20a3755207333e9d921bca5b303ed8de757ddd28fd0b5e07 |
35 |
-DIST setuptools-49.3.1.zip 2175721 BLAKE2B 825fd23e504f2fc4d70c55435862e1080b20ea8d1d279b0d8934c12b9d793665161c07a43770fa2ad92dec7d405b04091d752f09bc2416e7239425dfc2f7e666 SHA512 57c3e31540b89c1356cc23a59c2c158b44a55a45ebc9c087a3a977af59ea387bb38baf54fd3b14ea23033715870a86b965c1828203f3df8b6cdad19fb4ea9249 |
36 |
-DIST setuptools-49.3.2.zip 2175821 BLAKE2B d7160869528bc50085646b7c27e153e406ee0d98e2e5bba1241ea8ca6e07248651b5d54ee2e5cf040858533c1fec6f4b6ffb77ad3f130fd12611ce6280c9adbb SHA512 4474b23a4f62fe5ac9f0b66a639be02da84c8abf22ad86f6436c02c82019f89a2ca14e8f8cbe9dd0932cfb32287a196d0a4735d709b301764bdb8b3d9da42c45 |
37 |
-DIST setuptools-49.4.0.zip 2188110 BLAKE2B 7b31969425ba1200f390428eedef8e2406ec1d209ffefde0b090f0c0137871544623295e01a3b8c672222fca82def36fe638ea70571280ec0932bc9e631d83f8 SHA512 1abe2bc006e7212a6cdbd18fa4aafe1063855e2c39c837649b4ec07226a4bc0d870fa1d0e89660d0b61f793dec5f1c3e8984ff47ad4b39391c83868cb59556c5 |
38 |
DIST setuptools-49.6.0.zip 2188590 BLAKE2B b789386d31c0d5cbc0c899d24e9af35baad371b698b488ed46b768e8831bae7245b391971e1e402799bc555475c1d8b78bd59a224c26bc78ba68b122a06e0154 SHA512 aad6e74b0e276da0f79c9429860a6d1c7860a30e9a02ce55527abbe7671366640423a1e5476da9ecadfc62ae1bf803cb0c664e2a09cf7619a9c8ac3965b9cf31 |
39 |
|
40 |
diff --git a/dev-python/setuptools/files/setuptools-42.0.0-imp-fix.patch b/dev-python/setuptools/files/setuptools-42.0.0-imp-fix.patch |
41 |
deleted file mode 100644 |
42 |
index 5c96016c92c..00000000000 |
43 |
--- a/dev-python/setuptools/files/setuptools-42.0.0-imp-fix.patch |
44 |
+++ /dev/null |
45 |
@@ -1,51 +0,0 @@ |
46 |
-From bbf825eee764cae0bc44077ccc957a733d53d095 Mon Sep 17 00:00:00 2001 |
47 |
-From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= |
48 |
- <mimi1vx@××××××××××××××××××××.com> |
49 |
-Date: Fri, 15 Nov 2019 08:52:35 +0100 |
50 |
-Subject: [PATCH] Fix _imp module behaviour if is defined paths in find_spec |
51 |
- call |
52 |
- |
53 |
-fixes #1896 |
54 |
---- |
55 |
- setuptools/_imp.py | 15 ++++++++++++--- |
56 |
- 1 file changed, 12 insertions(+), 3 deletions(-) |
57 |
- |
58 |
-diff --git a/setuptools/_imp.py b/setuptools/_imp.py |
59 |
-index a3cce9b28..6ccec5799 100644 |
60 |
---- a/setuptools/_imp.py |
61 |
-+++ b/setuptools/_imp.py |
62 |
-@@ -19,7 +19,10 @@ |
63 |
- |
64 |
- def find_module(module, paths=None): |
65 |
- """Just like 'imp.find_module()', but with package support""" |
66 |
-- spec = importlib.util.find_spec(module, paths) |
67 |
-+ if isinstance(paths, list): |
68 |
-+ spec = importlib.machinery.PathFinder().find_spec(module, paths) |
69 |
-+ else: |
70 |
-+ spec = importlib.util.find_spec(module, paths) |
71 |
- if spec is None: |
72 |
- raise ImportError("Can't find %s" % module) |
73 |
- if not spec.has_location and hasattr(spec, 'submodule_search_locations'): |
74 |
-@@ -60,14 +63,20 @@ def find_module(module, paths=None): |
75 |
- |
76 |
- |
77 |
- def get_frozen_object(module, paths=None): |
78 |
-- spec = importlib.util.find_spec(module, paths) |
79 |
-+ if isinstance(paths, list): |
80 |
-+ spec = importlib.machinery.PathFinder().find_spec(module, paths) |
81 |
-+ else: |
82 |
-+ spec = importlib.util.find_spec(module, paths) |
83 |
- if not spec: |
84 |
- raise ImportError("Can't find %s" % module) |
85 |
- return spec.loader.get_code(module) |
86 |
- |
87 |
- |
88 |
- def get_module(module, paths, info): |
89 |
-- spec = importlib.util.find_spec(module, paths) |
90 |
-+ if isinstance(paths, list): |
91 |
-+ spec = importlib.machinery.PathFinder().find_spec(module, paths) |
92 |
-+ else: |
93 |
-+ spec = importlib.util.find_spec(module, paths) |
94 |
- if not spec: |
95 |
- raise ImportError("Can't find %s" % module) |
96 |
- return module_from_spec(spec) |
97 |
|
98 |
diff --git a/dev-python/setuptools/setuptools-44.1.0.ebuild b/dev-python/setuptools/setuptools-44.1.0.ebuild |
99 |
deleted file mode 100644 |
100 |
index 9e87131b2a1..00000000000 |
101 |
--- a/dev-python/setuptools/setuptools-44.1.0.ebuild |
102 |
+++ /dev/null |
103 |
@@ -1,83 +0,0 @@ |
104 |
-# Copyright 1999-2020 Gentoo Authors |
105 |
-# Distributed under the terms of the GNU General Public License v2 |
106 |
- |
107 |
-EAPI=7 |
108 |
-DISTUTILS_USE_SETUPTOOLS=no |
109 |
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) |
110 |
-PYTHON_REQ_USE="xml(+)" |
111 |
- |
112 |
-inherit distutils-r1 |
113 |
- |
114 |
-if [[ ${PV} == "9999" ]]; then |
115 |
- EGIT_REPO_URI="https://github.com/pypa/setuptools.git" |
116 |
- inherit git-r3 |
117 |
-else |
118 |
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
119 |
- KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
120 |
-fi |
121 |
- |
122 |
-DESCRIPTION="Collection of extensions to Distutils" |
123 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
124 |
- |
125 |
-LICENSE="MIT" |
126 |
-SLOT="0" |
127 |
-IUSE="test" |
128 |
-RESTRICT="!test? ( test )" |
129 |
- |
130 |
-BDEPEND=" |
131 |
- app-arch/unzip |
132 |
- test? ( |
133 |
- $(python_gen_cond_dep ' |
134 |
- dev-python/mock[${PYTHON_USEDEP}] |
135 |
- dev-python/pip[${PYTHON_USEDEP}] |
136 |
- >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] |
137 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
138 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
139 |
- dev-python/wheel[${PYTHON_USEDEP}] |
140 |
- ' -3) |
141 |
- ) |
142 |
-" |
143 |
-PDEPEND=" |
144 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
145 |
- |
146 |
-# Force in-source build because build system modifies sources. |
147 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
148 |
- |
149 |
-DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
150 |
- |
151 |
-PATCHES=( |
152 |
- # fix regression introduced by reinventing deprecated 'imp' |
153 |
- # https://github.com/pypa/setuptools/pull/1905 |
154 |
- "${FILESDIR}"/setuptools-42.0.0-imp-fix.patch |
155 |
-) |
156 |
- |
157 |
-python_prepare_all() { |
158 |
- if [[ ${PV} == "9999" ]]; then |
159 |
- python_setup |
160 |
- ${EPYTHON} bootstrap.py || die |
161 |
- fi |
162 |
- |
163 |
- # disable tests requiring a network connection |
164 |
- rm setuptools/tests/test_packageindex.py || die |
165 |
- |
166 |
- # don't run integration tests |
167 |
- rm setuptools/tests/test_integration.py || die |
168 |
- |
169 |
- distutils-r1_python_prepare_all |
170 |
-} |
171 |
- |
172 |
-python_test() { |
173 |
- if ! python_is_python3; then |
174 |
- einfo "Tests are skipped on py2 to untangle deps" |
175 |
- return |
176 |
- fi |
177 |
- |
178 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
179 |
- # It tries to sandbox the test in a tempdir |
180 |
- HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}" |
181 |
-} |
182 |
- |
183 |
-python_install() { |
184 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
185 |
- distutils-r1_python_install |
186 |
-} |
187 |
|
188 |
diff --git a/dev-python/setuptools/setuptools-49.1.1.ebuild b/dev-python/setuptools/setuptools-49.1.1.ebuild |
189 |
deleted file mode 100644 |
190 |
index 3f1c94d2fb6..00000000000 |
191 |
--- a/dev-python/setuptools/setuptools-49.1.1.ebuild |
192 |
+++ /dev/null |
193 |
@@ -1,67 +0,0 @@ |
194 |
-# Copyright 1999-2020 Gentoo Authors |
195 |
-# Distributed under the terms of the GNU General Public License v2 |
196 |
- |
197 |
-EAPI=7 |
198 |
-DISTUTILS_USE_SETUPTOOLS=no |
199 |
-PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) |
200 |
-PYTHON_REQ_USE="xml(+)" |
201 |
- |
202 |
-inherit distutils-r1 |
203 |
- |
204 |
-DESCRIPTION="Collection of extensions to Distutils" |
205 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
206 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
207 |
- |
208 |
-LICENSE="MIT" |
209 |
-SLOT="0" |
210 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
211 |
-IUSE="test" |
212 |
-RESTRICT="!test? ( test )" |
213 |
- |
214 |
-BDEPEND=" |
215 |
- app-arch/unzip |
216 |
- test? ( |
217 |
- dev-python/mock[${PYTHON_USEDEP}] |
218 |
- dev-python/pip[${PYTHON_USEDEP}] |
219 |
- >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] |
220 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
221 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
222 |
- dev-python/wheel[${PYTHON_USEDEP}] |
223 |
- ) |
224 |
-" |
225 |
-PDEPEND=" |
226 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
227 |
- |
228 |
-# Force in-source build because build system modifies sources. |
229 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
230 |
- |
231 |
-DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
232 |
- |
233 |
-python_prepare_all() { |
234 |
- # disable tests requiring a network connection |
235 |
- rm setuptools/tests/test_packageindex.py || die |
236 |
- |
237 |
- # don't run integration tests |
238 |
- rm setuptools/tests/test_integration.py || die |
239 |
- |
240 |
- # xpass-es for me on py3 |
241 |
- #sed -e '/xfail.*710/s:(:(six.PY2, :' \ |
242 |
- # -i setuptools/tests/test_archive_util.py || die |
243 |
- |
244 |
- # avoid pointless dep on flake8 |
245 |
- sed -i -e 's:--flake8::' -e 's:--cov::' pytest.ini || die |
246 |
- |
247 |
- distutils-r1_python_prepare_all |
248 |
-} |
249 |
- |
250 |
-python_test() { |
251 |
- distutils_install_for_testing |
252 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
253 |
- # It tries to sandbox the test in a tempdir |
254 |
- HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}" |
255 |
-} |
256 |
- |
257 |
-python_install() { |
258 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
259 |
- distutils-r1_python_install |
260 |
-} |
261 |
|
262 |
diff --git a/dev-python/setuptools/setuptools-49.2.0.ebuild b/dev-python/setuptools/setuptools-49.2.0.ebuild |
263 |
deleted file mode 100644 |
264 |
index 05a423b05f0..00000000000 |
265 |
--- a/dev-python/setuptools/setuptools-49.2.0.ebuild |
266 |
+++ /dev/null |
267 |
@@ -1,70 +0,0 @@ |
268 |
-# Copyright 1999-2020 Gentoo Authors |
269 |
-# Distributed under the terms of the GNU General Public License v2 |
270 |
- |
271 |
-EAPI=7 |
272 |
-DISTUTILS_USE_SETUPTOOLS=no |
273 |
-PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) |
274 |
-PYTHON_REQ_USE="xml(+)" |
275 |
- |
276 |
-inherit distutils-r1 |
277 |
- |
278 |
-DESCRIPTION="Collection of extensions to Distutils" |
279 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
280 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
281 |
- |
282 |
-LICENSE="MIT" |
283 |
-SLOT="0" |
284 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
285 |
-IUSE="test" |
286 |
-RESTRICT="!test? ( test )" |
287 |
- |
288 |
-BDEPEND=" |
289 |
- app-arch/unzip |
290 |
- test? ( |
291 |
- dev-python/mock[${PYTHON_USEDEP}] |
292 |
- dev-python/pip[${PYTHON_USEDEP}] |
293 |
- >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] |
294 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
295 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
296 |
- dev-python/wheel[${PYTHON_USEDEP}] |
297 |
- ) |
298 |
-" |
299 |
-PDEPEND=" |
300 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
301 |
- |
302 |
-# Force in-source build because build system modifies sources. |
303 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
304 |
- |
305 |
-DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
306 |
- |
307 |
-python_prepare_all() { |
308 |
- # disable tests requiring a network connection |
309 |
- rm setuptools/tests/test_packageindex.py || die |
310 |
- |
311 |
- # don't run integration tests |
312 |
- rm setuptools/tests/test_integration.py || die |
313 |
- |
314 |
- # xpass-es for me on py3 |
315 |
- #sed -e '/xfail.*710/s:(:(six.PY2, :' \ |
316 |
- # -i setuptools/tests/test_archive_util.py || die |
317 |
- |
318 |
- # avoid pointless dep on flake8 |
319 |
- sed -i -e 's:--flake8::' -e 's:--cov::' pytest.ini || die |
320 |
- |
321 |
- # disable the code disabling non-existing coverage plugin |
322 |
- sed -i -e 's:cov = .*:return:' conftest.py || die |
323 |
- |
324 |
- distutils-r1_python_prepare_all |
325 |
-} |
326 |
- |
327 |
-python_test() { |
328 |
- distutils_install_for_testing |
329 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
330 |
- # It tries to sandbox the test in a tempdir |
331 |
- HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}" |
332 |
-} |
333 |
- |
334 |
-python_install() { |
335 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
336 |
- distutils-r1_python_install |
337 |
-} |
338 |
|
339 |
diff --git a/dev-python/setuptools/setuptools-49.2.1.ebuild b/dev-python/setuptools/setuptools-49.2.1.ebuild |
340 |
deleted file mode 100644 |
341 |
index 05a423b05f0..00000000000 |
342 |
--- a/dev-python/setuptools/setuptools-49.2.1.ebuild |
343 |
+++ /dev/null |
344 |
@@ -1,70 +0,0 @@ |
345 |
-# Copyright 1999-2020 Gentoo Authors |
346 |
-# Distributed under the terms of the GNU General Public License v2 |
347 |
- |
348 |
-EAPI=7 |
349 |
-DISTUTILS_USE_SETUPTOOLS=no |
350 |
-PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) |
351 |
-PYTHON_REQ_USE="xml(+)" |
352 |
- |
353 |
-inherit distutils-r1 |
354 |
- |
355 |
-DESCRIPTION="Collection of extensions to Distutils" |
356 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
357 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
358 |
- |
359 |
-LICENSE="MIT" |
360 |
-SLOT="0" |
361 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
362 |
-IUSE="test" |
363 |
-RESTRICT="!test? ( test )" |
364 |
- |
365 |
-BDEPEND=" |
366 |
- app-arch/unzip |
367 |
- test? ( |
368 |
- dev-python/mock[${PYTHON_USEDEP}] |
369 |
- dev-python/pip[${PYTHON_USEDEP}] |
370 |
- >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] |
371 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
372 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
373 |
- dev-python/wheel[${PYTHON_USEDEP}] |
374 |
- ) |
375 |
-" |
376 |
-PDEPEND=" |
377 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
378 |
- |
379 |
-# Force in-source build because build system modifies sources. |
380 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
381 |
- |
382 |
-DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
383 |
- |
384 |
-python_prepare_all() { |
385 |
- # disable tests requiring a network connection |
386 |
- rm setuptools/tests/test_packageindex.py || die |
387 |
- |
388 |
- # don't run integration tests |
389 |
- rm setuptools/tests/test_integration.py || die |
390 |
- |
391 |
- # xpass-es for me on py3 |
392 |
- #sed -e '/xfail.*710/s:(:(six.PY2, :' \ |
393 |
- # -i setuptools/tests/test_archive_util.py || die |
394 |
- |
395 |
- # avoid pointless dep on flake8 |
396 |
- sed -i -e 's:--flake8::' -e 's:--cov::' pytest.ini || die |
397 |
- |
398 |
- # disable the code disabling non-existing coverage plugin |
399 |
- sed -i -e 's:cov = .*:return:' conftest.py || die |
400 |
- |
401 |
- distutils-r1_python_prepare_all |
402 |
-} |
403 |
- |
404 |
-python_test() { |
405 |
- distutils_install_for_testing |
406 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
407 |
- # It tries to sandbox the test in a tempdir |
408 |
- HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}" |
409 |
-} |
410 |
- |
411 |
-python_install() { |
412 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
413 |
- distutils-r1_python_install |
414 |
-} |
415 |
|
416 |
diff --git a/dev-python/setuptools/setuptools-49.3.0.ebuild b/dev-python/setuptools/setuptools-49.3.0.ebuild |
417 |
deleted file mode 100644 |
418 |
index 87b98893729..00000000000 |
419 |
--- a/dev-python/setuptools/setuptools-49.3.0.ebuild |
420 |
+++ /dev/null |
421 |
@@ -1,71 +0,0 @@ |
422 |
-# Copyright 1999-2020 Gentoo Authors |
423 |
-# Distributed under the terms of the GNU General Public License v2 |
424 |
- |
425 |
-EAPI=7 |
426 |
-DISTUTILS_USE_SETUPTOOLS=no |
427 |
-PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) |
428 |
-PYTHON_REQ_USE="xml(+)" |
429 |
- |
430 |
-inherit distutils-r1 |
431 |
- |
432 |
-DESCRIPTION="Collection of extensions to Distutils" |
433 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
434 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
435 |
- |
436 |
-LICENSE="MIT" |
437 |
-SLOT="0" |
438 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
439 |
-IUSE="test" |
440 |
-RESTRICT="!test? ( test )" |
441 |
- |
442 |
-BDEPEND=" |
443 |
- app-arch/unzip |
444 |
- test? ( |
445 |
- dev-python/jaraco-envs[${PYTHON_USEDEP}] |
446 |
- dev-python/mock[${PYTHON_USEDEP}] |
447 |
- dev-python/pip[${PYTHON_USEDEP}] |
448 |
- >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] |
449 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
450 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
451 |
- dev-python/wheel[${PYTHON_USEDEP}] |
452 |
- ) |
453 |
-" |
454 |
-PDEPEND=" |
455 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
456 |
- |
457 |
-# Force in-source build because build system modifies sources. |
458 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
459 |
- |
460 |
-DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
461 |
- |
462 |
-python_prepare_all() { |
463 |
- # disable tests requiring a network connection |
464 |
- rm setuptools/tests/test_packageindex.py || die |
465 |
- |
466 |
- # don't run integration tests |
467 |
- rm setuptools/tests/test_integration.py || die |
468 |
- |
469 |
- # xpass-es for me on py3 |
470 |
- #sed -e '/xfail.*710/s:(:(six.PY2, :' \ |
471 |
- # -i setuptools/tests/test_archive_util.py || die |
472 |
- |
473 |
- # avoid pointless dep on flake8 |
474 |
- sed -i -e 's:--flake8::' -e 's:--cov::' pytest.ini || die |
475 |
- |
476 |
- # disable the code disabling non-existing coverage plugin |
477 |
- sed -i -e 's:cov = .*:return:' conftest.py || die |
478 |
- |
479 |
- distutils-r1_python_prepare_all |
480 |
-} |
481 |
- |
482 |
-python_test() { |
483 |
- distutils_install_for_testing |
484 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
485 |
- # It tries to sandbox the test in a tempdir |
486 |
- HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}" |
487 |
-} |
488 |
- |
489 |
-python_install() { |
490 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
491 |
- distutils-r1_python_install |
492 |
-} |
493 |
|
494 |
diff --git a/dev-python/setuptools/setuptools-49.3.1.ebuild b/dev-python/setuptools/setuptools-49.3.1.ebuild |
495 |
deleted file mode 100644 |
496 |
index 87b98893729..00000000000 |
497 |
--- a/dev-python/setuptools/setuptools-49.3.1.ebuild |
498 |
+++ /dev/null |
499 |
@@ -1,71 +0,0 @@ |
500 |
-# Copyright 1999-2020 Gentoo Authors |
501 |
-# Distributed under the terms of the GNU General Public License v2 |
502 |
- |
503 |
-EAPI=7 |
504 |
-DISTUTILS_USE_SETUPTOOLS=no |
505 |
-PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) |
506 |
-PYTHON_REQ_USE="xml(+)" |
507 |
- |
508 |
-inherit distutils-r1 |
509 |
- |
510 |
-DESCRIPTION="Collection of extensions to Distutils" |
511 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
512 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
513 |
- |
514 |
-LICENSE="MIT" |
515 |
-SLOT="0" |
516 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
517 |
-IUSE="test" |
518 |
-RESTRICT="!test? ( test )" |
519 |
- |
520 |
-BDEPEND=" |
521 |
- app-arch/unzip |
522 |
- test? ( |
523 |
- dev-python/jaraco-envs[${PYTHON_USEDEP}] |
524 |
- dev-python/mock[${PYTHON_USEDEP}] |
525 |
- dev-python/pip[${PYTHON_USEDEP}] |
526 |
- >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] |
527 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
528 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
529 |
- dev-python/wheel[${PYTHON_USEDEP}] |
530 |
- ) |
531 |
-" |
532 |
-PDEPEND=" |
533 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
534 |
- |
535 |
-# Force in-source build because build system modifies sources. |
536 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
537 |
- |
538 |
-DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
539 |
- |
540 |
-python_prepare_all() { |
541 |
- # disable tests requiring a network connection |
542 |
- rm setuptools/tests/test_packageindex.py || die |
543 |
- |
544 |
- # don't run integration tests |
545 |
- rm setuptools/tests/test_integration.py || die |
546 |
- |
547 |
- # xpass-es for me on py3 |
548 |
- #sed -e '/xfail.*710/s:(:(six.PY2, :' \ |
549 |
- # -i setuptools/tests/test_archive_util.py || die |
550 |
- |
551 |
- # avoid pointless dep on flake8 |
552 |
- sed -i -e 's:--flake8::' -e 's:--cov::' pytest.ini || die |
553 |
- |
554 |
- # disable the code disabling non-existing coverage plugin |
555 |
- sed -i -e 's:cov = .*:return:' conftest.py || die |
556 |
- |
557 |
- distutils-r1_python_prepare_all |
558 |
-} |
559 |
- |
560 |
-python_test() { |
561 |
- distutils_install_for_testing |
562 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
563 |
- # It tries to sandbox the test in a tempdir |
564 |
- HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}" |
565 |
-} |
566 |
- |
567 |
-python_install() { |
568 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
569 |
- distutils-r1_python_install |
570 |
-} |
571 |
|
572 |
diff --git a/dev-python/setuptools/setuptools-49.3.2.ebuild b/dev-python/setuptools/setuptools-49.3.2.ebuild |
573 |
deleted file mode 100644 |
574 |
index 87b98893729..00000000000 |
575 |
--- a/dev-python/setuptools/setuptools-49.3.2.ebuild |
576 |
+++ /dev/null |
577 |
@@ -1,71 +0,0 @@ |
578 |
-# Copyright 1999-2020 Gentoo Authors |
579 |
-# Distributed under the terms of the GNU General Public License v2 |
580 |
- |
581 |
-EAPI=7 |
582 |
-DISTUTILS_USE_SETUPTOOLS=no |
583 |
-PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) |
584 |
-PYTHON_REQ_USE="xml(+)" |
585 |
- |
586 |
-inherit distutils-r1 |
587 |
- |
588 |
-DESCRIPTION="Collection of extensions to Distutils" |
589 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
590 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
591 |
- |
592 |
-LICENSE="MIT" |
593 |
-SLOT="0" |
594 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
595 |
-IUSE="test" |
596 |
-RESTRICT="!test? ( test )" |
597 |
- |
598 |
-BDEPEND=" |
599 |
- app-arch/unzip |
600 |
- test? ( |
601 |
- dev-python/jaraco-envs[${PYTHON_USEDEP}] |
602 |
- dev-python/mock[${PYTHON_USEDEP}] |
603 |
- dev-python/pip[${PYTHON_USEDEP}] |
604 |
- >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] |
605 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
606 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
607 |
- dev-python/wheel[${PYTHON_USEDEP}] |
608 |
- ) |
609 |
-" |
610 |
-PDEPEND=" |
611 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
612 |
- |
613 |
-# Force in-source build because build system modifies sources. |
614 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
615 |
- |
616 |
-DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
617 |
- |
618 |
-python_prepare_all() { |
619 |
- # disable tests requiring a network connection |
620 |
- rm setuptools/tests/test_packageindex.py || die |
621 |
- |
622 |
- # don't run integration tests |
623 |
- rm setuptools/tests/test_integration.py || die |
624 |
- |
625 |
- # xpass-es for me on py3 |
626 |
- #sed -e '/xfail.*710/s:(:(six.PY2, :' \ |
627 |
- # -i setuptools/tests/test_archive_util.py || die |
628 |
- |
629 |
- # avoid pointless dep on flake8 |
630 |
- sed -i -e 's:--flake8::' -e 's:--cov::' pytest.ini || die |
631 |
- |
632 |
- # disable the code disabling non-existing coverage plugin |
633 |
- sed -i -e 's:cov = .*:return:' conftest.py || die |
634 |
- |
635 |
- distutils-r1_python_prepare_all |
636 |
-} |
637 |
- |
638 |
-python_test() { |
639 |
- distutils_install_for_testing |
640 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
641 |
- # It tries to sandbox the test in a tempdir |
642 |
- HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}" |
643 |
-} |
644 |
- |
645 |
-python_install() { |
646 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
647 |
- distutils-r1_python_install |
648 |
-} |
649 |
|
650 |
diff --git a/dev-python/setuptools/setuptools-49.4.0.ebuild b/dev-python/setuptools/setuptools-49.4.0.ebuild |
651 |
deleted file mode 100644 |
652 |
index 87b98893729..00000000000 |
653 |
--- a/dev-python/setuptools/setuptools-49.4.0.ebuild |
654 |
+++ /dev/null |
655 |
@@ -1,71 +0,0 @@ |
656 |
-# Copyright 1999-2020 Gentoo Authors |
657 |
-# Distributed under the terms of the GNU General Public License v2 |
658 |
- |
659 |
-EAPI=7 |
660 |
-DISTUTILS_USE_SETUPTOOLS=no |
661 |
-PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) |
662 |
-PYTHON_REQ_USE="xml(+)" |
663 |
- |
664 |
-inherit distutils-r1 |
665 |
- |
666 |
-DESCRIPTION="Collection of extensions to Distutils" |
667 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
668 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
669 |
- |
670 |
-LICENSE="MIT" |
671 |
-SLOT="0" |
672 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
673 |
-IUSE="test" |
674 |
-RESTRICT="!test? ( test )" |
675 |
- |
676 |
-BDEPEND=" |
677 |
- app-arch/unzip |
678 |
- test? ( |
679 |
- dev-python/jaraco-envs[${PYTHON_USEDEP}] |
680 |
- dev-python/mock[${PYTHON_USEDEP}] |
681 |
- dev-python/pip[${PYTHON_USEDEP}] |
682 |
- >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] |
683 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
684 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
685 |
- dev-python/wheel[${PYTHON_USEDEP}] |
686 |
- ) |
687 |
-" |
688 |
-PDEPEND=" |
689 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
690 |
- |
691 |
-# Force in-source build because build system modifies sources. |
692 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
693 |
- |
694 |
-DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
695 |
- |
696 |
-python_prepare_all() { |
697 |
- # disable tests requiring a network connection |
698 |
- rm setuptools/tests/test_packageindex.py || die |
699 |
- |
700 |
- # don't run integration tests |
701 |
- rm setuptools/tests/test_integration.py || die |
702 |
- |
703 |
- # xpass-es for me on py3 |
704 |
- #sed -e '/xfail.*710/s:(:(six.PY2, :' \ |
705 |
- # -i setuptools/tests/test_archive_util.py || die |
706 |
- |
707 |
- # avoid pointless dep on flake8 |
708 |
- sed -i -e 's:--flake8::' -e 's:--cov::' pytest.ini || die |
709 |
- |
710 |
- # disable the code disabling non-existing coverage plugin |
711 |
- sed -i -e 's:cov = .*:return:' conftest.py || die |
712 |
- |
713 |
- distutils-r1_python_prepare_all |
714 |
-} |
715 |
- |
716 |
-python_test() { |
717 |
- distutils_install_for_testing |
718 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
719 |
- # It tries to sandbox the test in a tempdir |
720 |
- HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}" |
721 |
-} |
722 |
- |
723 |
-python_install() { |
724 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
725 |
- distutils-r1_python_install |
726 |
-} |