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: Tue, 06 Sep 2022 20:36:01
Message-Id: 1662496498.a3d904e0353dbb98ee9a506ac0cbf1236aa520e3.mgorny@gentoo
1 commit: a3d904e0353dbb98ee9a506ac0cbf1236aa520e3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 6 20:34:58 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 6 20:34:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3d904e0
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 | 4 -
13 dev-python/setuptools/setuptools-63.2.0.ebuild | 123 ------------------------
14 dev-python/setuptools/setuptools-63.3.0.ebuild | 125 -------------------------
15 dev-python/setuptools/setuptools-63.4.1.ebuild | 125 -------------------------
16 dev-python/setuptools/setuptools-63.4.2.ebuild | 125 -------------------------
17 5 files changed, 502 deletions(-)
18
19 diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest
20 index 7029ff83bd89..3c8069623511 100644
21 --- a/dev-python/setuptools/Manifest
22 +++ b/dev-python/setuptools/Manifest
23 @@ -1,7 +1,3 @@
24 -DIST setuptools-63.2.0.tar.gz 2605892 BLAKE2B c9475a64fbe22be348277d25582a0c1789544822a891ebfb8e8e79b122631d31bf3535aac1b408a254c1f29ea9ca20bd9b270e4d78ddc539aea4e3c59a6e7f7b SHA512 e55c19bb95415a5f831fd23dfc32cb79fdad71867bc225f2a76caecb3c188fa6a5dac8d13e131a97d1833672a245b28a53a11ceafd67ac19cacd4a247ba7d291
25 -DIST setuptools-63.3.0.tar.gz 2598685 BLAKE2B 8562824cf6e45f2757cbaf4360c0b7c8e592233875a00e5490de5f2af47ca2d43a6feac5876ca9e866fb840c62dc1b0aa2b2d7c1e5e9baf34741404803b02d31 SHA512 01f3b658862f70e8ce2dd74d9dd82a293216b356f1f3abb3b6b4fa77dd5347156a58959da6e6df349a1c114d58f617890e4bc8c6603f06be0fb3caec9bf21fe2
26 -DIST setuptools-63.4.1.tar.gz 2598515 BLAKE2B ae75b12d18e35c0d7d48c43eaf8f114dafc739253f672eb3ff2646a8951d0895df95c2d46fd77bb42aeca49a460e652eff41ac109fff24460fbcf02f7400faa1 SHA512 525bba1c07370a633c827629879bd4bf0147aec461ed2d935eaade21635527515eef6bdd1c8809304522cc890929ae0b12a5357e0035807d04cb8fb5a65fbf39
27 -DIST setuptools-63.4.2.tar.gz 2600520 BLAKE2B e5cedf9f5e58044ec74e45b7232ef64680854ba7be8f2c22e33373c7a8f5fc80578f99c9103eb81bc609fef56021fc7a311b03682842facea019d14387031f89 SHA512 a9cb002f3c9fd3e8ed189f800c45a9ab7bc51640430585226f290c2d6b24655999fbe827ddcc30fdd7f8a6ebd5e87dfc085d2ae1efbf35968213bb7dc77eeaee
28 DIST setuptools-63.4.3.tar.gz 2600453 BLAKE2B 927be74bdc11271589134aca26849e61c5ae23d5780a57c96b9c4a9fe5f93e57fa8a80787c8db1c555f32fab1e007a956e91a374ed285db393e26d9486805ef9 SHA512 f19478921ffcf5441ec60a2af17c695456fee064f287e2130c4ff14d471a1124bd37104ad43adc7623ea0cba4ed170ed4aa37c6883aff8fd811ab960e6d12453
29 DIST setuptools-64.0.3.tar.gz 2631478 BLAKE2B ff21a4cf81aed36561ac5a0da7d44c1cbe714bbd39de30041c48134c8e1204ad9edcb74540c392e4f4cf01ea161ae0ca4bdc55319e015748069986f30aa2d337 SHA512 0333322479d40b9d30187bcbb3ceadc5dd5ef8a5dcbcebc75f451b9fea06a5b7ca5d5db44c39278d62e932df7f563578c86fcd2cab9a41000caf15374a5cf182
30 DIST setuptools-65.0.2.tar.gz 2619562 BLAKE2B e00e6ff7fd18c77c3924151bdbb40b36243b48eb389b67cee3279a82abd41943e08b4f8b7422edcce67b90e4c989fc170d96b140a18c78918ca7970039af8b29 SHA512 ccaf438b78a0d33ec4ec606f0fe64dcaf306dfe8935076b7534b984d0c0bfdf023d37a2b50e94572d54a5c8150e1458baabe811a4236410aedb75ee2a9215862
31
32 diff --git a/dev-python/setuptools/setuptools-63.2.0.ebuild b/dev-python/setuptools/setuptools-63.2.0.ebuild
33 deleted file mode 100644
34 index 46976e01afd9..000000000000
35 --- a/dev-python/setuptools/setuptools-63.2.0.ebuild
36 +++ /dev/null
37 @@ -1,123 +0,0 @@
38 -# Copyright 1999-2022 Gentoo Authors
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
42 -EAPI=7
43 -
44 -DISTUTILS_USE_PEP517=standalone
45 -PYTHON_TESTED=( python3_{8..11} pypy3 )
46 -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
47 -PYTHON_REQ_USE="xml(+)"
48 -
49 -inherit distutils-r1 multiprocessing
50 -
51 -DESCRIPTION="Collection of extensions to Distutils"
52 -HOMEPAGE="
53 - https://github.com/pypa/setuptools/
54 - https://pypi.org/project/setuptools/
55 -"
56 -SRC_URI="
57 - mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
58 -"
59 -
60 -LICENSE="MIT"
61 -SLOT="0"
62 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
63 -IUSE="test"
64 -RESTRICT="!test? ( test )"
65 -
66 -RDEPEND="
67 - >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}]
68 - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}]
69 - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
70 - >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}]
71 - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]
72 - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}]
73 - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
74 - $(python_gen_cond_dep '
75 - >=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}]
76 - ' 3.8 3.9)
77 - $(python_gen_cond_dep '
78 - >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}]
79 - ' 3.8)
80 -"
81 -BDEPEND="
82 - ${RDEPEND}
83 - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}]
84 - test? (
85 - $(python_gen_cond_dep '
86 - dev-python/build[${PYTHON_USEDEP}]
87 - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}]
88 - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
89 - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}]
90 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
91 - dev-python/mock[${PYTHON_USEDEP}]
92 - dev-python/pip[${PYTHON_USEDEP}]
93 - dev-python/pip-run[${PYTHON_USEDEP}]
94 - dev-python/pytest[${PYTHON_USEDEP}]
95 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
96 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
97 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
98 - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}]
99 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
100 - dev-python/wheel[${PYTHON_USEDEP}]
101 - ' "${PYTHON_TESTED[@]}")
102 - )
103 -"
104 -PDEPEND="
105 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
106 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
107 -"
108 -
109 -DOCS=( {CHANGES,README}.rst )
110 -
111 -src_prepare() {
112 - local PATCHES=(
113 - # TODO: remove this when we're 100% PEP517 mode
114 - "${FILESDIR}"/setuptools-62.4.0-py-compile.patch
115 - )
116 -
117 - # remove bundled dependencies, setuptools will switch to system deps
118 - # automatically
119 - rm -r */_vendor || die
120 -
121 - # remove the ugly */extern hack that breaks on unvendored deps
122 - rm -r */extern || die
123 - find -name '*.py' -exec sed \
124 - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \
125 - -i {} + || die
126 -
127 - distutils-r1_src_prepare
128 -
129 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
130 -}
131 -
132 -python_test() {
133 - local -x SETUPTOOLS_USE_DISTUTILS=stdlib
134 -
135 - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
136 - return
137 - fi
138 -
139 - local EPYTEST_DESELECT=(
140 - # network
141 - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps
142 - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg
143 - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
144 - setuptools/tests/test_distutils_adoption.py
145 - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests
146 - setuptools/tests/test_virtualenv.py::test_clean_env_install
147 - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
148 - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
149 - # TODO
150 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic
151 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors
152 - setuptools/tests/test_extern.py::test_distribution_picklable
153 - # expects bundled deps in virtualenv
154 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist
155 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel
156 - setuptools/tests/test_editable_install.py::test_editable_with_pyproject
157 - )
158 -
159 - epytest -n "$(makeopts_jobs)" setuptools
160 -}
161
162 diff --git a/dev-python/setuptools/setuptools-63.3.0.ebuild b/dev-python/setuptools/setuptools-63.3.0.ebuild
163 deleted file mode 100644
164 index e6015c0fc03f..000000000000
165 --- a/dev-python/setuptools/setuptools-63.3.0.ebuild
166 +++ /dev/null
167 @@ -1,125 +0,0 @@
168 -# Copyright 1999-2022 Gentoo Authors
169 -# Distributed under the terms of the GNU General Public License v2
170 -
171 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
172 -EAPI=7
173 -
174 -# please bump dev-python/ensurepip-wheels along with this package!
175 -
176 -DISTUTILS_USE_PEP517=standalone
177 -PYTHON_TESTED=( python3_{8..11} pypy3 )
178 -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
179 -PYTHON_REQ_USE="xml(+)"
180 -
181 -inherit distutils-r1 multiprocessing
182 -
183 -DESCRIPTION="Collection of extensions to Distutils"
184 -HOMEPAGE="
185 - https://github.com/pypa/setuptools/
186 - https://pypi.org/project/setuptools/
187 -"
188 -SRC_URI="
189 - mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
190 -"
191 -
192 -LICENSE="MIT"
193 -SLOT="0"
194 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
195 -IUSE="test"
196 -RESTRICT="!test? ( test )"
197 -
198 -RDEPEND="
199 - >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}]
200 - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}]
201 - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
202 - >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}]
203 - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]
204 - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}]
205 - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
206 - $(python_gen_cond_dep '
207 - >=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}]
208 - ' 3.8 3.9)
209 - $(python_gen_cond_dep '
210 - >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}]
211 - ' 3.8)
212 -"
213 -BDEPEND="
214 - ${RDEPEND}
215 - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}]
216 - test? (
217 - $(python_gen_cond_dep '
218 - dev-python/build[${PYTHON_USEDEP}]
219 - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}]
220 - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
221 - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}]
222 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
223 - dev-python/mock[${PYTHON_USEDEP}]
224 - dev-python/pip[${PYTHON_USEDEP}]
225 - dev-python/pip-run[${PYTHON_USEDEP}]
226 - dev-python/pytest[${PYTHON_USEDEP}]
227 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
228 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
229 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
230 - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}]
231 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
232 - dev-python/wheel[${PYTHON_USEDEP}]
233 - ' "${PYTHON_TESTED[@]}")
234 - )
235 -"
236 -PDEPEND="
237 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
238 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
239 -"
240 -
241 -DOCS=( {CHANGES,README}.rst )
242 -
243 -src_prepare() {
244 - local PATCHES=(
245 - # TODO: remove this when we're 100% PEP517 mode
246 - "${FILESDIR}"/setuptools-62.4.0-py-compile.patch
247 - )
248 -
249 - # remove bundled dependencies, setuptools will switch to system deps
250 - # automatically
251 - rm -r */_vendor || die
252 -
253 - # remove the ugly */extern hack that breaks on unvendored deps
254 - rm -r */extern || die
255 - find -name '*.py' -exec sed \
256 - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \
257 - -i {} + || die
258 -
259 - distutils-r1_src_prepare
260 -
261 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
262 -}
263 -
264 -python_test() {
265 - local -x SETUPTOOLS_USE_DISTUTILS=stdlib
266 -
267 - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
268 - return
269 - fi
270 -
271 - local EPYTEST_DESELECT=(
272 - # network
273 - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps
274 - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg
275 - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
276 - setuptools/tests/test_distutils_adoption.py
277 - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests
278 - setuptools/tests/test_virtualenv.py::test_clean_env_install
279 - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
280 - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
281 - # TODO
282 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic
283 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors
284 - setuptools/tests/test_extern.py::test_distribution_picklable
285 - # expects bundled deps in virtualenv
286 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist
287 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel
288 - setuptools/tests/test_editable_install.py::test_editable_with_pyproject
289 - )
290 -
291 - epytest -n "$(makeopts_jobs)" setuptools
292 -}
293
294 diff --git a/dev-python/setuptools/setuptools-63.4.1.ebuild b/dev-python/setuptools/setuptools-63.4.1.ebuild
295 deleted file mode 100644
296 index e6015c0fc03f..000000000000
297 --- a/dev-python/setuptools/setuptools-63.4.1.ebuild
298 +++ /dev/null
299 @@ -1,125 +0,0 @@
300 -# Copyright 1999-2022 Gentoo Authors
301 -# Distributed under the terms of the GNU General Public License v2
302 -
303 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
304 -EAPI=7
305 -
306 -# please bump dev-python/ensurepip-wheels along with this package!
307 -
308 -DISTUTILS_USE_PEP517=standalone
309 -PYTHON_TESTED=( python3_{8..11} pypy3 )
310 -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
311 -PYTHON_REQ_USE="xml(+)"
312 -
313 -inherit distutils-r1 multiprocessing
314 -
315 -DESCRIPTION="Collection of extensions to Distutils"
316 -HOMEPAGE="
317 - https://github.com/pypa/setuptools/
318 - https://pypi.org/project/setuptools/
319 -"
320 -SRC_URI="
321 - mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
322 -"
323 -
324 -LICENSE="MIT"
325 -SLOT="0"
326 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
327 -IUSE="test"
328 -RESTRICT="!test? ( test )"
329 -
330 -RDEPEND="
331 - >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}]
332 - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}]
333 - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
334 - >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}]
335 - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]
336 - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}]
337 - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
338 - $(python_gen_cond_dep '
339 - >=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}]
340 - ' 3.8 3.9)
341 - $(python_gen_cond_dep '
342 - >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}]
343 - ' 3.8)
344 -"
345 -BDEPEND="
346 - ${RDEPEND}
347 - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}]
348 - test? (
349 - $(python_gen_cond_dep '
350 - dev-python/build[${PYTHON_USEDEP}]
351 - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}]
352 - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
353 - >=dev-python/jaraco-envs-2.2[${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/pip-run[${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/tomli-w-1.0.0[${PYTHON_USEDEP}]
363 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
364 - dev-python/wheel[${PYTHON_USEDEP}]
365 - ' "${PYTHON_TESTED[@]}")
366 - )
367 -"
368 -PDEPEND="
369 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
370 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
371 -"
372 -
373 -DOCS=( {CHANGES,README}.rst )
374 -
375 -src_prepare() {
376 - local PATCHES=(
377 - # TODO: remove this when we're 100% PEP517 mode
378 - "${FILESDIR}"/setuptools-62.4.0-py-compile.patch
379 - )
380 -
381 - # remove bundled dependencies, setuptools will switch to system deps
382 - # automatically
383 - rm -r */_vendor || die
384 -
385 - # remove the ugly */extern hack that breaks on unvendored deps
386 - rm -r */extern || die
387 - find -name '*.py' -exec sed \
388 - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \
389 - -i {} + || die
390 -
391 - distutils-r1_src_prepare
392 -
393 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
394 -}
395 -
396 -python_test() {
397 - local -x SETUPTOOLS_USE_DISTUTILS=stdlib
398 -
399 - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
400 - return
401 - fi
402 -
403 - local EPYTEST_DESELECT=(
404 - # network
405 - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps
406 - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg
407 - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
408 - setuptools/tests/test_distutils_adoption.py
409 - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests
410 - setuptools/tests/test_virtualenv.py::test_clean_env_install
411 - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
412 - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
413 - # TODO
414 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic
415 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors
416 - setuptools/tests/test_extern.py::test_distribution_picklable
417 - # expects bundled deps in virtualenv
418 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist
419 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel
420 - setuptools/tests/test_editable_install.py::test_editable_with_pyproject
421 - )
422 -
423 - epytest -n "$(makeopts_jobs)" setuptools
424 -}
425
426 diff --git a/dev-python/setuptools/setuptools-63.4.2.ebuild b/dev-python/setuptools/setuptools-63.4.2.ebuild
427 deleted file mode 100644
428 index e6015c0fc03f..000000000000
429 --- a/dev-python/setuptools/setuptools-63.4.2.ebuild
430 +++ /dev/null
431 @@ -1,125 +0,0 @@
432 -# Copyright 1999-2022 Gentoo Authors
433 -# Distributed under the terms of the GNU General Public License v2
434 -
435 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
436 -EAPI=7
437 -
438 -# please bump dev-python/ensurepip-wheels along with this package!
439 -
440 -DISTUTILS_USE_PEP517=standalone
441 -PYTHON_TESTED=( python3_{8..11} pypy3 )
442 -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
443 -PYTHON_REQ_USE="xml(+)"
444 -
445 -inherit distutils-r1 multiprocessing
446 -
447 -DESCRIPTION="Collection of extensions to Distutils"
448 -HOMEPAGE="
449 - https://github.com/pypa/setuptools/
450 - https://pypi.org/project/setuptools/
451 -"
452 -SRC_URI="
453 - mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
454 -"
455 -
456 -LICENSE="MIT"
457 -SLOT="0"
458 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
459 -IUSE="test"
460 -RESTRICT="!test? ( test )"
461 -
462 -RDEPEND="
463 - >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}]
464 - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}]
465 - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
466 - >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}]
467 - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]
468 - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}]
469 - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
470 - $(python_gen_cond_dep '
471 - >=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}]
472 - ' 3.8 3.9)
473 - $(python_gen_cond_dep '
474 - >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}]
475 - ' 3.8)
476 -"
477 -BDEPEND="
478 - ${RDEPEND}
479 - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}]
480 - test? (
481 - $(python_gen_cond_dep '
482 - dev-python/build[${PYTHON_USEDEP}]
483 - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}]
484 - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
485 - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}]
486 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
487 - dev-python/mock[${PYTHON_USEDEP}]
488 - dev-python/pip[${PYTHON_USEDEP}]
489 - dev-python/pip-run[${PYTHON_USEDEP}]
490 - dev-python/pytest[${PYTHON_USEDEP}]
491 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
492 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
493 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
494 - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}]
495 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
496 - dev-python/wheel[${PYTHON_USEDEP}]
497 - ' "${PYTHON_TESTED[@]}")
498 - )
499 -"
500 -PDEPEND="
501 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
502 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
503 -"
504 -
505 -DOCS=( {CHANGES,README}.rst )
506 -
507 -src_prepare() {
508 - local PATCHES=(
509 - # TODO: remove this when we're 100% PEP517 mode
510 - "${FILESDIR}"/setuptools-62.4.0-py-compile.patch
511 - )
512 -
513 - # remove bundled dependencies, setuptools will switch to system deps
514 - # automatically
515 - rm -r */_vendor || die
516 -
517 - # remove the ugly */extern hack that breaks on unvendored deps
518 - rm -r */extern || die
519 - find -name '*.py' -exec sed \
520 - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \
521 - -i {} + || die
522 -
523 - distutils-r1_src_prepare
524 -
525 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
526 -}
527 -
528 -python_test() {
529 - local -x SETUPTOOLS_USE_DISTUTILS=stdlib
530 -
531 - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
532 - return
533 - fi
534 -
535 - local EPYTEST_DESELECT=(
536 - # network
537 - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps
538 - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg
539 - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
540 - setuptools/tests/test_distutils_adoption.py
541 - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests
542 - setuptools/tests/test_virtualenv.py::test_clean_env_install
543 - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
544 - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
545 - # TODO
546 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic
547 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors
548 - setuptools/tests/test_extern.py::test_distribution_picklable
549 - # expects bundled deps in virtualenv
550 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist
551 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel
552 - setuptools/tests/test_editable_install.py::test_editable_with_pyproject
553 - )
554 -
555 - epytest -n "$(makeopts_jobs)" setuptools
556 -}