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/setuptools/, dev-python/setuptools/files/
Date: Mon, 03 Jan 2022 22:25:03
Message-Id: 1641248672.4c70fd5427d329d7fa68487d0cbcfc5daea67a6f.mgorny@gentoo
1 commit: 4c70fd5427d329d7fa68487d0cbcfc5daea67a6f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 3 11:33:23 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 3 22:24:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c70fd54
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-57.5.0-syntaxerror.patch | 37 ---------
14 dev-python/setuptools/setuptools-57.5.0.ebuild | 92 ----------------------
15 dev-python/setuptools/setuptools-59.2.0.ebuild | 86 --------------------
16 dev-python/setuptools/setuptools-59.4.0.ebuild | 87 --------------------
17 dev-python/setuptools/setuptools-59.5.0.ebuild | 87 --------------------
18 dev-python/setuptools/setuptools-59.6.0.ebuild | 87 --------------------
19 dev-python/setuptools/setuptools-60.1.0.ebuild | 89 ---------------------
20 dev-python/setuptools/setuptools-60.1.1.ebuild | 89 ---------------------
21 9 files changed, 662 deletions(-)
22
23 diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest
24 index 4d6803fa2612..b010f549010b 100644
25 --- a/dev-python/setuptools/Manifest
26 +++ b/dev-python/setuptools/Manifest
27 @@ -1,11 +1,3 @@
28 DIST python-gentoo-patches-3.10.0_p1.tar.xz 10068 BLAKE2B 1c9817b449831559f0a0b722c02a5f55d94b3dfde98e5882c1403fe24a4addf7074ab39c09b91cff6fd7ace2e4b6e8ed899d9a0b9ffd6612ce315c4c192bd309 SHA512 39aa41dbf17b6dc5255491c75031a3dae6962b44125e426dbfdce365a6533c5dae9856b1fff8016a189124b7cff72d2665ce99da344c2f9dff005ba685e8c2c4
29 -DIST python-gentoo-patches-3.10.0rc1.tar.xz 8112 BLAKE2B d6f9b44c5a231f447ffe3533afbcaffe0f3b8bdd5a6690f1854bd7e1199d036d11a4cf4abfae345a88c42740ccbd4b72e53cbe28aea1a5db39dda1e5bfd47229 SHA512 bba7045f56369ca0354a539f8478a1afed77dc89a9faf548a0cf8959d644360b0afc4f84b95151ebfc2a6553078322c7445073f7a4104e9cd639ccc86ad0f792
30 -DIST setuptools-57.5.0.tar.gz 2141727 BLAKE2B 54c065e0bdcb0c3a0a76026d78ab26615e07ee013e684ef18c3731757a38efe38d21d4c99b687595873679d77ab8381cccc483847467c98eb7086d9cac5bd8ec SHA512 9dae7cbddcca0859d128f528232c2ab6baca2b4447bba129a7bbc014c98a8ecc866cc71c7e93900bb93ea4bbbe5e398c1c3b4a4867afb2caf2c38a2d5a46d67c
31 -DIST setuptools-59.2.0.tar.gz 2281261 BLAKE2B 40d929a7a15d469e66b5f0db744663d0debfc9559806bebd141f5659965e47ebbd3f05ae4fe0dfd514db10507c5fffb4ab427eb55b61c2febb0dc6b47d02ca6b SHA512 cd6acf817c548ef518f0e64172f8263b181eddeaf0cbe527b30a5db9ecf0f985b76a6d9c28a54ae7a743debb844c0c75781ebcdf81eb478f2bd67b81d1e3f847
32 -DIST setuptools-59.4.0.tar.gz 2281497 BLAKE2B 8267d6d4c373f44659b22155848fe064c7575cb74702ad77894adddcf05d805324bcd68505270bd05e81ec5702cb1dd47beec62de26f17a6459683df8cd1414b SHA512 bc7b1eb89c40ffe64b827bfbe4981dc157a7cdbd5924e53483ff69ad7e9613f6957bc36366d45c45e1e49f2d504a7b2d81677690722d4d1f1ab2e62be05b617f
33 -DIST setuptools-59.5.0.tar.gz 2281671 BLAKE2B 51b3435a1d7962a06f7cf07c31487a1404274a54a1fae0567c3953686cbf3b3160327a56c599e80ce70fe8f56dc817fc76d0e4371d3622b5c6235b0fdc555980 SHA512 2ad0aa7c05d9664d0bdc17d93ba518903f14f0e8fe568bcc4615f8a651e3e35843d2747200e20a796f250f1bcebfa057c94b7942875aa1badd770ca12e847c32
34 -DIST setuptools-59.6.0.tar.gz 2281973 BLAKE2B 1e7ffc94626684f7e82a1bbba14889af052898f87f79205618fb76d78252397d3fb555778cb3920d2eed55bc1ee2c95ceec9206940269a4ba35b3bc44eb91226 SHA512 25472ec7c167e07113c6645880952458969b146766b64224ec8f40dfc2a29b23e47104b63e806292ec81ee4e9dbbdc4663228f39b4412b586cba644f69b52309
35 DIST setuptools-59.8.0.tar.gz 2282358 BLAKE2B 2f1b49285fc70420e24f958c4955200ef0407a7f3aa52fd581a165fd47c7bbde8366c26963f1bbb36f0f77797c12cbb9016fdc69e1a5cc696bb67aacca16d140 SHA512 d906558b498bda8abf28831224502c6f0290a4cdbf087fe07af8321dba3dfd1e19fa5b4a820033e54c4561b82ea8ec54c287b4fd657892ed28c2a7de91a9107e
36 -DIST setuptools-60.1.0.tar.gz 2281751 BLAKE2B d6302564ccb841232561c479959d2ed412888b49c07f774f194214ded659d7d45c5328570318ded9ff7eb81fc08e20b8be576f7a38099cfb855833955bbdb3a6 SHA512 9dba9022be345f5e0c9a915cfd8a24b441e813e703c817f40cd36236d1de1af8a5227acd886ca5910f1900e0c6ed5836f181117c11486009588a9777d6855032
37 -DIST setuptools-60.1.1.tar.gz 2282219 BLAKE2B 0e24774592fc10cccccd5b4be24ca11d7d2831962f7ca41e92c859488aeee6c133657a2971258d1954f8f1c6092459ea5e0fd7be549b0d74e5e2689b36f10571 SHA512 94804f82d1debbeefce0fc4101b9e9854425fd85ba59eec221c8f596826af8a44b03d80c367ff7948fd121f84573426c704140d6fdfc8c022040cc32ba14f634
38 DIST setuptools-60.2.0.tar.gz 2282807 BLAKE2B 97d54353050d4e8a009e617a112c23d70726ad00625994d78639665f41245cee6f92544d5d5fc9962841ac0b2db3302ebbf0b5c6ee8f544f003fa05358c7ccf2 SHA512 9c7185843ead283ef97311018f1bb683c2e969f0333d5b246c7f1687c5ec6a9d6a2dafc39540ea7354e969d5a3f84e74c07dbce010970dd0ed46ebb48300a0bf
39
40 diff --git a/dev-python/setuptools/files/setuptools-57.5.0-syntaxerror.patch b/dev-python/setuptools/files/setuptools-57.5.0-syntaxerror.patch
41 deleted file mode 100644
42 index 6df794022224..000000000000
43 --- a/dev-python/setuptools/files/setuptools-57.5.0-syntaxerror.patch
44 +++ /dev/null
45 @@ -1,37 +0,0 @@
46 -From ad05b5dfebbc9025b631d6afffa25cdda8079d25 Mon Sep 17 00:00:00 2001
47 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o>
48 -Date: Mon, 6 Sep 2021 07:41:24 +0200
49 -Subject: [PATCH] Fix syntax error in test_build_meta's pyproject.toml files
50 -
51 -Fix missing closing quotes in pyproject.toml files used
52 -in test_build_meta's tests. This fixes the test failures due
53 -to TOMLDecodeError.
54 ----
55 - setuptools/tests/test_build_meta.py | 4 ++--
56 - 1 file changed, 2 insertions(+), 2 deletions(-)
57 -
58 -diff --git a/setuptools/tests/test_build_meta.py b/setuptools/tests/test_build_meta.py
59 -index ab75a189..0f4a1a73 100644
60 ---- a/setuptools/tests/test_build_meta.py
61 -+++ b/setuptools/tests/test_build_meta.py
62 -@@ -167,7 +167,7 @@ class TestBuildMetaBackend:
63 - 'pyproject.toml': DALS("""
64 - [build-system]
65 - requires = ["setuptools", "wheel"]
66 -- build-backend = "setuptools.build_meta
67 -+ build-backend = "setuptools.build_meta"
68 - """),
69 - }
70 -
71 -@@ -260,7 +260,7 @@ class TestBuildMetaBackend:
72 - 'pyproject.toml': DALS("""
73 - [build-system]
74 - requires = ["setuptools", "wheel"]
75 -- build-backend = "setuptools.build_meta
76 -+ build-backend = "setuptools.build_meta"
77 - """),
78 - }
79 - path.build(files)
80 ---
81 -2.33.0
82 -
83
84 diff --git a/dev-python/setuptools/setuptools-57.5.0.ebuild b/dev-python/setuptools/setuptools-57.5.0.ebuild
85 deleted file mode 100644
86 index 27e68a3d4830..000000000000
87 --- a/dev-python/setuptools/setuptools-57.5.0.ebuild
88 +++ /dev/null
89 @@ -1,92 +0,0 @@
90 -# Copyright 1999-2021 Gentoo Authors
91 -# Distributed under the terms of the GNU General Public License v2
92 -
93 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
94 -EAPI=7
95 -
96 -# Set to 'manual' to avoid triggering install QA check
97 -DISTUTILS_USE_SETUPTOOLS=manual
98 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
99 -PYTHON_REQ_USE="xml(+)"
100 -
101 -inherit distutils-r1 multiprocessing
102 -
103 -CPY_PATCHSET="python-gentoo-patches-3.10.0rc1"
104 -DESCRIPTION="Collection of extensions to Distutils"
105 -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
106 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
107 - https://dev.gentoo.org/~mgorny/dist/python/${CPY_PATCHSET}.tar.xz"
108 -
109 -LICENSE="MIT"
110 -SLOT="0"
111 -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"
112 -IUSE="test"
113 -RESTRICT="!test? ( test )"
114 -
115 -BDEPEND="
116 - test? (
117 - $(python_gen_cond_dep '
118 - dev-python/jaraco-envs[${PYTHON_USEDEP}]
119 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
120 - dev-python/mock[${PYTHON_USEDEP}]
121 - dev-python/pip[${PYTHON_USEDEP}]
122 - dev-python/sphinx[${PYTHON_USEDEP}]
123 - dev-python/pytest[${PYTHON_USEDEP}]
124 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
125 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
126 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
127 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
128 - dev-python/wheel[${PYTHON_USEDEP}]
129 - ' python3_{8..10} pypy3)
130 - )
131 -"
132 -PDEPEND="
133 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
134 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
135 -
136 -# Force in-source build because build system modifies sources.
137 -DISTUTILS_IN_SOURCE_BUILD=1
138 -
139 -PATCHES=(
140 - "${FILESDIR}"/setuptools-57.5.0-syntaxerror.patch
141 -)
142 -
143 -DOCS=( {CHANGES,README}.rst )
144 -
145 -src_prepare() {
146 - # apply distutils patches to the bundled distutils
147 - pushd setuptools/_distutils >/dev/null || die
148 - # TODO: distutils C++ patch?
149 - eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch"
150 - popd >/dev/null || die
151 -
152 - distutils-r1_src_prepare
153 -}
154 -
155 -python_test() {
156 - # keep in sync with python_gen_cond_dep above!
157 - has "${EPYTHON}" python3.{8..10} pypy3 || continue
158 -
159 - distutils_install_for_testing
160 - local deselect=(
161 - # network
162 - 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'
163 - setuptools/tests/test_distutils_adoption.py
164 - # TODO
165 - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
166 - )
167 - [[ ${EPYTHON} == pypy3 ]] && deselect+=(
168 - setuptools/tests/test_develop.py::TestDevelop::test_2to3_user_mode
169 - )
170 -
171 - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
172 - # It tries to sandbox the test in a tempdir
173 - HOME="${PWD}" epytest ${deselect[@]/#/--deselect } \
174 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" \
175 - setuptools
176 -}
177 -
178 -python_install() {
179 - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
180 - distutils-r1_python_install
181 -}
182
183 diff --git a/dev-python/setuptools/setuptools-59.2.0.ebuild b/dev-python/setuptools/setuptools-59.2.0.ebuild
184 deleted file mode 100644
185 index a6a79d33a335..000000000000
186 --- a/dev-python/setuptools/setuptools-59.2.0.ebuild
187 +++ /dev/null
188 @@ -1,86 +0,0 @@
189 -# Copyright 1999-2021 Gentoo Authors
190 -# Distributed under the terms of the GNU General Public License v2
191 -
192 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
193 -EAPI=7
194 -
195 -# Set to 'manual' to avoid triggering install QA check
196 -DISTUTILS_USE_SETUPTOOLS=manual
197 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
198 -PYTHON_REQ_USE="xml(+)"
199 -
200 -inherit distutils-r1 multiprocessing
201 -
202 -CPY_PATCHSET="python-gentoo-patches-3.10.0rc1"
203 -DESCRIPTION="Collection of extensions to Distutils"
204 -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
205 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
206 - https://dev.gentoo.org/~mgorny/dist/python/${CPY_PATCHSET}.tar.xz"
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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
211 -IUSE="test"
212 -RESTRICT="!test? ( test )"
213 -
214 -BDEPEND="
215 - test? (
216 - $(python_gen_cond_dep '
217 - dev-python/jaraco-envs[${PYTHON_USEDEP}]
218 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
219 - dev-python/mock[${PYTHON_USEDEP}]
220 - dev-python/pip[${PYTHON_USEDEP}]
221 - dev-python/sphinx[${PYTHON_USEDEP}]
222 - dev-python/pytest[${PYTHON_USEDEP}]
223 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
224 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
225 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
226 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
227 - dev-python/wheel[${PYTHON_USEDEP}]
228 - ' python3_{8..10} pypy3)
229 - )
230 -"
231 -PDEPEND="
232 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
233 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
234 -
235 -# Force in-source build because build system modifies sources.
236 -DISTUTILS_IN_SOURCE_BUILD=1
237 -
238 -DOCS=( {CHANGES,README}.rst )
239 -
240 -src_prepare() {
241 - # apply distutils patches to the bundled distutils
242 - pushd setuptools/_distutils >/dev/null || die
243 - # TODO: distutils C++ patch?
244 - eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch"
245 - popd >/dev/null || die
246 -
247 - distutils-r1_src_prepare
248 -}
249 -
250 -python_test() {
251 - # keep in sync with python_gen_cond_dep above!
252 - has "${EPYTHON}" python3.{8..10} pypy3 || continue
253 -
254 - distutils_install_for_testing
255 - local EPYTEST_DESELECT=(
256 - # network
257 - setuptools/tests/test_distutils_adoption.py
258 - 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'
259 - # unhappy with pytest-xdist?
260 - setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index
261 - # TODO
262 - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
263 - )
264 -
265 - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
266 - # It tries to sandbox the test in a tempdir
267 - HOME="${PWD}" epytest \
268 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools
269 -}
270 -
271 -python_install() {
272 - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
273 - distutils-r1_python_install
274 -}
275
276 diff --git a/dev-python/setuptools/setuptools-59.4.0.ebuild b/dev-python/setuptools/setuptools-59.4.0.ebuild
277 deleted file mode 100644
278 index 8575f622e7c5..000000000000
279 --- a/dev-python/setuptools/setuptools-59.4.0.ebuild
280 +++ /dev/null
281 @@ -1,87 +0,0 @@
282 -# Copyright 1999-2021 Gentoo Authors
283 -# Distributed under the terms of the GNU General Public License v2
284 -
285 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
286 -EAPI=7
287 -
288 -# Set to 'manual' to avoid triggering install QA check
289 -DISTUTILS_USE_SETUPTOOLS=manual
290 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
291 -PYTHON_REQ_USE="xml(+)"
292 -
293 -inherit distutils-r1 multiprocessing
294 -
295 -CPY_PATCHSET="python-gentoo-patches-3.10.0_p1"
296 -DESCRIPTION="Collection of extensions to Distutils"
297 -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
298 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
299 - https://dev.gentoo.org/~floppym/python/${CPY_PATCHSET}.tar.xz"
300 -
301 -LICENSE="MIT"
302 -SLOT="0"
303 -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"
304 -IUSE="test"
305 -RESTRICT="!test? ( test )"
306 -
307 -BDEPEND="
308 - test? (
309 - $(python_gen_cond_dep '
310 - dev-python/jaraco-envs[${PYTHON_USEDEP}]
311 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
312 - dev-python/mock[${PYTHON_USEDEP}]
313 - dev-python/pip[${PYTHON_USEDEP}]
314 - dev-python/sphinx[${PYTHON_USEDEP}]
315 - dev-python/pytest[${PYTHON_USEDEP}]
316 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
317 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
318 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
319 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
320 - dev-python/wheel[${PYTHON_USEDEP}]
321 - ' python3_{8..10} pypy3)
322 - )
323 -"
324 -PDEPEND="
325 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
326 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
327 -
328 -# Force in-source build because build system modifies sources.
329 -DISTUTILS_IN_SOURCE_BUILD=1
330 -
331 -DOCS=( {CHANGES,README}.rst )
332 -
333 -src_prepare() {
334 - # apply distutils patches to the bundled distutils
335 - pushd setuptools/_distutils >/dev/null || die
336 - # TODO: distutils C++ patch?
337 - eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch"
338 - popd >/dev/null || die
339 -
340 - distutils-r1_src_prepare
341 -}
342 -
343 -python_test() {
344 - # keep in sync with python_gen_cond_dep above!
345 - has "${EPYTHON}" python3.{8..10} pypy3 || continue
346 -
347 - distutils_install_for_testing
348 - local EPYTEST_DESELECT=(
349 - # network
350 - setuptools/tests/test_distutils_adoption.py
351 - 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'
352 - # unhappy with pytest-xdist?
353 - setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index
354 - # TODO
355 - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
356 - setuptools/tests/test_test.py::test_tests_are_run_once
357 - )
358 -
359 - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
360 - # It tries to sandbox the test in a tempdir
361 - HOME="${PWD}" epytest \
362 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools
363 -}
364 -
365 -python_install() {
366 - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
367 - distutils-r1_python_install
368 -}
369
370 diff --git a/dev-python/setuptools/setuptools-59.5.0.ebuild b/dev-python/setuptools/setuptools-59.5.0.ebuild
371 deleted file mode 100644
372 index 8575f622e7c5..000000000000
373 --- a/dev-python/setuptools/setuptools-59.5.0.ebuild
374 +++ /dev/null
375 @@ -1,87 +0,0 @@
376 -# Copyright 1999-2021 Gentoo Authors
377 -# Distributed under the terms of the GNU General Public License v2
378 -
379 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
380 -EAPI=7
381 -
382 -# Set to 'manual' to avoid triggering install QA check
383 -DISTUTILS_USE_SETUPTOOLS=manual
384 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
385 -PYTHON_REQ_USE="xml(+)"
386 -
387 -inherit distutils-r1 multiprocessing
388 -
389 -CPY_PATCHSET="python-gentoo-patches-3.10.0_p1"
390 -DESCRIPTION="Collection of extensions to Distutils"
391 -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
392 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
393 - https://dev.gentoo.org/~floppym/python/${CPY_PATCHSET}.tar.xz"
394 -
395 -LICENSE="MIT"
396 -SLOT="0"
397 -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"
398 -IUSE="test"
399 -RESTRICT="!test? ( test )"
400 -
401 -BDEPEND="
402 - test? (
403 - $(python_gen_cond_dep '
404 - dev-python/jaraco-envs[${PYTHON_USEDEP}]
405 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
406 - dev-python/mock[${PYTHON_USEDEP}]
407 - dev-python/pip[${PYTHON_USEDEP}]
408 - dev-python/sphinx[${PYTHON_USEDEP}]
409 - dev-python/pytest[${PYTHON_USEDEP}]
410 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
411 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
412 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
413 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
414 - dev-python/wheel[${PYTHON_USEDEP}]
415 - ' python3_{8..10} pypy3)
416 - )
417 -"
418 -PDEPEND="
419 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
420 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
421 -
422 -# Force in-source build because build system modifies sources.
423 -DISTUTILS_IN_SOURCE_BUILD=1
424 -
425 -DOCS=( {CHANGES,README}.rst )
426 -
427 -src_prepare() {
428 - # apply distutils patches to the bundled distutils
429 - pushd setuptools/_distutils >/dev/null || die
430 - # TODO: distutils C++ patch?
431 - eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch"
432 - popd >/dev/null || die
433 -
434 - distutils-r1_src_prepare
435 -}
436 -
437 -python_test() {
438 - # keep in sync with python_gen_cond_dep above!
439 - has "${EPYTHON}" python3.{8..10} pypy3 || continue
440 -
441 - distutils_install_for_testing
442 - local EPYTEST_DESELECT=(
443 - # network
444 - setuptools/tests/test_distutils_adoption.py
445 - 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'
446 - # unhappy with pytest-xdist?
447 - setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index
448 - # TODO
449 - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
450 - setuptools/tests/test_test.py::test_tests_are_run_once
451 - )
452 -
453 - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
454 - # It tries to sandbox the test in a tempdir
455 - HOME="${PWD}" epytest \
456 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools
457 -}
458 -
459 -python_install() {
460 - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
461 - distutils-r1_python_install
462 -}
463
464 diff --git a/dev-python/setuptools/setuptools-59.6.0.ebuild b/dev-python/setuptools/setuptools-59.6.0.ebuild
465 deleted file mode 100644
466 index 8575f622e7c5..000000000000
467 --- a/dev-python/setuptools/setuptools-59.6.0.ebuild
468 +++ /dev/null
469 @@ -1,87 +0,0 @@
470 -# Copyright 1999-2021 Gentoo Authors
471 -# Distributed under the terms of the GNU General Public License v2
472 -
473 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
474 -EAPI=7
475 -
476 -# Set to 'manual' to avoid triggering install QA check
477 -DISTUTILS_USE_SETUPTOOLS=manual
478 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
479 -PYTHON_REQ_USE="xml(+)"
480 -
481 -inherit distutils-r1 multiprocessing
482 -
483 -CPY_PATCHSET="python-gentoo-patches-3.10.0_p1"
484 -DESCRIPTION="Collection of extensions to Distutils"
485 -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
486 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
487 - https://dev.gentoo.org/~floppym/python/${CPY_PATCHSET}.tar.xz"
488 -
489 -LICENSE="MIT"
490 -SLOT="0"
491 -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"
492 -IUSE="test"
493 -RESTRICT="!test? ( test )"
494 -
495 -BDEPEND="
496 - test? (
497 - $(python_gen_cond_dep '
498 - dev-python/jaraco-envs[${PYTHON_USEDEP}]
499 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
500 - dev-python/mock[${PYTHON_USEDEP}]
501 - dev-python/pip[${PYTHON_USEDEP}]
502 - dev-python/sphinx[${PYTHON_USEDEP}]
503 - dev-python/pytest[${PYTHON_USEDEP}]
504 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
505 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
506 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
507 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
508 - dev-python/wheel[${PYTHON_USEDEP}]
509 - ' python3_{8..10} pypy3)
510 - )
511 -"
512 -PDEPEND="
513 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
514 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
515 -
516 -# Force in-source build because build system modifies sources.
517 -DISTUTILS_IN_SOURCE_BUILD=1
518 -
519 -DOCS=( {CHANGES,README}.rst )
520 -
521 -src_prepare() {
522 - # apply distutils patches to the bundled distutils
523 - pushd setuptools/_distutils >/dev/null || die
524 - # TODO: distutils C++ patch?
525 - eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch"
526 - popd >/dev/null || die
527 -
528 - distutils-r1_src_prepare
529 -}
530 -
531 -python_test() {
532 - # keep in sync with python_gen_cond_dep above!
533 - has "${EPYTHON}" python3.{8..10} pypy3 || continue
534 -
535 - distutils_install_for_testing
536 - local EPYTEST_DESELECT=(
537 - # network
538 - setuptools/tests/test_distutils_adoption.py
539 - 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'
540 - # unhappy with pytest-xdist?
541 - setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index
542 - # TODO
543 - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
544 - setuptools/tests/test_test.py::test_tests_are_run_once
545 - )
546 -
547 - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
548 - # It tries to sandbox the test in a tempdir
549 - HOME="${PWD}" epytest \
550 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools
551 -}
552 -
553 -python_install() {
554 - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
555 - distutils-r1_python_install
556 -}
557
558 diff --git a/dev-python/setuptools/setuptools-60.1.0.ebuild b/dev-python/setuptools/setuptools-60.1.0.ebuild
559 deleted file mode 100644
560 index e77a7ae80418..000000000000
561 --- a/dev-python/setuptools/setuptools-60.1.0.ebuild
562 +++ /dev/null
563 @@ -1,89 +0,0 @@
564 -# Copyright 1999-2021 Gentoo Authors
565 -# Distributed under the terms of the GNU General Public License v2
566 -
567 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
568 -EAPI=7
569 -
570 -# Set to 'manual' to avoid triggering install QA check
571 -DISTUTILS_USE_SETUPTOOLS=manual
572 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
573 -PYTHON_REQ_USE="xml(+)"
574 -
575 -inherit distutils-r1 multiprocessing
576 -
577 -CPY_PATCHSET="python-gentoo-patches-3.10.0_p1"
578 -DESCRIPTION="Collection of extensions to Distutils"
579 -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
580 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
581 - https://dev.gentoo.org/~floppym/python/${CPY_PATCHSET}.tar.xz"
582 -
583 -LICENSE="MIT"
584 -SLOT="0"
585 -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"
586 -IUSE="test"
587 -RESTRICT="!test? ( test )"
588 -
589 -BDEPEND="
590 - test? (
591 - $(python_gen_cond_dep '
592 - dev-python/jaraco-envs[${PYTHON_USEDEP}]
593 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
594 - dev-python/mock[${PYTHON_USEDEP}]
595 - dev-python/pip[${PYTHON_USEDEP}]
596 - dev-python/sphinx[${PYTHON_USEDEP}]
597 - dev-python/pytest[${PYTHON_USEDEP}]
598 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
599 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
600 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
601 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
602 - dev-python/wheel[${PYTHON_USEDEP}]
603 - ' python3_{8..10} pypy3)
604 - )
605 -"
606 -PDEPEND="
607 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
608 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
609 -
610 -# Force in-source build because build system modifies sources.
611 -DISTUTILS_IN_SOURCE_BUILD=1
612 -
613 -DOCS=( {CHANGES,README}.rst )
614 -
615 -src_prepare() {
616 - # apply distutils patches to the bundled distutils
617 - pushd setuptools/_distutils >/dev/null || die
618 - # TODO: distutils C++ patch?
619 - eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch"
620 - popd >/dev/null || die
621 -
622 - distutils-r1_src_prepare
623 -}
624 -
625 -python_test() {
626 - local -x SETUPTOOLS_USE_DISTUTILS=stdlib
627 -
628 - # keep in sync with python_gen_cond_dep above!
629 - has "${EPYTHON}" python3.{8..10} pypy3 || continue
630 -
631 - distutils_install_for_testing
632 - local EPYTEST_DESELECT=(
633 - # network
634 - setuptools/tests/test_distutils_adoption.py
635 - 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'
636 - # unhappy with pytest-xdist?
637 - setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index
638 - # TODO
639 - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
640 - setuptools/tests/test_test.py::test_tests_are_run_once
641 - )
642 -
643 - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
644 - # It tries to sandbox the test in a tempdir
645 - HOME="${PWD}" epytest \
646 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools
647 -}
648 -
649 -python_install() {
650 - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
651 - distutils-r1_python_install
652 -}
653
654 diff --git a/dev-python/setuptools/setuptools-60.1.1.ebuild b/dev-python/setuptools/setuptools-60.1.1.ebuild
655 deleted file mode 100644
656 index e77a7ae80418..000000000000
657 --- a/dev-python/setuptools/setuptools-60.1.1.ebuild
658 +++ /dev/null
659 @@ -1,89 +0,0 @@
660 -# Copyright 1999-2021 Gentoo Authors
661 -# Distributed under the terms of the GNU General Public License v2
662 -
663 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
664 -EAPI=7
665 -
666 -# Set to 'manual' to avoid triggering install QA check
667 -DISTUTILS_USE_SETUPTOOLS=manual
668 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
669 -PYTHON_REQ_USE="xml(+)"
670 -
671 -inherit distutils-r1 multiprocessing
672 -
673 -CPY_PATCHSET="python-gentoo-patches-3.10.0_p1"
674 -DESCRIPTION="Collection of extensions to Distutils"
675 -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
676 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
677 - https://dev.gentoo.org/~floppym/python/${CPY_PATCHSET}.tar.xz"
678 -
679 -LICENSE="MIT"
680 -SLOT="0"
681 -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"
682 -IUSE="test"
683 -RESTRICT="!test? ( test )"
684 -
685 -BDEPEND="
686 - test? (
687 - $(python_gen_cond_dep '
688 - dev-python/jaraco-envs[${PYTHON_USEDEP}]
689 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
690 - dev-python/mock[${PYTHON_USEDEP}]
691 - dev-python/pip[${PYTHON_USEDEP}]
692 - dev-python/sphinx[${PYTHON_USEDEP}]
693 - dev-python/pytest[${PYTHON_USEDEP}]
694 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
695 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
696 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
697 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
698 - dev-python/wheel[${PYTHON_USEDEP}]
699 - ' python3_{8..10} pypy3)
700 - )
701 -"
702 -PDEPEND="
703 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
704 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
705 -
706 -# Force in-source build because build system modifies sources.
707 -DISTUTILS_IN_SOURCE_BUILD=1
708 -
709 -DOCS=( {CHANGES,README}.rst )
710 -
711 -src_prepare() {
712 - # apply distutils patches to the bundled distutils
713 - pushd setuptools/_distutils >/dev/null || die
714 - # TODO: distutils C++ patch?
715 - eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch"
716 - popd >/dev/null || die
717 -
718 - distutils-r1_src_prepare
719 -}
720 -
721 -python_test() {
722 - local -x SETUPTOOLS_USE_DISTUTILS=stdlib
723 -
724 - # keep in sync with python_gen_cond_dep above!
725 - has "${EPYTHON}" python3.{8..10} pypy3 || continue
726 -
727 - distutils_install_for_testing
728 - local EPYTEST_DESELECT=(
729 - # network
730 - setuptools/tests/test_distutils_adoption.py
731 - 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'
732 - # unhappy with pytest-xdist?
733 - setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index
734 - # TODO
735 - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
736 - setuptools/tests/test_test.py::test_tests_are_run_once
737 - )
738 -
739 - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
740 - # It tries to sandbox the test in a tempdir
741 - HOME="${PWD}" epytest \
742 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools
743 -}
744 -
745 -python_install() {
746 - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
747 - distutils-r1_python_install
748 -}