1 |
commit: b1cb46ebffc7cc6616e37091702a06ad2fe5df98 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 24 08:37:37 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 24 09:05:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1cb46eb |
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 | 5 -- |
13 |
dev-python/setuptools/setuptools-60.0.0.ebuild | 87 ------------------------- |
14 |
dev-python/setuptools/setuptools-60.0.2.ebuild | 87 ------------------------- |
15 |
dev-python/setuptools/setuptools-60.0.3.ebuild | 89 -------------------------- |
16 |
dev-python/setuptools/setuptools-60.0.4.ebuild | 89 -------------------------- |
17 |
dev-python/setuptools/setuptools-60.0.5.ebuild | 89 -------------------------- |
18 |
6 files changed, 446 deletions(-) |
19 |
|
20 |
diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest |
21 |
index 662df4ccac8a..7528c397b80c 100644 |
22 |
--- a/dev-python/setuptools/Manifest |
23 |
+++ b/dev-python/setuptools/Manifest |
24 |
@@ -6,9 +6,4 @@ DIST setuptools-59.4.0.tar.gz 2281497 BLAKE2B 8267d6d4c373f44659b22155848fe064c7 |
25 |
DIST setuptools-59.5.0.tar.gz 2281671 BLAKE2B 51b3435a1d7962a06f7cf07c31487a1404274a54a1fae0567c3953686cbf3b3160327a56c599e80ce70fe8f56dc817fc76d0e4371d3622b5c6235b0fdc555980 SHA512 2ad0aa7c05d9664d0bdc17d93ba518903f14f0e8fe568bcc4615f8a651e3e35843d2747200e20a796f250f1bcebfa057c94b7942875aa1badd770ca12e847c32 |
26 |
DIST setuptools-59.6.0.tar.gz 2281973 BLAKE2B 1e7ffc94626684f7e82a1bbba14889af052898f87f79205618fb76d78252397d3fb555778cb3920d2eed55bc1ee2c95ceec9206940269a4ba35b3bc44eb91226 SHA512 25472ec7c167e07113c6645880952458969b146766b64224ec8f40dfc2a29b23e47104b63e806292ec81ee4e9dbbdc4663228f39b4412b586cba644f69b52309 |
27 |
DIST setuptools-59.8.0.tar.gz 2282358 BLAKE2B 2f1b49285fc70420e24f958c4955200ef0407a7f3aa52fd581a165fd47c7bbde8366c26963f1bbb36f0f77797c12cbb9016fdc69e1a5cc696bb67aacca16d140 SHA512 d906558b498bda8abf28831224502c6f0290a4cdbf087fe07af8321dba3dfd1e19fa5b4a820033e54c4561b82ea8ec54c287b4fd657892ed28c2a7de91a9107e |
28 |
-DIST setuptools-60.0.0.tar.gz 2282339 BLAKE2B ad9a78df348c71d4374ccd773495cc3bfd6d02c214a327eece5daea06538c6a7a55975b22175afb6e67692a0945a7d48cd7b317040c7b5c4878a030505d5dbb1 SHA512 088c3dc38485ca16441d38e3404bce7d822f3ef8e48588101e9e93209905d8b1e1676de1131e2fd993a95caed0fcb3681386fbb7b679712ad0632cdbbcc04f51 |
29 |
-DIST setuptools-60.0.2.tar.gz 2284789 BLAKE2B b3763673e65ae7e6e7d8d2e7bb5d4b72e348a873496d5d0ffdb85daa2a65280fdd71be411132ee92717fd5f3437e10c36d244b0389d0a845b8f1ecd6f2094514 SHA512 1323c5993fcb1d8f23c6fc88d217af59d08d0130d06e84d38f0ac5ed6e3bf6d5595027a8f9430f3441d9a065686562d79b413ed32771276410a31f3addcde116 |
30 |
-DIST setuptools-60.0.3.tar.gz 2284909 BLAKE2B 39fab878aa5d9ae4712088a96548cf3312070c6bca59d6fb22642bc5fb9919acf1ad151c63f812a5bdddffdb657fff9631330d93685e9a54e569daaa5b3f2760 SHA512 3020182f30f85eef07952085aed90db42e205abe754eb130327651edd3fdb7fcca52b0654d6c7bc69e5b33920549675f2325bebdc4c71425e212275f49572a10 |
31 |
-DIST setuptools-60.0.4.tar.gz 2282600 BLAKE2B bc2e9c38f9646babce1144cfc1751c034fa2783149ad47c8365a4a2e56b4176b6f0e7a44d1cb5567c34b792cb85b52a7553be09eee34d8f079e67f0a09fb54a6 SHA512 f3dae0e4ac9553a35864978db24041f26b7ea05ba07a7f791a30d3910b23d50eb44b75b9f06f1644c0409344aff153b09417b520957d01bccf6413cdaecf9ced |
32 |
-DIST setuptools-60.0.5.tar.gz 2285236 BLAKE2B 75255465933957e5e8a6cab84d27c0bbab506c70db80c4bfad5d81c61f5ef331fd3d0eec7769cc7da35f670f120d571d455dab40abbaf88e95cec83349a97e6f SHA512 0a92953b9650a06b30b1c3dc8e24ea462ccdd78b177ce0f372dc62cf8395d3df2e25b53d74d174b86e1b44e7ee1dc1852ab6c49d9f78972acd551b692fcc4b49 |
33 |
DIST setuptools-60.1.0.tar.gz 2281751 BLAKE2B d6302564ccb841232561c479959d2ed412888b49c07f774f194214ded659d7d45c5328570318ded9ff7eb81fc08e20b8be576f7a38099cfb855833955bbdb3a6 SHA512 9dba9022be345f5e0c9a915cfd8a24b441e813e703c817f40cd36236d1de1af8a5227acd886ca5910f1900e0c6ed5836f181117c11486009588a9777d6855032 |
34 |
|
35 |
diff --git a/dev-python/setuptools/setuptools-60.0.0.ebuild b/dev-python/setuptools/setuptools-60.0.0.ebuild |
36 |
deleted file mode 100644 |
37 |
index 8575f622e7c5..000000000000 |
38 |
--- a/dev-python/setuptools/setuptools-60.0.0.ebuild |
39 |
+++ /dev/null |
40 |
@@ -1,87 +0,0 @@ |
41 |
-# Copyright 1999-2021 Gentoo Authors |
42 |
-# Distributed under the terms of the GNU General Public License v2 |
43 |
- |
44 |
-# please keep this ebuild at EAPI 7 -- sys-apps/portage dep |
45 |
-EAPI=7 |
46 |
- |
47 |
-# Set to 'manual' to avoid triggering install QA check |
48 |
-DISTUTILS_USE_SETUPTOOLS=manual |
49 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
50 |
-PYTHON_REQ_USE="xml(+)" |
51 |
- |
52 |
-inherit distutils-r1 multiprocessing |
53 |
- |
54 |
-CPY_PATCHSET="python-gentoo-patches-3.10.0_p1" |
55 |
-DESCRIPTION="Collection of extensions to Distutils" |
56 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
57 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz |
58 |
- https://dev.gentoo.org/~floppym/python/${CPY_PATCHSET}.tar.xz" |
59 |
- |
60 |
-LICENSE="MIT" |
61 |
-SLOT="0" |
62 |
-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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
63 |
-IUSE="test" |
64 |
-RESTRICT="!test? ( test )" |
65 |
- |
66 |
-BDEPEND=" |
67 |
- test? ( |
68 |
- $(python_gen_cond_dep ' |
69 |
- dev-python/jaraco-envs[${PYTHON_USEDEP}] |
70 |
- >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] |
71 |
- dev-python/mock[${PYTHON_USEDEP}] |
72 |
- dev-python/pip[${PYTHON_USEDEP}] |
73 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
74 |
- dev-python/pytest[${PYTHON_USEDEP}] |
75 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
76 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
77 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
78 |
- >=dev-python/virtualenv-20[${PYTHON_USEDEP}] |
79 |
- dev-python/wheel[${PYTHON_USEDEP}] |
80 |
- ' python3_{8..10} pypy3) |
81 |
- ) |
82 |
-" |
83 |
-PDEPEND=" |
84 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] |
85 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}]" |
86 |
- |
87 |
-# Force in-source build because build system modifies sources. |
88 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
89 |
- |
90 |
-DOCS=( {CHANGES,README}.rst ) |
91 |
- |
92 |
-src_prepare() { |
93 |
- # apply distutils patches to the bundled distutils |
94 |
- pushd setuptools/_distutils >/dev/null || die |
95 |
- # TODO: distutils C++ patch? |
96 |
- eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch" |
97 |
- popd >/dev/null || die |
98 |
- |
99 |
- distutils-r1_src_prepare |
100 |
-} |
101 |
- |
102 |
-python_test() { |
103 |
- # keep in sync with python_gen_cond_dep above! |
104 |
- has "${EPYTHON}" python3.{8..10} pypy3 || continue |
105 |
- |
106 |
- distutils_install_for_testing |
107 |
- local EPYTEST_DESELECT=( |
108 |
- # network |
109 |
- setuptools/tests/test_distutils_adoption.py |
110 |
- 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]' |
111 |
- # unhappy with pytest-xdist? |
112 |
- setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index |
113 |
- # TODO |
114 |
- setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts |
115 |
- setuptools/tests/test_test.py::test_tests_are_run_once |
116 |
- ) |
117 |
- |
118 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
119 |
- # It tries to sandbox the test in a tempdir |
120 |
- HOME="${PWD}" epytest \ |
121 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools |
122 |
-} |
123 |
- |
124 |
-python_install() { |
125 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
126 |
- distutils-r1_python_install |
127 |
-} |
128 |
|
129 |
diff --git a/dev-python/setuptools/setuptools-60.0.2.ebuild b/dev-python/setuptools/setuptools-60.0.2.ebuild |
130 |
deleted file mode 100644 |
131 |
index 8575f622e7c5..000000000000 |
132 |
--- a/dev-python/setuptools/setuptools-60.0.2.ebuild |
133 |
+++ /dev/null |
134 |
@@ -1,87 +0,0 @@ |
135 |
-# Copyright 1999-2021 Gentoo Authors |
136 |
-# Distributed under the terms of the GNU General Public License v2 |
137 |
- |
138 |
-# please keep this ebuild at EAPI 7 -- sys-apps/portage dep |
139 |
-EAPI=7 |
140 |
- |
141 |
-# Set to 'manual' to avoid triggering install QA check |
142 |
-DISTUTILS_USE_SETUPTOOLS=manual |
143 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
144 |
-PYTHON_REQ_USE="xml(+)" |
145 |
- |
146 |
-inherit distutils-r1 multiprocessing |
147 |
- |
148 |
-CPY_PATCHSET="python-gentoo-patches-3.10.0_p1" |
149 |
-DESCRIPTION="Collection of extensions to Distutils" |
150 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
151 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz |
152 |
- https://dev.gentoo.org/~floppym/python/${CPY_PATCHSET}.tar.xz" |
153 |
- |
154 |
-LICENSE="MIT" |
155 |
-SLOT="0" |
156 |
-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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
157 |
-IUSE="test" |
158 |
-RESTRICT="!test? ( test )" |
159 |
- |
160 |
-BDEPEND=" |
161 |
- test? ( |
162 |
- $(python_gen_cond_dep ' |
163 |
- dev-python/jaraco-envs[${PYTHON_USEDEP}] |
164 |
- >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] |
165 |
- dev-python/mock[${PYTHON_USEDEP}] |
166 |
- dev-python/pip[${PYTHON_USEDEP}] |
167 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
168 |
- dev-python/pytest[${PYTHON_USEDEP}] |
169 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
170 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
171 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
172 |
- >=dev-python/virtualenv-20[${PYTHON_USEDEP}] |
173 |
- dev-python/wheel[${PYTHON_USEDEP}] |
174 |
- ' python3_{8..10} pypy3) |
175 |
- ) |
176 |
-" |
177 |
-PDEPEND=" |
178 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] |
179 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}]" |
180 |
- |
181 |
-# Force in-source build because build system modifies sources. |
182 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
183 |
- |
184 |
-DOCS=( {CHANGES,README}.rst ) |
185 |
- |
186 |
-src_prepare() { |
187 |
- # apply distutils patches to the bundled distutils |
188 |
- pushd setuptools/_distutils >/dev/null || die |
189 |
- # TODO: distutils C++ patch? |
190 |
- eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch" |
191 |
- popd >/dev/null || die |
192 |
- |
193 |
- distutils-r1_src_prepare |
194 |
-} |
195 |
- |
196 |
-python_test() { |
197 |
- # keep in sync with python_gen_cond_dep above! |
198 |
- has "${EPYTHON}" python3.{8..10} pypy3 || continue |
199 |
- |
200 |
- distutils_install_for_testing |
201 |
- local EPYTEST_DESELECT=( |
202 |
- # network |
203 |
- setuptools/tests/test_distutils_adoption.py |
204 |
- 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]' |
205 |
- # unhappy with pytest-xdist? |
206 |
- setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index |
207 |
- # TODO |
208 |
- setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts |
209 |
- setuptools/tests/test_test.py::test_tests_are_run_once |
210 |
- ) |
211 |
- |
212 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
213 |
- # It tries to sandbox the test in a tempdir |
214 |
- HOME="${PWD}" epytest \ |
215 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools |
216 |
-} |
217 |
- |
218 |
-python_install() { |
219 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
220 |
- distutils-r1_python_install |
221 |
-} |
222 |
|
223 |
diff --git a/dev-python/setuptools/setuptools-60.0.3.ebuild b/dev-python/setuptools/setuptools-60.0.3.ebuild |
224 |
deleted file mode 100644 |
225 |
index e77a7ae80418..000000000000 |
226 |
--- a/dev-python/setuptools/setuptools-60.0.3.ebuild |
227 |
+++ /dev/null |
228 |
@@ -1,89 +0,0 @@ |
229 |
-# Copyright 1999-2021 Gentoo Authors |
230 |
-# Distributed under the terms of the GNU General Public License v2 |
231 |
- |
232 |
-# please keep this ebuild at EAPI 7 -- sys-apps/portage dep |
233 |
-EAPI=7 |
234 |
- |
235 |
-# Set to 'manual' to avoid triggering install QA check |
236 |
-DISTUTILS_USE_SETUPTOOLS=manual |
237 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
238 |
-PYTHON_REQ_USE="xml(+)" |
239 |
- |
240 |
-inherit distutils-r1 multiprocessing |
241 |
- |
242 |
-CPY_PATCHSET="python-gentoo-patches-3.10.0_p1" |
243 |
-DESCRIPTION="Collection of extensions to Distutils" |
244 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
245 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz |
246 |
- https://dev.gentoo.org/~floppym/python/${CPY_PATCHSET}.tar.xz" |
247 |
- |
248 |
-LICENSE="MIT" |
249 |
-SLOT="0" |
250 |
-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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
251 |
-IUSE="test" |
252 |
-RESTRICT="!test? ( test )" |
253 |
- |
254 |
-BDEPEND=" |
255 |
- test? ( |
256 |
- $(python_gen_cond_dep ' |
257 |
- dev-python/jaraco-envs[${PYTHON_USEDEP}] |
258 |
- >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] |
259 |
- dev-python/mock[${PYTHON_USEDEP}] |
260 |
- dev-python/pip[${PYTHON_USEDEP}] |
261 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
262 |
- dev-python/pytest[${PYTHON_USEDEP}] |
263 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
264 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
265 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
266 |
- >=dev-python/virtualenv-20[${PYTHON_USEDEP}] |
267 |
- dev-python/wheel[${PYTHON_USEDEP}] |
268 |
- ' python3_{8..10} pypy3) |
269 |
- ) |
270 |
-" |
271 |
-PDEPEND=" |
272 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] |
273 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}]" |
274 |
- |
275 |
-# Force in-source build because build system modifies sources. |
276 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
277 |
- |
278 |
-DOCS=( {CHANGES,README}.rst ) |
279 |
- |
280 |
-src_prepare() { |
281 |
- # apply distutils patches to the bundled distutils |
282 |
- pushd setuptools/_distutils >/dev/null || die |
283 |
- # TODO: distutils C++ patch? |
284 |
- eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch" |
285 |
- popd >/dev/null || die |
286 |
- |
287 |
- distutils-r1_src_prepare |
288 |
-} |
289 |
- |
290 |
-python_test() { |
291 |
- local -x SETUPTOOLS_USE_DISTUTILS=stdlib |
292 |
- |
293 |
- # keep in sync with python_gen_cond_dep above! |
294 |
- has "${EPYTHON}" python3.{8..10} pypy3 || continue |
295 |
- |
296 |
- distutils_install_for_testing |
297 |
- local EPYTEST_DESELECT=( |
298 |
- # network |
299 |
- setuptools/tests/test_distutils_adoption.py |
300 |
- 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]' |
301 |
- # unhappy with pytest-xdist? |
302 |
- setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index |
303 |
- # TODO |
304 |
- setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts |
305 |
- setuptools/tests/test_test.py::test_tests_are_run_once |
306 |
- ) |
307 |
- |
308 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
309 |
- # It tries to sandbox the test in a tempdir |
310 |
- HOME="${PWD}" epytest \ |
311 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools |
312 |
-} |
313 |
- |
314 |
-python_install() { |
315 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
316 |
- distutils-r1_python_install |
317 |
-} |
318 |
|
319 |
diff --git a/dev-python/setuptools/setuptools-60.0.4.ebuild b/dev-python/setuptools/setuptools-60.0.4.ebuild |
320 |
deleted file mode 100644 |
321 |
index e77a7ae80418..000000000000 |
322 |
--- a/dev-python/setuptools/setuptools-60.0.4.ebuild |
323 |
+++ /dev/null |
324 |
@@ -1,89 +0,0 @@ |
325 |
-# Copyright 1999-2021 Gentoo Authors |
326 |
-# Distributed under the terms of the GNU General Public License v2 |
327 |
- |
328 |
-# please keep this ebuild at EAPI 7 -- sys-apps/portage dep |
329 |
-EAPI=7 |
330 |
- |
331 |
-# Set to 'manual' to avoid triggering install QA check |
332 |
-DISTUTILS_USE_SETUPTOOLS=manual |
333 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
334 |
-PYTHON_REQ_USE="xml(+)" |
335 |
- |
336 |
-inherit distutils-r1 multiprocessing |
337 |
- |
338 |
-CPY_PATCHSET="python-gentoo-patches-3.10.0_p1" |
339 |
-DESCRIPTION="Collection of extensions to Distutils" |
340 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
341 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz |
342 |
- https://dev.gentoo.org/~floppym/python/${CPY_PATCHSET}.tar.xz" |
343 |
- |
344 |
-LICENSE="MIT" |
345 |
-SLOT="0" |
346 |
-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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
347 |
-IUSE="test" |
348 |
-RESTRICT="!test? ( test )" |
349 |
- |
350 |
-BDEPEND=" |
351 |
- test? ( |
352 |
- $(python_gen_cond_dep ' |
353 |
- dev-python/jaraco-envs[${PYTHON_USEDEP}] |
354 |
- >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] |
355 |
- dev-python/mock[${PYTHON_USEDEP}] |
356 |
- dev-python/pip[${PYTHON_USEDEP}] |
357 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
358 |
- dev-python/pytest[${PYTHON_USEDEP}] |
359 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
360 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
361 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
362 |
- >=dev-python/virtualenv-20[${PYTHON_USEDEP}] |
363 |
- dev-python/wheel[${PYTHON_USEDEP}] |
364 |
- ' python3_{8..10} pypy3) |
365 |
- ) |
366 |
-" |
367 |
-PDEPEND=" |
368 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] |
369 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}]" |
370 |
- |
371 |
-# Force in-source build because build system modifies sources. |
372 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
373 |
- |
374 |
-DOCS=( {CHANGES,README}.rst ) |
375 |
- |
376 |
-src_prepare() { |
377 |
- # apply distutils patches to the bundled distutils |
378 |
- pushd setuptools/_distutils >/dev/null || die |
379 |
- # TODO: distutils C++ patch? |
380 |
- eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch" |
381 |
- popd >/dev/null || die |
382 |
- |
383 |
- distutils-r1_src_prepare |
384 |
-} |
385 |
- |
386 |
-python_test() { |
387 |
- local -x SETUPTOOLS_USE_DISTUTILS=stdlib |
388 |
- |
389 |
- # keep in sync with python_gen_cond_dep above! |
390 |
- has "${EPYTHON}" python3.{8..10} pypy3 || continue |
391 |
- |
392 |
- distutils_install_for_testing |
393 |
- local EPYTEST_DESELECT=( |
394 |
- # network |
395 |
- setuptools/tests/test_distutils_adoption.py |
396 |
- 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]' |
397 |
- # unhappy with pytest-xdist? |
398 |
- setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index |
399 |
- # TODO |
400 |
- setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts |
401 |
- setuptools/tests/test_test.py::test_tests_are_run_once |
402 |
- ) |
403 |
- |
404 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
405 |
- # It tries to sandbox the test in a tempdir |
406 |
- HOME="${PWD}" epytest \ |
407 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools |
408 |
-} |
409 |
- |
410 |
-python_install() { |
411 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
412 |
- distutils-r1_python_install |
413 |
-} |
414 |
|
415 |
diff --git a/dev-python/setuptools/setuptools-60.0.5.ebuild b/dev-python/setuptools/setuptools-60.0.5.ebuild |
416 |
deleted file mode 100644 |
417 |
index e77a7ae80418..000000000000 |
418 |
--- a/dev-python/setuptools/setuptools-60.0.5.ebuild |
419 |
+++ /dev/null |
420 |
@@ -1,89 +0,0 @@ |
421 |
-# Copyright 1999-2021 Gentoo Authors |
422 |
-# Distributed under the terms of the GNU General Public License v2 |
423 |
- |
424 |
-# please keep this ebuild at EAPI 7 -- sys-apps/portage dep |
425 |
-EAPI=7 |
426 |
- |
427 |
-# Set to 'manual' to avoid triggering install QA check |
428 |
-DISTUTILS_USE_SETUPTOOLS=manual |
429 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
430 |
-PYTHON_REQ_USE="xml(+)" |
431 |
- |
432 |
-inherit distutils-r1 multiprocessing |
433 |
- |
434 |
-CPY_PATCHSET="python-gentoo-patches-3.10.0_p1" |
435 |
-DESCRIPTION="Collection of extensions to Distutils" |
436 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
437 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz |
438 |
- https://dev.gentoo.org/~floppym/python/${CPY_PATCHSET}.tar.xz" |
439 |
- |
440 |
-LICENSE="MIT" |
441 |
-SLOT="0" |
442 |
-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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
443 |
-IUSE="test" |
444 |
-RESTRICT="!test? ( test )" |
445 |
- |
446 |
-BDEPEND=" |
447 |
- test? ( |
448 |
- $(python_gen_cond_dep ' |
449 |
- dev-python/jaraco-envs[${PYTHON_USEDEP}] |
450 |
- >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] |
451 |
- dev-python/mock[${PYTHON_USEDEP}] |
452 |
- dev-python/pip[${PYTHON_USEDEP}] |
453 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
454 |
- dev-python/pytest[${PYTHON_USEDEP}] |
455 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
456 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
457 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
458 |
- >=dev-python/virtualenv-20[${PYTHON_USEDEP}] |
459 |
- dev-python/wheel[${PYTHON_USEDEP}] |
460 |
- ' python3_{8..10} pypy3) |
461 |
- ) |
462 |
-" |
463 |
-PDEPEND=" |
464 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] |
465 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}]" |
466 |
- |
467 |
-# Force in-source build because build system modifies sources. |
468 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
469 |
- |
470 |
-DOCS=( {CHANGES,README}.rst ) |
471 |
- |
472 |
-src_prepare() { |
473 |
- # apply distutils patches to the bundled distutils |
474 |
- pushd setuptools/_distutils >/dev/null || die |
475 |
- # TODO: distutils C++ patch? |
476 |
- eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch" |
477 |
- popd >/dev/null || die |
478 |
- |
479 |
- distutils-r1_src_prepare |
480 |
-} |
481 |
- |
482 |
-python_test() { |
483 |
- local -x SETUPTOOLS_USE_DISTUTILS=stdlib |
484 |
- |
485 |
- # keep in sync with python_gen_cond_dep above! |
486 |
- has "${EPYTHON}" python3.{8..10} pypy3 || continue |
487 |
- |
488 |
- distutils_install_for_testing |
489 |
- local EPYTEST_DESELECT=( |
490 |
- # network |
491 |
- setuptools/tests/test_distutils_adoption.py |
492 |
- 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]' |
493 |
- # unhappy with pytest-xdist? |
494 |
- setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index |
495 |
- # TODO |
496 |
- setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts |
497 |
- setuptools/tests/test_test.py::test_tests_are_run_once |
498 |
- ) |
499 |
- |
500 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
501 |
- # It tries to sandbox the test in a tempdir |
502 |
- HOME="${PWD}" epytest \ |
503 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools |
504 |
-} |
505 |
- |
506 |
-python_install() { |
507 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
508 |
- distutils-r1_python_install |
509 |
-} |