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/
Date: Fri, 06 May 2022 20:38:43
Message-Id: 1651869303.eb2da356c80be19d7fcdb3494bffc6ea2cc3aa38.mgorny@gentoo
1 commit: eb2da356c80be19d7fcdb3494bffc6ea2cc3aa38
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 6 20:35:03 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri May 6 20:35:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb2da356
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.5.0.ebuild | 96 ----------------
14 dev-python/setuptools/setuptools-60.9.2.ebuild | 113 ------------------
15 dev-python/setuptools/setuptools-61.3.0.ebuild | 131 ---------------------
16 dev-python/setuptools/setuptools-61.3.1-r1.ebuild | 132 ----------------------
17 dev-python/setuptools/setuptools-62.0.0.ebuild | 132 ----------------------
18 6 files changed, 609 deletions(-)
19
20 diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest
21 index 5f46d4fb7593..bcf6caed9107 100644
22 --- a/dev-python/setuptools/Manifest
23 +++ b/dev-python/setuptools/Manifest
24 @@ -1,9 +1,4 @@
25 DIST python-gentoo-patches-3.10.0_p1.tar.xz 10068 BLAKE2B 1c9817b449831559f0a0b722c02a5f55d94b3dfde98e5882c1403fe24a4addf7074ab39c09b91cff6fd7ace2e4b6e8ed899d9a0b9ffd6612ce315c4c192bd309 SHA512 39aa41dbf17b6dc5255491c75031a3dae6962b44125e426dbfdce365a6533c5dae9856b1fff8016a189124b7cff72d2665ce99da344c2f9dff005ba685e8c2c4
26 DIST python-gentoo-patches-3.10.4.tar.xz 8592 BLAKE2B 67fba3e1fedb17430e5cd93da995b4acaf714db512031b5a2f775a25f793f007941561663cfa413d645ccddc2e22d65d250a40fa166cafda8805488d877ff57d SHA512 3ed2b8ff8f1eb8febe7dcd4b5d13d6d54468be1d525f8f1118977d3bbc78f690a597b09383939d023b03380a306e4bff1693382e29ff562312d803305b1709b2
27 DIST setuptools-60.10.0.tar.gz 2420706 BLAKE2B 66d7f3b648b1e3222736ddf46ff97441bc9ed4dc528e0d4ee32ef18c99b2d3488e7525a1598a18df4f2cbdac409a4096a40539807c343d99707068a15003111d SHA512 e679bd84d31cb68f92899e0b25d5a6bf85cf63d9c8e1dfbfe974d7bf819cb36f451596b8715000be6a93656b972dc6c4d90a8a8534a6c88874a0be8140f2f091
28 -DIST setuptools-60.5.0.tar.gz 2292478 BLAKE2B e41b2717b34d454b3959ee5b6f4fdc70dfec13d97fe6962bd1c1ea2296be8ee2d27bb14ed2cc5e6fb9a757661a0415984b3cf7cf1665347c62a50965f651f9d4 SHA512 b2cf7d99e60d0c862a7a4fd8e806019db52502de48ff77556df26ce39a8620f476de767e2e8be8aa260366f54d1429db8a42d538345ec2cd2cfd5286e62e770d
29 -DIST setuptools-60.9.2.tar.gz 2425956 BLAKE2B 09baded7eef555ebd76db1672d69cd06cf6bcfc1126ba0fb0143b038d6599998f53460afc914f761d44ff25710802f6f371a793dca60040240cc328da0a3ea92 SHA512 be99bee951797632a68d08b94e0b604763662c13f58cecc872615081036081b3d72c5c468af47649449d6f7422f52ee99cf2f87fa9c840d10f98cd0217c0cff2
30 -DIST setuptools-61.3.0.gh.tar.gz 2643769 BLAKE2B 4ede87e7a597a6916dc089c311b0e4d098b08debbd1c4a9cb97078730e9cdc8dbcacd4236ca98a42e3cfafdf66d8f39bb64bc9135291335224b1c3b0bf79deff SHA512 35e2b848cf79e577b8c469562cb68a80b27d42d2d9c1c94f84fea9beb85e2db0796ed64d414add67a404d801c4f4e6cd489a72153de4dc8ed8b45fab24c28fd9
31 -DIST setuptools-61.3.1.tar.gz 2508220 BLAKE2B be59b7f666d8cc583b98b73d681eddf2d15e1437f05ddb534cb6e95bf458aed01a6e136ddc10bef2b2f66fe3f888187ece8262906079f1321f194e03a93fccca SHA512 463f2203416a298f65b66199fd62941ed32fc0914a4b6afff74b4abb8db37c063ab208a67383b5a7e6108a8c1ed0fda0fbb6b47d8fbc95c68b9e23e4ba152aec
32 -DIST setuptools-62.0.0.tar.gz 2512032 BLAKE2B 688afed5a19e70a0fd7ab91a8d137e6641597d9f9acf31826216cd59e4632872a9661fe9ca18e45aec5cd40e52956147aa8d40ac2c376380ffa0f01dc2997e63 SHA512 9017ab055c81063eaf741d45bd2479fcf85d15795bdcf0fa55522d194a69b5a912cbdba94e9eeaa6cf2a6cdaa5dda09604205d6e02d56e7c9fd3be4c1c79ba0a
33 DIST setuptools-62.1.0.tar.gz 2512885 BLAKE2B a26a6bd5001922885b623bc7f1d42da90c59e6d9e195e9dd292ce2e73cd35a51f07fc714261c12db2fdf4510fa1137f57e7f3f649312f6a75035b9d927936a7c SHA512 41f39b5aa22e908c123e8e04c11e505e23cd3aaaae72793e106015dc14b1a44ff3b17aa15ca3da34f34a4becc887ceea7f41932650e38d409f95d7227707d2e1
34
35 diff --git a/dev-python/setuptools/setuptools-60.5.0.ebuild b/dev-python/setuptools/setuptools-60.5.0.ebuild
36 deleted file mode 100644
37 index dc855eb59064..000000000000
38 --- a/dev-python/setuptools/setuptools-60.5.0.ebuild
39 +++ /dev/null
40 @@ -1,96 +0,0 @@
41 -# Copyright 1999-2022 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/build[${PYTHON_USEDEP}]
70 - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
71 - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}]
72 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
73 - dev-python/mock[${PYTHON_USEDEP}]
74 - dev-python/pip[${PYTHON_USEDEP}]
75 - dev-python/sphinx[${PYTHON_USEDEP}]
76 - dev-python/pytest[${PYTHON_USEDEP}]
77 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
78 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
79 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
80 - dev-python/tomli[${PYTHON_USEDEP}]
81 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
82 - dev-python/wheel[${PYTHON_USEDEP}]
83 - ' python3_{8..10} pypy3)
84 - )
85 -"
86 -PDEPEND="
87 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
88 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
89 -
90 -# Force in-source build because build system modifies sources.
91 -DISTUTILS_IN_SOURCE_BUILD=1
92 -
93 -DOCS=( {CHANGES,README}.rst )
94 -
95 -src_prepare() {
96 - # apply distutils patches to the bundled distutils
97 - pushd setuptools/_distutils >/dev/null || die
98 - # TODO: distutils C++ patch?
99 - eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch"
100 - popd >/dev/null || die
101 -
102 - distutils-r1_src_prepare
103 -}
104 -
105 -python_test() {
106 - local -x SETUPTOOLS_USE_DISTUTILS=stdlib
107 -
108 - # keep in sync with python_gen_cond_dep above!
109 - has "${EPYTHON}" python3.{8..10} pypy3 || return
110 -
111 - distutils_install_for_testing
112 - local EPYTEST_DESELECT=(
113 - # network
114 - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
115 - setuptools/tests/test_distutils_adoption.py
116 - setuptools/tests/test_virtualenv.py::test_clean_env_install
117 - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
118 - 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'
119 - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
120 - # unhappy with pytest-xdist?
121 - setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index
122 - # TODO
123 - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
124 - setuptools/tests/test_test.py::test_tests_are_run_once
125 - )
126 -
127 - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
128 - # It tries to sandbox the test in a tempdir
129 - HOME="${PWD}" epytest \
130 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools
131 -}
132 -
133 -python_install() {
134 - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
135 - distutils-r1_python_install
136 -}
137
138 diff --git a/dev-python/setuptools/setuptools-60.9.2.ebuild b/dev-python/setuptools/setuptools-60.9.2.ebuild
139 deleted file mode 100644
140 index 824ccd965cc4..000000000000
141 --- a/dev-python/setuptools/setuptools-60.9.2.ebuild
142 +++ /dev/null
143 @@ -1,113 +0,0 @@
144 -# Copyright 1999-2022 Gentoo Authors
145 -# Distributed under the terms of the GNU General Public License v2
146 -
147 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
148 -EAPI=7
149 -
150 -DISTUTILS_USE_PEP517=standalone
151 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
152 -PYTHON_REQ_USE="xml(+)"
153 -
154 -inherit distutils-r1 multiprocessing
155 -
156 -CPY_PATCHSET="python-gentoo-patches-3.10.0_p1"
157 -DESCRIPTION="Collection of extensions to Distutils"
158 -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
159 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
160 - https://dev.gentoo.org/~floppym/python/${CPY_PATCHSET}.tar.xz"
161 -
162 -LICENSE="MIT"
163 -SLOT="0"
164 -KEYWORDS="~alpha amd64 arm arm64 hppa ~m68k ~mips ppc ppc64 ~riscv sparc x86"
165 -IUSE="test"
166 -RESTRICT="!test? ( test )"
167 -
168 -RDEPEND="
169 - >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}]
170 - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}]
171 - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
172 - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]
173 - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}]
174 - $(python_gen_cond_dep '
175 - >=dev-python/importlib_metadata-4.10.1-r1[${PYTHON_USEDEP}]
176 - ' python3_{8,9} pypy3)
177 - $(python_gen_cond_dep '
178 - >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}]
179 - ' python3_8 pypy3)
180 -"
181 -BDEPEND="
182 - ${RDEPEND}
183 - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}]
184 - test? (
185 - $(python_gen_cond_dep '
186 - dev-python/build[${PYTHON_USEDEP}]
187 - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
188 - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}]
189 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
190 - dev-python/mock[${PYTHON_USEDEP}]
191 - dev-python/pip[${PYTHON_USEDEP}]
192 - dev-python/pip-run[${PYTHON_USEDEP}]
193 - dev-python/sphinx[${PYTHON_USEDEP}]
194 - dev-python/pytest[${PYTHON_USEDEP}]
195 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
196 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
197 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
198 - dev-python/tomli[${PYTHON_USEDEP}]
199 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
200 - dev-python/wheel[${PYTHON_USEDEP}]
201 - ' python3_{8..10} pypy3)
202 - )
203 -"
204 -PDEPEND="
205 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
206 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
207 -
208 -DOCS=( {CHANGES,README}.rst )
209 -
210 -src_prepare() {
211 - # remove bundled dependencies, setuptools will switch to system deps
212 - # automatically
213 - rm -r */_vendor || die
214 -
215 - # remove the ugly */extern hack that breaks on unvendored deps
216 - rm -r */extern || die
217 - find -name '*.py' -exec sed \
218 - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \
219 - -i {} + || die
220 -
221 - # apply distutils patches to the bundled distutils
222 - pushd setuptools/_distutils >/dev/null || die
223 - # TODO: distutils C++ patch?
224 - eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch"
225 - popd >/dev/null || die
226 -
227 - distutils-r1_src_prepare
228 -}
229 -
230 -python_test() {
231 - local -x SETUPTOOLS_USE_DISTUTILS=stdlib
232 -
233 - # keep in sync with python_gen_cond_dep above!
234 - has "${EPYTHON}" python3.{8..10} pypy3 || return
235 -
236 - local EPYTEST_DESELECT=(
237 - # network
238 - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
239 - setuptools/tests/test_distutils_adoption.py
240 - setuptools/tests/test_virtualenv.py::test_clean_env_install
241 - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
242 - 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'
243 - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
244 - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests
245 - # unhappy with pytest-xdist?
246 - setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index
247 - # TODO
248 - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
249 - setuptools/tests/test_test.py::test_tests_are_run_once
250 - )
251 -
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}" epytest \
255 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools
256 -}
257
258 diff --git a/dev-python/setuptools/setuptools-61.3.0.ebuild b/dev-python/setuptools/setuptools-61.3.0.ebuild
259 deleted file mode 100644
260 index 297662e04bc9..000000000000
261 --- a/dev-python/setuptools/setuptools-61.3.0.ebuild
262 +++ /dev/null
263 @@ -1,131 +0,0 @@
264 -# Copyright 1999-2022 Gentoo Authors
265 -# Distributed under the terms of the GNU General Public License v2
266 -
267 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
268 -EAPI=7
269 -
270 -DISTUTILS_USE_PEP517=standalone
271 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
272 -PYTHON_REQ_USE="xml(+)"
273 -
274 -inherit distutils-r1 multiprocessing
275 -
276 -CPY_PATCHSET="python-gentoo-patches-3.10.0_p1"
277 -DESCRIPTION="Collection of extensions to Distutils"
278 -HOMEPAGE="
279 - https://github.com/pypa/setuptools/
280 - https://pypi.org/project/setuptools/
281 -"
282 -SRC_URI="
283 - https://github.com/pypa/setuptools/archive/v${PV}.tar.gz
284 - -> ${P}.gh.tar.gz
285 - https://dev.gentoo.org/~floppym/python/${CPY_PATCHSET}.tar.xz
286 -"
287 -
288 -LICENSE="MIT"
289 -SLOT="0"
290 -KEYWORDS="~amd64 ~x86"
291 -IUSE="test"
292 -RESTRICT="!test? ( test )"
293 -
294 -RDEPEND="
295 - >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}]
296 - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}]
297 - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
298 - dev-python/nspektr[${PYTHON_USEDEP}]
299 - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]
300 - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}]
301 - $(python_gen_cond_dep '
302 - >=dev-python/importlib_metadata-4.10.1-r1[${PYTHON_USEDEP}]
303 - ' 3.8 3.9)
304 - $(python_gen_cond_dep '
305 - >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}]
306 - ' 3.8)
307 -"
308 -BDEPEND="
309 - ${RDEPEND}
310 - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}]
311 - test? (
312 - $(python_gen_cond_dep '
313 - dev-python/build[${PYTHON_USEDEP}]
314 - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}]
315 - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
316 - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}]
317 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
318 - dev-python/mock[${PYTHON_USEDEP}]
319 - dev-python/pip[${PYTHON_USEDEP}]
320 - dev-python/pip-run[${PYTHON_USEDEP}]
321 - dev-python/sphinx[${PYTHON_USEDEP}]
322 - dev-python/pytest[${PYTHON_USEDEP}]
323 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
324 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
325 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
326 - dev-python/tomli[${PYTHON_USEDEP}]
327 - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}]
328 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
329 - dev-python/wheel[${PYTHON_USEDEP}]
330 - ' python3_{8..10} pypy3)
331 - )
332 -"
333 -PDEPEND="
334 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
335 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
336 -"
337 -
338 -DOCS=( {CHANGES,README}.rst )
339 -
340 -src_prepare() {
341 - # remove bundled dependencies, setuptools will switch to system deps
342 - # automatically
343 - rm -r */_vendor || die
344 -
345 - # remove the ugly */extern hack that breaks on unvendored deps
346 - rm -r */extern || die
347 - find -name '*.py' -exec sed \
348 - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \
349 - -i {} + || die
350 -
351 - # apply distutils patches to the bundled distutils
352 - pushd setuptools/_distutils >/dev/null || die
353 - # TODO: distutils C++ patch?
354 - eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch"
355 - popd >/dev/null || die
356 -
357 - distutils-r1_src_prepare
358 -
359 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
360 -}
361 -
362 -python_test() {
363 - local -x SETUPTOOLS_USE_DISTUTILS=stdlib
364 -
365 - # keep in sync with python_gen_cond_dep above!
366 - has "${EPYTHON}" python3.{8..10} pypy3 || return
367 -
368 - local EPYTEST_DESELECT=(
369 - # network
370 - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps
371 - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
372 - setuptools/tests/test_distutils_adoption.py
373 - setuptools/tests/test_virtualenv.py::test_clean_env_install
374 - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
375 - 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'
376 - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
377 - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests
378 - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg
379 - # unhappy with pytest-xdist?
380 - setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index
381 - # TODO
382 - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
383 - setuptools/tests/test_test.py::test_tests_are_run_once
384 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic
385 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors
386 - # expects bundled deps in virtualenv
387 - setuptools/tests/test_editable_install.py::test_editable_with_pyproject
388 - )
389 -
390 - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
391 - # It tries to sandbox the test in a tempdir
392 - HOME="${PWD}" epytest \
393 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools
394 -}
395
396 diff --git a/dev-python/setuptools/setuptools-61.3.1-r1.ebuild b/dev-python/setuptools/setuptools-61.3.1-r1.ebuild
397 deleted file mode 100644
398 index 722c799e855f..000000000000
399 --- a/dev-python/setuptools/setuptools-61.3.1-r1.ebuild
400 +++ /dev/null
401 @@ -1,132 +0,0 @@
402 -# Copyright 1999-2022 Gentoo Authors
403 -# Distributed under the terms of the GNU General Public License v2
404 -
405 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
406 -EAPI=7
407 -
408 -DISTUTILS_USE_PEP517=standalone
409 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
410 -PYTHON_REQ_USE="xml(+)"
411 -
412 -inherit distutils-r1 multiprocessing
413 -
414 -CPY_PATCHSET="python-gentoo-patches-3.10.0_p1"
415 -DESCRIPTION="Collection of extensions to Distutils"
416 -HOMEPAGE="
417 - https://github.com/pypa/setuptools/
418 - https://pypi.org/project/setuptools/
419 -"
420 -SRC_URI="
421 - mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
422 - https://dev.gentoo.org/~floppym/python/${CPY_PATCHSET}.tar.xz
423 -"
424 -
425 -LICENSE="MIT"
426 -SLOT="0"
427 -KEYWORDS="~amd64 ~m68k ~x86"
428 -IUSE="test"
429 -RESTRICT="!test? ( test )"
430 -
431 -RDEPEND="
432 - >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}]
433 - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}]
434 - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
435 - dev-python/nspektr[${PYTHON_USEDEP}]
436 - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]
437 - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}]
438 - $(python_gen_cond_dep '
439 - >=dev-python/importlib_metadata-4.10.1-r1[${PYTHON_USEDEP}]
440 - ' 3.8 3.9)
441 - $(python_gen_cond_dep '
442 - >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}]
443 - ' 3.8)
444 -"
445 -BDEPEND="
446 - ${RDEPEND}
447 - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}]
448 - test? (
449 - $(python_gen_cond_dep '
450 - dev-python/build[${PYTHON_USEDEP}]
451 - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}]
452 - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
453 - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}]
454 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
455 - dev-python/mock[${PYTHON_USEDEP}]
456 - dev-python/pip[${PYTHON_USEDEP}]
457 - dev-python/pip-run[${PYTHON_USEDEP}]
458 - dev-python/sphinx[${PYTHON_USEDEP}]
459 - dev-python/pytest[${PYTHON_USEDEP}]
460 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
461 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
462 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
463 - dev-python/tomli[${PYTHON_USEDEP}]
464 - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}]
465 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
466 - dev-python/wheel[${PYTHON_USEDEP}]
467 - ' python3_{8..10} pypy3)
468 - )
469 -"
470 -PDEPEND="
471 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
472 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
473 -"
474 -
475 -DOCS=( {CHANGES,README}.rst )
476 -
477 -src_prepare() {
478 - # remove bundled dependencies, setuptools will switch to system deps
479 - # automatically
480 - rm -r */_vendor || die
481 -
482 - # remove the ugly */extern hack that breaks on unvendored deps
483 - rm -r */extern || die
484 - find -name '*.py' -exec sed \
485 - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \
486 - -i {} + || die
487 -
488 - # apply distutils patches to the bundled distutils
489 - pushd setuptools/_distutils >/dev/null || die
490 - # TODO: distutils C++ patch?
491 - eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch"
492 - popd >/dev/null || die
493 -
494 - distutils-r1_src_prepare
495 -
496 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
497 -}
498 -
499 -python_test() {
500 - local -x SETUPTOOLS_USE_DISTUTILS=stdlib
501 -
502 - # keep in sync with python_gen_cond_dep above!
503 - has "${EPYTHON}" python3.{8..10} pypy3 || return
504 -
505 - local EPYTEST_DESELECT=(
506 - # network
507 - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps
508 - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
509 - setuptools/tests/test_distutils_adoption.py
510 - setuptools/tests/test_virtualenv.py::test_clean_env_install
511 - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
512 - 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'
513 - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
514 - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests
515 - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg
516 - # unhappy with pytest-xdist?
517 - setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index
518 - # TODO
519 - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
520 - setuptools/tests/test_test.py::test_tests_are_run_once
521 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic
522 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors
523 - # expects bundled deps in virtualenv
524 - setuptools/tests/test_editable_install.py::test_editable_with_pyproject
525 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist
526 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel
527 - )
528 -
529 - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
530 - # It tries to sandbox the test in a tempdir
531 - HOME="${PWD}" epytest \
532 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools
533 -}
534
535 diff --git a/dev-python/setuptools/setuptools-62.0.0.ebuild b/dev-python/setuptools/setuptools-62.0.0.ebuild
536 deleted file mode 100644
537 index c790346b25a3..000000000000
538 --- a/dev-python/setuptools/setuptools-62.0.0.ebuild
539 +++ /dev/null
540 @@ -1,132 +0,0 @@
541 -# Copyright 1999-2022 Gentoo Authors
542 -# Distributed under the terms of the GNU General Public License v2
543 -
544 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
545 -EAPI=7
546 -
547 -DISTUTILS_USE_PEP517=standalone
548 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
549 -PYTHON_REQ_USE="xml(+)"
550 -
551 -inherit distutils-r1 multiprocessing
552 -
553 -CPY_PATCHSET="python-gentoo-patches-3.10.4"
554 -DESCRIPTION="Collection of extensions to Distutils"
555 -HOMEPAGE="
556 - https://github.com/pypa/setuptools/
557 - https://pypi.org/project/setuptools/
558 -"
559 -SRC_URI="
560 - mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
561 - https://dev.gentoo.org/~mgorny/dist/python/${CPY_PATCHSET}.tar.xz
562 -"
563 -
564 -LICENSE="MIT"
565 -SLOT="0"
566 -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~m68k ~s390 ~x86 ~x64-solaris"
567 -IUSE="test"
568 -RESTRICT="!test? ( test )"
569 -
570 -RDEPEND="
571 - >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}]
572 - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}]
573 - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
574 - dev-python/nspektr[${PYTHON_USEDEP}]
575 - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]
576 - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}]
577 - $(python_gen_cond_dep '
578 - >=dev-python/importlib_metadata-4.10.1-r1[${PYTHON_USEDEP}]
579 - ' 3.8 3.9)
580 - $(python_gen_cond_dep '
581 - >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}]
582 - ' 3.8)
583 -"
584 -BDEPEND="
585 - ${RDEPEND}
586 - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}]
587 - test? (
588 - $(python_gen_cond_dep '
589 - dev-python/build[${PYTHON_USEDEP}]
590 - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}]
591 - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
592 - >=dev-python/jaraco-envs-2.2[${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/pip-run[${PYTHON_USEDEP}]
597 - dev-python/sphinx[${PYTHON_USEDEP}]
598 - dev-python/pytest[${PYTHON_USEDEP}]
599 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
600 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
601 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
602 - dev-python/tomli[${PYTHON_USEDEP}]
603 - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}]
604 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
605 - dev-python/wheel[${PYTHON_USEDEP}]
606 - ' python3_{8..10} pypy3)
607 - )
608 -"
609 -PDEPEND="
610 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
611 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
612 -"
613 -
614 -DOCS=( {CHANGES,README}.rst )
615 -
616 -src_prepare() {
617 - # remove bundled dependencies, setuptools will switch to system deps
618 - # automatically
619 - rm -r */_vendor || die
620 -
621 - # remove the ugly */extern hack that breaks on unvendored deps
622 - rm -r */extern || die
623 - find -name '*.py' -exec sed \
624 - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \
625 - -i {} + || die
626 -
627 - # apply distutils patches to the bundled distutils
628 - pushd setuptools/_distutils >/dev/null || die
629 - # TODO: distutils C++ patch?
630 - eapply -p3 "${WORKDIR}/${CPY_PATCHSET}/0006-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch"
631 - popd >/dev/null || die
632 -
633 - distutils-r1_src_prepare
634 -
635 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
636 -}
637 -
638 -python_test() {
639 - local -x SETUPTOOLS_USE_DISTUTILS=stdlib
640 -
641 - # keep in sync with python_gen_cond_dep above!
642 - has "${EPYTHON}" python3.{8..10} pypy3 || return
643 -
644 - local EPYTEST_DESELECT=(
645 - # network
646 - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps
647 - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
648 - setuptools/tests/test_distutils_adoption.py
649 - setuptools/tests/test_virtualenv.py::test_clean_env_install
650 - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
651 - 'setuptools/tests/test_virtualenv.py::test_pip_upgrade_from_source[None]'
652 - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
653 - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests
654 - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg
655 - # unhappy with pytest-xdist?
656 - setuptools/tests/test_easy_install.py::TestUserInstallTest::test_local_index
657 - # TODO
658 - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
659 - setuptools/tests/test_test.py::test_tests_are_run_once
660 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic
661 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors
662 - # expects bundled deps in virtualenv
663 - setuptools/tests/test_editable_install.py::test_editable_with_pyproject
664 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist
665 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel
666 - )
667 -
668 - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
669 - # It tries to sandbox the test in a tempdir
670 - HOME="${PWD}" epytest \
671 - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" setuptools
672 -}