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: Sun, 25 Sep 2022 19:31:31
Message-Id: 1664134283.0eb3331a464223092cfe9becb881aaa7039ad253.mgorny@gentoo
1 commit: 0eb3331a464223092cfe9becb881aaa7039ad253
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 25 18:57:54 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 25 19:31:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eb3331a
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 | 6 --
13 dev-python/setuptools/setuptools-63.4.3.ebuild | 125 ------------------------
14 dev-python/setuptools/setuptools-64.0.3.ebuild | 127 -------------------------
15 dev-python/setuptools/setuptools-65.0.2.ebuild | 127 -------------------------
16 dev-python/setuptools/setuptools-65.1.0.ebuild | 127 -------------------------
17 dev-python/setuptools/setuptools-65.1.1.ebuild | 127 -------------------------
18 dev-python/setuptools/setuptools-65.2.0.ebuild | 127 -------------------------
19 7 files changed, 766 deletions(-)
20
21 diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest
22 index b123c4712fc8..81c901b4556c 100644
23 --- a/dev-python/setuptools/Manifest
24 +++ b/dev-python/setuptools/Manifest
25 @@ -1,8 +1,2 @@
26 -DIST setuptools-63.4.3.tar.gz 2600453 BLAKE2B 927be74bdc11271589134aca26849e61c5ae23d5780a57c96b9c4a9fe5f93e57fa8a80787c8db1c555f32fab1e007a956e91a374ed285db393e26d9486805ef9 SHA512 f19478921ffcf5441ec60a2af17c695456fee064f287e2130c4ff14d471a1124bd37104ad43adc7623ea0cba4ed170ed4aa37c6883aff8fd811ab960e6d12453
27 -DIST setuptools-64.0.3.tar.gz 2631478 BLAKE2B ff21a4cf81aed36561ac5a0da7d44c1cbe714bbd39de30041c48134c8e1204ad9edcb74540c392e4f4cf01ea161ae0ca4bdc55319e015748069986f30aa2d337 SHA512 0333322479d40b9d30187bcbb3ceadc5dd5ef8a5dcbcebc75f451b9fea06a5b7ca5d5db44c39278d62e932df7f563578c86fcd2cab9a41000caf15374a5cf182
28 -DIST setuptools-65.0.2.tar.gz 2619562 BLAKE2B e00e6ff7fd18c77c3924151bdbb40b36243b48eb389b67cee3279a82abd41943e08b4f8b7422edcce67b90e4c989fc170d96b140a18c78918ca7970039af8b29 SHA512 ccaf438b78a0d33ec4ec606f0fe64dcaf306dfe8935076b7534b984d0c0bfdf023d37a2b50e94572d54a5c8150e1458baabe811a4236410aedb75ee2a9215862
29 -DIST setuptools-65.1.0.tar.gz 2614949 BLAKE2B 89f4556b292afa7b46e558ff059647798a720647287419515cd3717ac37c6511f6ce2976967ceed98d1a34946116ad2fd366ce509b86a8153dc581171ab9c129 SHA512 6b18647b7a8a4c22e3115f233eaf97f7f564badcc31b2e5ee762630bbff3ef7f59397ca05cc4dbce65191f480be43f5e92de79eeaf8de6d32f0a79d88814e7e5
30 -DIST setuptools-65.1.1.tar.gz 2615020 BLAKE2B 1c45d7106e5845b95e6eec52b72749f80f799f1c5695b39e79ae7b49f52c0eab39fba305a7d2cb54a852679479db3c512e562b52a931e6a325d640479e5d4399 SHA512 29ec01558d6f6432c82797313cf12f1b3125c2000d9582e89fff415f59362c44fbfa00340cfbc4f7f4f9898161b3b585058115d1bc5b4bbcdfc0991812f858a8
31 -DIST setuptools-65.2.0.tar.gz 2614890 BLAKE2B a2da0870eaa0d36200dcfcab3fc63ea641d7b8451467ada32e834e94a9d33f84428e517a402d5e64ee999b5b8c2a0fff20044781fa5227ce3e2cc2fcb8f0796a SHA512 84e6e23780e6ef2e0010d4574bebf373f25f6c1e833b4e914f510e2fb3eabdbe1155c8b7d2cfeb93fd59c73fd3ad5b47c7b54e00ffaffa9ea84cf33fa5a6ee69
32 DIST setuptools-65.3.0.tar.gz 2615722 BLAKE2B 1344fe17c1c2a4ec60dbf37b3e1cbad56bb5299bed9f8e30a21015f2457e1e90d6782369dfc2d804973e7348d22a356ec0ef75d1aeabba7d77e20e5ddf36e576 SHA512 3c173b1e1a8dbbed0bf3bf600df1256aeabf1b9dec34d5f5d0b1429b0fe16f2aa61fa6c4f400a5b6da24b9d679954866b76e019130bcf2246b138fe017025de9
33 DIST setuptools-65.4.0.tar.gz 2615629 BLAKE2B 778b0acf1a447fbc72043113da757d73ca5dc0df8e6be8dceff7e35d64a920793dca6098d8747bd66bfe1159236570bffb6f2545a0f89a2a7916f94f849b89a7 SHA512 4c8c6348fc5e9e2cc2d7b143b050103e7ed4252dd58ca5aae8d50ee9ec522789ecfbe61dd87513d47bfd1d4afc290a7abc07fd0a6e8d27155c6732111702032d
34
35 diff --git a/dev-python/setuptools/setuptools-63.4.3.ebuild b/dev-python/setuptools/setuptools-63.4.3.ebuild
36 deleted file mode 100644
37 index 60dfa52f8888..000000000000
38 --- a/dev-python/setuptools/setuptools-63.4.3.ebuild
39 +++ /dev/null
40 @@ -1,125 +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 -# please bump dev-python/ensurepip-wheels along with this package!
48 -
49 -DISTUTILS_USE_PEP517=standalone
50 -PYTHON_TESTED=( python3_{8..11} pypy3 )
51 -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
52 -PYTHON_REQ_USE="xml(+)"
53 -
54 -inherit distutils-r1 multiprocessing
55 -
56 -DESCRIPTION="Collection of extensions to Distutils"
57 -HOMEPAGE="
58 - https://github.com/pypa/setuptools/
59 - https://pypi.org/project/setuptools/
60 -"
61 -SRC_URI="
62 - mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
63 -"
64 -
65 -LICENSE="MIT"
66 -SLOT="0"
67 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
68 -IUSE="test"
69 -RESTRICT="!test? ( test )"
70 -
71 -RDEPEND="
72 - >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}]
73 - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}]
74 - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
75 - >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}]
76 - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]
77 - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}]
78 - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
79 - $(python_gen_cond_dep '
80 - >=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}]
81 - ' 3.8 3.9)
82 - $(python_gen_cond_dep '
83 - >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}]
84 - ' 3.8)
85 -"
86 -BDEPEND="
87 - ${RDEPEND}
88 - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}]
89 - test? (
90 - $(python_gen_cond_dep '
91 - dev-python/build[${PYTHON_USEDEP}]
92 - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}]
93 - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
94 - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}]
95 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
96 - dev-python/mock[${PYTHON_USEDEP}]
97 - dev-python/pip[${PYTHON_USEDEP}]
98 - dev-python/pip-run[${PYTHON_USEDEP}]
99 - dev-python/pytest[${PYTHON_USEDEP}]
100 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
101 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
102 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
103 - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}]
104 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
105 - dev-python/wheel[${PYTHON_USEDEP}]
106 - ' "${PYTHON_TESTED[@]}")
107 - )
108 -"
109 -PDEPEND="
110 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
111 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
112 -"
113 -
114 -DOCS=( {CHANGES,README}.rst )
115 -
116 -src_prepare() {
117 - local PATCHES=(
118 - # TODO: remove this when we're 100% PEP517 mode
119 - "${FILESDIR}"/setuptools-62.4.0-py-compile.patch
120 - )
121 -
122 - # remove bundled dependencies, setuptools will switch to system deps
123 - # automatically
124 - rm -r */_vendor || die
125 -
126 - # remove the ugly */extern hack that breaks on unvendored deps
127 - rm -r */extern || die
128 - find -name '*.py' -exec sed \
129 - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \
130 - -i {} + || die
131 -
132 - distutils-r1_src_prepare
133 -
134 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
135 -}
136 -
137 -python_test() {
138 - local -x SETUPTOOLS_USE_DISTUTILS=stdlib
139 -
140 - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
141 - return
142 - fi
143 -
144 - local EPYTEST_DESELECT=(
145 - # network
146 - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps
147 - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg
148 - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
149 - setuptools/tests/test_distutils_adoption.py
150 - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests
151 - setuptools/tests/test_virtualenv.py::test_clean_env_install
152 - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
153 - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
154 - # TODO
155 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic
156 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors
157 - setuptools/tests/test_extern.py::test_distribution_picklable
158 - # expects bundled deps in virtualenv
159 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist
160 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel
161 - setuptools/tests/test_editable_install.py::test_editable_with_pyproject
162 - )
163 -
164 - epytest -n "$(makeopts_jobs)" setuptools
165 -}
166
167 diff --git a/dev-python/setuptools/setuptools-64.0.3.ebuild b/dev-python/setuptools/setuptools-64.0.3.ebuild
168 deleted file mode 100644
169 index b79ed67ff041..000000000000
170 --- a/dev-python/setuptools/setuptools-64.0.3.ebuild
171 +++ /dev/null
172 @@ -1,127 +0,0 @@
173 -# Copyright 1999-2022 Gentoo Authors
174 -# Distributed under the terms of the GNU General Public License v2
175 -
176 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
177 -EAPI=7
178 -
179 -# please bump dev-python/ensurepip-wheels along with this package!
180 -
181 -DISTUTILS_USE_PEP517=standalone
182 -PYTHON_TESTED=( python3_{8..11} pypy3 )
183 -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
184 -PYTHON_REQ_USE="xml(+)"
185 -
186 -inherit distutils-r1 multiprocessing
187 -
188 -DESCRIPTION="Collection of extensions to Distutils"
189 -HOMEPAGE="
190 - https://github.com/pypa/setuptools/
191 - https://pypi.org/project/setuptools/
192 -"
193 -SRC_URI="
194 - mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
195 -"
196 -
197 -LICENSE="MIT"
198 -SLOT="0"
199 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
200 -IUSE="test"
201 -RESTRICT="!test? ( test )"
202 -
203 -RDEPEND="
204 - >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}]
205 - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}]
206 - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
207 - >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}]
208 - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]
209 - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}]
210 - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
211 - $(python_gen_cond_dep '
212 - >=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}]
213 - ' 3.8 3.9)
214 - $(python_gen_cond_dep '
215 - >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}]
216 - ' 3.8)
217 -"
218 -BDEPEND="
219 - ${RDEPEND}
220 - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}]
221 - test? (
222 - $(python_gen_cond_dep '
223 - dev-python/build[${PYTHON_USEDEP}]
224 - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}]
225 - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
226 - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}]
227 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
228 - dev-python/mock[${PYTHON_USEDEP}]
229 - dev-python/pip[${PYTHON_USEDEP}]
230 - dev-python/pip-run[${PYTHON_USEDEP}]
231 - dev-python/pytest[${PYTHON_USEDEP}]
232 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
233 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
234 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
235 - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}]
236 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
237 - dev-python/wheel[${PYTHON_USEDEP}]
238 - ' "${PYTHON_TESTED[@]}")
239 - )
240 -"
241 -PDEPEND="
242 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
243 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
244 -"
245 -
246 -DOCS=( {CHANGES,README}.rst )
247 -
248 -src_prepare() {
249 - local PATCHES=(
250 - # TODO: remove this when we're 100% PEP517 mode
251 - "${FILESDIR}"/setuptools-62.4.0-py-compile.patch
252 - )
253 -
254 - # remove bundled dependencies, setuptools will switch to system deps
255 - # automatically
256 - rm -r */_vendor || die
257 -
258 - # remove the ugly */extern hack that breaks on unvendored deps
259 - rm -r */extern || die
260 - find -name '*.py' -exec sed \
261 - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \
262 - -i {} + || die
263 -
264 - distutils-r1_src_prepare
265 -
266 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
267 -}
268 -
269 -python_test() {
270 - local -x SETUPTOOLS_USE_DISTUTILS=stdlib
271 -
272 - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
273 - return
274 - fi
275 -
276 - local EPYTEST_DESELECT=(
277 - # network
278 - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps
279 - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg
280 - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
281 - setuptools/tests/test_build_meta.py::test_legacy_editable_install
282 - setuptools/tests/test_distutils_adoption.py
283 - setuptools/tests/test_editable_install.py
284 - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests
285 - setuptools/tests/test_virtualenv.py::test_clean_env_install
286 - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
287 - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
288 - # TODO
289 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic
290 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors
291 - setuptools/tests/test_extern.py::test_distribution_picklable
292 - # expects bundled deps in virtualenv
293 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist
294 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel
295 - setuptools/tests/test_editable_install.py::test_editable_with_pyproject
296 - )
297 -
298 - epytest -n "$(makeopts_jobs)" setuptools
299 -}
300
301 diff --git a/dev-python/setuptools/setuptools-65.0.2.ebuild b/dev-python/setuptools/setuptools-65.0.2.ebuild
302 deleted file mode 100644
303 index c11a0923e907..000000000000
304 --- a/dev-python/setuptools/setuptools-65.0.2.ebuild
305 +++ /dev/null
306 @@ -1,127 +0,0 @@
307 -# Copyright 1999-2022 Gentoo Authors
308 -# Distributed under the terms of the GNU General Public License v2
309 -
310 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
311 -EAPI=7
312 -
313 -# please bump dev-python/ensurepip-setuptools along with this package!
314 -
315 -DISTUTILS_USE_PEP517=standalone
316 -PYTHON_TESTED=( python3_{8..11} pypy3 )
317 -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
318 -PYTHON_REQ_USE="xml(+)"
319 -
320 -inherit distutils-r1 multiprocessing
321 -
322 -DESCRIPTION="Collection of extensions to Distutils"
323 -HOMEPAGE="
324 - https://github.com/pypa/setuptools/
325 - https://pypi.org/project/setuptools/
326 -"
327 -SRC_URI="
328 - mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
329 -"
330 -
331 -LICENSE="MIT"
332 -SLOT="0"
333 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
334 -IUSE="test"
335 -RESTRICT="!test? ( test )"
336 -
337 -RDEPEND="
338 - >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}]
339 - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}]
340 - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
341 - >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}]
342 - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]
343 - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}]
344 - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
345 - $(python_gen_cond_dep '
346 - >=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}]
347 - ' 3.8 3.9)
348 - $(python_gen_cond_dep '
349 - >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}]
350 - ' 3.8)
351 -"
352 -BDEPEND="
353 - ${RDEPEND}
354 - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}]
355 - test? (
356 - $(python_gen_cond_dep '
357 - dev-python/build[${PYTHON_USEDEP}]
358 - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}]
359 - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
360 - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}]
361 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
362 - dev-python/mock[${PYTHON_USEDEP}]
363 - dev-python/pip[${PYTHON_USEDEP}]
364 - dev-python/pip-run[${PYTHON_USEDEP}]
365 - dev-python/pytest[${PYTHON_USEDEP}]
366 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
367 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
368 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
369 - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}]
370 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
371 - dev-python/wheel[${PYTHON_USEDEP}]
372 - ' "${PYTHON_TESTED[@]}")
373 - )
374 -"
375 -PDEPEND="
376 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
377 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
378 -"
379 -
380 -DOCS=( {CHANGES,README}.rst )
381 -
382 -src_prepare() {
383 - local PATCHES=(
384 - # TODO: remove this when we're 100% PEP517 mode
385 - "${FILESDIR}"/setuptools-62.4.0-py-compile.patch
386 - )
387 -
388 - # remove bundled dependencies, setuptools will switch to system deps
389 - # automatically
390 - rm -r */_vendor || die
391 -
392 - # remove the ugly */extern hack that breaks on unvendored deps
393 - rm -r */extern || die
394 - find -name '*.py' -exec sed \
395 - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \
396 - -i {} + || die
397 -
398 - distutils-r1_src_prepare
399 -
400 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
401 -}
402 -
403 -python_test() {
404 - local -x SETUPTOOLS_USE_DISTUTILS=stdlib
405 -
406 - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
407 - return
408 - fi
409 -
410 - local EPYTEST_DESELECT=(
411 - # network
412 - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps
413 - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg
414 - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
415 - setuptools/tests/test_build_meta.py::test_legacy_editable_install
416 - setuptools/tests/test_distutils_adoption.py
417 - setuptools/tests/test_editable_install.py
418 - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests
419 - setuptools/tests/test_virtualenv.py::test_clean_env_install
420 - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
421 - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
422 - # TODO
423 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic
424 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors
425 - setuptools/tests/test_extern.py::test_distribution_picklable
426 - # expects bundled deps in virtualenv
427 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist
428 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel
429 - setuptools/tests/test_editable_install.py::test_editable_with_pyproject
430 - )
431 -
432 - epytest -n "$(makeopts_jobs)" setuptools
433 -}
434
435 diff --git a/dev-python/setuptools/setuptools-65.1.0.ebuild b/dev-python/setuptools/setuptools-65.1.0.ebuild
436 deleted file mode 100644
437 index c11a0923e907..000000000000
438 --- a/dev-python/setuptools/setuptools-65.1.0.ebuild
439 +++ /dev/null
440 @@ -1,127 +0,0 @@
441 -# Copyright 1999-2022 Gentoo Authors
442 -# Distributed under the terms of the GNU General Public License v2
443 -
444 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
445 -EAPI=7
446 -
447 -# please bump dev-python/ensurepip-setuptools along with this package!
448 -
449 -DISTUTILS_USE_PEP517=standalone
450 -PYTHON_TESTED=( python3_{8..11} pypy3 )
451 -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
452 -PYTHON_REQ_USE="xml(+)"
453 -
454 -inherit distutils-r1 multiprocessing
455 -
456 -DESCRIPTION="Collection of extensions to Distutils"
457 -HOMEPAGE="
458 - https://github.com/pypa/setuptools/
459 - https://pypi.org/project/setuptools/
460 -"
461 -SRC_URI="
462 - mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
463 -"
464 -
465 -LICENSE="MIT"
466 -SLOT="0"
467 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
468 -IUSE="test"
469 -RESTRICT="!test? ( test )"
470 -
471 -RDEPEND="
472 - >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}]
473 - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}]
474 - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
475 - >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}]
476 - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]
477 - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}]
478 - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
479 - $(python_gen_cond_dep '
480 - >=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}]
481 - ' 3.8 3.9)
482 - $(python_gen_cond_dep '
483 - >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}]
484 - ' 3.8)
485 -"
486 -BDEPEND="
487 - ${RDEPEND}
488 - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}]
489 - test? (
490 - $(python_gen_cond_dep '
491 - dev-python/build[${PYTHON_USEDEP}]
492 - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}]
493 - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
494 - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}]
495 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
496 - dev-python/mock[${PYTHON_USEDEP}]
497 - dev-python/pip[${PYTHON_USEDEP}]
498 - dev-python/pip-run[${PYTHON_USEDEP}]
499 - dev-python/pytest[${PYTHON_USEDEP}]
500 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
501 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
502 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
503 - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}]
504 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
505 - dev-python/wheel[${PYTHON_USEDEP}]
506 - ' "${PYTHON_TESTED[@]}")
507 - )
508 -"
509 -PDEPEND="
510 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
511 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
512 -"
513 -
514 -DOCS=( {CHANGES,README}.rst )
515 -
516 -src_prepare() {
517 - local PATCHES=(
518 - # TODO: remove this when we're 100% PEP517 mode
519 - "${FILESDIR}"/setuptools-62.4.0-py-compile.patch
520 - )
521 -
522 - # remove bundled dependencies, setuptools will switch to system deps
523 - # automatically
524 - rm -r */_vendor || die
525 -
526 - # remove the ugly */extern hack that breaks on unvendored deps
527 - rm -r */extern || die
528 - find -name '*.py' -exec sed \
529 - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \
530 - -i {} + || die
531 -
532 - distutils-r1_src_prepare
533 -
534 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
535 -}
536 -
537 -python_test() {
538 - local -x SETUPTOOLS_USE_DISTUTILS=stdlib
539 -
540 - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
541 - return
542 - fi
543 -
544 - local EPYTEST_DESELECT=(
545 - # network
546 - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps
547 - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg
548 - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
549 - setuptools/tests/test_build_meta.py::test_legacy_editable_install
550 - setuptools/tests/test_distutils_adoption.py
551 - setuptools/tests/test_editable_install.py
552 - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests
553 - setuptools/tests/test_virtualenv.py::test_clean_env_install
554 - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
555 - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
556 - # TODO
557 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic
558 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors
559 - setuptools/tests/test_extern.py::test_distribution_picklable
560 - # expects bundled deps in virtualenv
561 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist
562 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel
563 - setuptools/tests/test_editable_install.py::test_editable_with_pyproject
564 - )
565 -
566 - epytest -n "$(makeopts_jobs)" setuptools
567 -}
568
569 diff --git a/dev-python/setuptools/setuptools-65.1.1.ebuild b/dev-python/setuptools/setuptools-65.1.1.ebuild
570 deleted file mode 100644
571 index c11a0923e907..000000000000
572 --- a/dev-python/setuptools/setuptools-65.1.1.ebuild
573 +++ /dev/null
574 @@ -1,127 +0,0 @@
575 -# Copyright 1999-2022 Gentoo Authors
576 -# Distributed under the terms of the GNU General Public License v2
577 -
578 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
579 -EAPI=7
580 -
581 -# please bump dev-python/ensurepip-setuptools along with this package!
582 -
583 -DISTUTILS_USE_PEP517=standalone
584 -PYTHON_TESTED=( python3_{8..11} pypy3 )
585 -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
586 -PYTHON_REQ_USE="xml(+)"
587 -
588 -inherit distutils-r1 multiprocessing
589 -
590 -DESCRIPTION="Collection of extensions to Distutils"
591 -HOMEPAGE="
592 - https://github.com/pypa/setuptools/
593 - https://pypi.org/project/setuptools/
594 -"
595 -SRC_URI="
596 - mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
597 -"
598 -
599 -LICENSE="MIT"
600 -SLOT="0"
601 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
602 -IUSE="test"
603 -RESTRICT="!test? ( test )"
604 -
605 -RDEPEND="
606 - >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}]
607 - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}]
608 - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
609 - >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}]
610 - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]
611 - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}]
612 - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
613 - $(python_gen_cond_dep '
614 - >=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}]
615 - ' 3.8 3.9)
616 - $(python_gen_cond_dep '
617 - >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}]
618 - ' 3.8)
619 -"
620 -BDEPEND="
621 - ${RDEPEND}
622 - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}]
623 - test? (
624 - $(python_gen_cond_dep '
625 - dev-python/build[${PYTHON_USEDEP}]
626 - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}]
627 - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
628 - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}]
629 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
630 - dev-python/mock[${PYTHON_USEDEP}]
631 - dev-python/pip[${PYTHON_USEDEP}]
632 - dev-python/pip-run[${PYTHON_USEDEP}]
633 - dev-python/pytest[${PYTHON_USEDEP}]
634 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
635 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
636 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
637 - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}]
638 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
639 - dev-python/wheel[${PYTHON_USEDEP}]
640 - ' "${PYTHON_TESTED[@]}")
641 - )
642 -"
643 -PDEPEND="
644 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
645 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
646 -"
647 -
648 -DOCS=( {CHANGES,README}.rst )
649 -
650 -src_prepare() {
651 - local PATCHES=(
652 - # TODO: remove this when we're 100% PEP517 mode
653 - "${FILESDIR}"/setuptools-62.4.0-py-compile.patch
654 - )
655 -
656 - # remove bundled dependencies, setuptools will switch to system deps
657 - # automatically
658 - rm -r */_vendor || die
659 -
660 - # remove the ugly */extern hack that breaks on unvendored deps
661 - rm -r */extern || die
662 - find -name '*.py' -exec sed \
663 - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \
664 - -i {} + || die
665 -
666 - distutils-r1_src_prepare
667 -
668 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
669 -}
670 -
671 -python_test() {
672 - local -x SETUPTOOLS_USE_DISTUTILS=stdlib
673 -
674 - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
675 - return
676 - fi
677 -
678 - local EPYTEST_DESELECT=(
679 - # network
680 - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps
681 - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg
682 - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
683 - setuptools/tests/test_build_meta.py::test_legacy_editable_install
684 - setuptools/tests/test_distutils_adoption.py
685 - setuptools/tests/test_editable_install.py
686 - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests
687 - setuptools/tests/test_virtualenv.py::test_clean_env_install
688 - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
689 - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
690 - # TODO
691 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic
692 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors
693 - setuptools/tests/test_extern.py::test_distribution_picklable
694 - # expects bundled deps in virtualenv
695 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist
696 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel
697 - setuptools/tests/test_editable_install.py::test_editable_with_pyproject
698 - )
699 -
700 - epytest -n "$(makeopts_jobs)" setuptools
701 -}
702
703 diff --git a/dev-python/setuptools/setuptools-65.2.0.ebuild b/dev-python/setuptools/setuptools-65.2.0.ebuild
704 deleted file mode 100644
705 index c11a0923e907..000000000000
706 --- a/dev-python/setuptools/setuptools-65.2.0.ebuild
707 +++ /dev/null
708 @@ -1,127 +0,0 @@
709 -# Copyright 1999-2022 Gentoo Authors
710 -# Distributed under the terms of the GNU General Public License v2
711 -
712 -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
713 -EAPI=7
714 -
715 -# please bump dev-python/ensurepip-setuptools along with this package!
716 -
717 -DISTUTILS_USE_PEP517=standalone
718 -PYTHON_TESTED=( python3_{8..11} pypy3 )
719 -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
720 -PYTHON_REQ_USE="xml(+)"
721 -
722 -inherit distutils-r1 multiprocessing
723 -
724 -DESCRIPTION="Collection of extensions to Distutils"
725 -HOMEPAGE="
726 - https://github.com/pypa/setuptools/
727 - https://pypi.org/project/setuptools/
728 -"
729 -SRC_URI="
730 - mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
731 -"
732 -
733 -LICENSE="MIT"
734 -SLOT="0"
735 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
736 -IUSE="test"
737 -RESTRICT="!test? ( test )"
738 -
739 -RDEPEND="
740 - >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}]
741 - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}]
742 - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
743 - >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}]
744 - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]
745 - >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}]
746 - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
747 - $(python_gen_cond_dep '
748 - >=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}]
749 - ' 3.8 3.9)
750 - $(python_gen_cond_dep '
751 - >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}]
752 - ' 3.8)
753 -"
754 -BDEPEND="
755 - ${RDEPEND}
756 - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}]
757 - test? (
758 - $(python_gen_cond_dep '
759 - dev-python/build[${PYTHON_USEDEP}]
760 - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}]
761 - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
762 - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}]
763 - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
764 - dev-python/mock[${PYTHON_USEDEP}]
765 - dev-python/pip[${PYTHON_USEDEP}]
766 - dev-python/pip-run[${PYTHON_USEDEP}]
767 - dev-python/pytest[${PYTHON_USEDEP}]
768 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
769 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
770 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
771 - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}]
772 - >=dev-python/virtualenv-20[${PYTHON_USEDEP}]
773 - dev-python/wheel[${PYTHON_USEDEP}]
774 - ' "${PYTHON_TESTED[@]}")
775 - )
776 -"
777 -PDEPEND="
778 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]
779 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
780 -"
781 -
782 -DOCS=( {CHANGES,README}.rst )
783 -
784 -src_prepare() {
785 - local PATCHES=(
786 - # TODO: remove this when we're 100% PEP517 mode
787 - "${FILESDIR}"/setuptools-62.4.0-py-compile.patch
788 - )
789 -
790 - # remove bundled dependencies, setuptools will switch to system deps
791 - # automatically
792 - rm -r */_vendor || die
793 -
794 - # remove the ugly */extern hack that breaks on unvendored deps
795 - rm -r */extern || die
796 - find -name '*.py' -exec sed \
797 - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \
798 - -i {} + || die
799 -
800 - distutils-r1_src_prepare
801 -
802 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
803 -}
804 -
805 -python_test() {
806 - local -x SETUPTOOLS_USE_DISTUTILS=stdlib
807 -
808 - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
809 - return
810 - fi
811 -
812 - local EPYTEST_DESELECT=(
813 - # network
814 - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps
815 - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg
816 - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
817 - setuptools/tests/test_build_meta.py::test_legacy_editable_install
818 - setuptools/tests/test_distutils_adoption.py
819 - setuptools/tests/test_editable_install.py
820 - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests
821 - setuptools/tests/test_virtualenv.py::test_clean_env_install
822 - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
823 - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
824 - # TODO
825 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic
826 - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors
827 - setuptools/tests/test_extern.py::test_distribution_picklable
828 - # expects bundled deps in virtualenv
829 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist
830 - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel
831 - setuptools/tests/test_editable_install.py::test_editable_with_pyproject
832 - )
833 -
834 - epytest -n "$(makeopts_jobs)" setuptools
835 -}