1 |
commit: aa2ae550770d348948a4c85471fe31449d4e0d50 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 5 10:58:57 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 5 10:58:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa2ae550 |
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 | 2 - |
13 |
dev-python/setuptools/setuptools-65.4.1.ebuild | 127 ------------------------- |
14 |
dev-python/setuptools/setuptools-65.5.0.ebuild | 127 ------------------------- |
15 |
3 files changed, 256 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest |
18 |
index bb52a6837f72..126086f5dd88 100644 |
19 |
--- a/dev-python/setuptools/Manifest |
20 |
+++ b/dev-python/setuptools/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST setuptools-65.4.1.tar.gz 2615710 BLAKE2B 12e644412c7f910a8bf6fb470e0c7e78bcd11a9403d7d0821eecad156d0a4ed03751de6bd6c51ebc2ce1c0925386120971c0da129ebd7e1b8376feee1f8edc7e SHA512 d13253bb556380b1b45d4b51dc7922b0cffa390ba92d97ccbc43c314aceccdcf51ee8b5c751cf6f36c6c8955836bc248214d55fe7419ff0332719862772f0f95 |
23 |
-DIST setuptools-65.5.0.tar.gz 2616463 BLAKE2B b2f4ea3750a6ebd2d83a99e2c6beaccebf2c167dac23c901937fecb3fff9891c8c2cf4f150281c00656d2057c89ede80a7b47c73c783b268c91a3700426fd66d SHA512 5f65765a2971662ef4864473d7b54d7d5357fba2b6e9369f1b7923ef5466463852a714e6ee0b6581835c1524069cdfefd907cc65681c7f2b73c6ef278bff6228 |
24 |
DIST setuptools-65.5.1.tar.gz 2616576 BLAKE2B 84ecb833305e06861d4e0ab5377235f6a5e3a109db9d5296f19f7d67840ba220847a18e6e2529265aadec265cabc8ed3d43f9ebf755f8eb8eacb092291b9248d SHA512 e75eb7fdb0bc5ffdc76ed864cf753c2672d097a60f8747ac5cd40a49276d33df31fb619877234b4c22693b627d9978ecdd48a5c6c48aa0bbb856d48dec70fb0a |
25 |
|
26 |
diff --git a/dev-python/setuptools/setuptools-65.4.1.ebuild b/dev-python/setuptools/setuptools-65.4.1.ebuild |
27 |
deleted file mode 100644 |
28 |
index ca559b896870..000000000000 |
29 |
--- a/dev-python/setuptools/setuptools-65.4.1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,127 +0,0 @@ |
32 |
-# Copyright 1999-2022 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-# please keep this ebuild at EAPI 7 -- sys-apps/portage dep |
36 |
-EAPI=7 |
37 |
- |
38 |
-# please bump dev-python/ensurepip-setuptools along with this package! |
39 |
- |
40 |
-DISTUTILS_USE_PEP517=standalone |
41 |
-PYTHON_TESTED=( python3_{8..11} pypy3 ) |
42 |
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) |
43 |
-PYTHON_REQ_USE="xml(+)" |
44 |
- |
45 |
-inherit distutils-r1 multiprocessing |
46 |
- |
47 |
-DESCRIPTION="Collection of extensions to Distutils" |
48 |
-HOMEPAGE=" |
49 |
- https://github.com/pypa/setuptools/ |
50 |
- https://pypi.org/project/setuptools/ |
51 |
-" |
52 |
-SRC_URI=" |
53 |
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz |
54 |
-" |
55 |
- |
56 |
-LICENSE="MIT" |
57 |
-SLOT="0" |
58 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" |
59 |
-IUSE="test" |
60 |
-RESTRICT="!test? ( test )" |
61 |
- |
62 |
-RDEPEND=" |
63 |
- >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}] |
64 |
- >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] |
65 |
- >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] |
66 |
- >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}] |
67 |
- >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] |
68 |
- >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}] |
69 |
- >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] |
70 |
- $(python_gen_cond_dep ' |
71 |
- >=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}] |
72 |
- ' 3.8 3.9) |
73 |
- $(python_gen_cond_dep ' |
74 |
- >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}] |
75 |
- ' 3.8) |
76 |
-" |
77 |
-BDEPEND=" |
78 |
- ${RDEPEND} |
79 |
- >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] |
80 |
- test? ( |
81 |
- $(python_gen_cond_dep ' |
82 |
- dev-python/build[${PYTHON_USEDEP}] |
83 |
- >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}] |
84 |
- >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] |
85 |
- >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] |
86 |
- >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] |
87 |
- dev-python/mock[${PYTHON_USEDEP}] |
88 |
- dev-python/pip[${PYTHON_USEDEP}] |
89 |
- dev-python/pip-run[${PYTHON_USEDEP}] |
90 |
- dev-python/pytest[${PYTHON_USEDEP}] |
91 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
92 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
93 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
94 |
- >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] |
95 |
- >=dev-python/virtualenv-20[${PYTHON_USEDEP}] |
96 |
- dev-python/wheel[${PYTHON_USEDEP}] |
97 |
- ' "${PYTHON_TESTED[@]}") |
98 |
- ) |
99 |
-" |
100 |
-PDEPEND=" |
101 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] |
102 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}] |
103 |
-" |
104 |
- |
105 |
-DOCS=( {CHANGES,README}.rst ) |
106 |
- |
107 |
-src_prepare() { |
108 |
- local PATCHES=( |
109 |
- # TODO: remove this when we're 100% PEP517 mode |
110 |
- "${FILESDIR}"/setuptools-62.4.0-py-compile.patch |
111 |
- ) |
112 |
- |
113 |
- # remove bundled dependencies, setuptools will switch to system deps |
114 |
- # automatically |
115 |
- rm -r */_vendor || die |
116 |
- |
117 |
- # remove the ugly */extern hack that breaks on unvendored deps |
118 |
- rm -r */extern || die |
119 |
- find -name '*.py' -exec sed \ |
120 |
- -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \ |
121 |
- -i {} + || die |
122 |
- |
123 |
- distutils-r1_src_prepare |
124 |
- |
125 |
- export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
126 |
-} |
127 |
- |
128 |
-python_test() { |
129 |
- local -x SETUPTOOLS_USE_DISTUTILS=stdlib |
130 |
- |
131 |
- if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then |
132 |
- return |
133 |
- fi |
134 |
- |
135 |
- local EPYTEST_DESELECT=( |
136 |
- # network |
137 |
- # TODO: see if PRE_BUILT_SETUPTOOLS_* helps |
138 |
- setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg |
139 |
- setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist |
140 |
- setuptools/tests/test_build_meta.py::test_legacy_editable_install |
141 |
- setuptools/tests/test_distutils_adoption.py |
142 |
- setuptools/tests/test_editable_install.py |
143 |
- setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests |
144 |
- setuptools/tests/test_virtualenv.py::test_clean_env_install |
145 |
- setuptools/tests/test_virtualenv.py::test_no_missing_dependencies |
146 |
- setuptools/tests/test_virtualenv.py::test_test_command_install_requirements |
147 |
- # TODO |
148 |
- setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic |
149 |
- setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors |
150 |
- setuptools/tests/test_extern.py::test_distribution_picklable |
151 |
- # expects bundled deps in virtualenv |
152 |
- setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist |
153 |
- setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel |
154 |
- setuptools/tests/test_editable_install.py::test_editable_with_pyproject |
155 |
- ) |
156 |
- |
157 |
- epytest -n "$(makeopts_jobs)" setuptools |
158 |
-} |
159 |
|
160 |
diff --git a/dev-python/setuptools/setuptools-65.5.0.ebuild b/dev-python/setuptools/setuptools-65.5.0.ebuild |
161 |
deleted file mode 100644 |
162 |
index c11a0923e907..000000000000 |
163 |
--- a/dev-python/setuptools/setuptools-65.5.0.ebuild |
164 |
+++ /dev/null |
165 |
@@ -1,127 +0,0 @@ |
166 |
-# Copyright 1999-2022 Gentoo Authors |
167 |
-# Distributed under the terms of the GNU General Public License v2 |
168 |
- |
169 |
-# please keep this ebuild at EAPI 7 -- sys-apps/portage dep |
170 |
-EAPI=7 |
171 |
- |
172 |
-# please bump dev-python/ensurepip-setuptools along with this package! |
173 |
- |
174 |
-DISTUTILS_USE_PEP517=standalone |
175 |
-PYTHON_TESTED=( python3_{8..11} pypy3 ) |
176 |
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) |
177 |
-PYTHON_REQ_USE="xml(+)" |
178 |
- |
179 |
-inherit distutils-r1 multiprocessing |
180 |
- |
181 |
-DESCRIPTION="Collection of extensions to Distutils" |
182 |
-HOMEPAGE=" |
183 |
- https://github.com/pypa/setuptools/ |
184 |
- https://pypi.org/project/setuptools/ |
185 |
-" |
186 |
-SRC_URI=" |
187 |
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz |
188 |
-" |
189 |
- |
190 |
-LICENSE="MIT" |
191 |
-SLOT="0" |
192 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" |
193 |
-IUSE="test" |
194 |
-RESTRICT="!test? ( test )" |
195 |
- |
196 |
-RDEPEND=" |
197 |
- >=dev-python/appdirs-1.4.4-r2[${PYTHON_USEDEP}] |
198 |
- >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] |
199 |
- >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] |
200 |
- >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}] |
201 |
- >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] |
202 |
- >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}] |
203 |
- >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] |
204 |
- $(python_gen_cond_dep ' |
205 |
- >=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}] |
206 |
- ' 3.8 3.9) |
207 |
- $(python_gen_cond_dep ' |
208 |
- >=dev-python/importlib_resources-5.4.0-r3[${PYTHON_USEDEP}] |
209 |
- ' 3.8) |
210 |
-" |
211 |
-BDEPEND=" |
212 |
- ${RDEPEND} |
213 |
- >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] |
214 |
- test? ( |
215 |
- $(python_gen_cond_dep ' |
216 |
- dev-python/build[${PYTHON_USEDEP}] |
217 |
- >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}] |
218 |
- >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] |
219 |
- >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] |
220 |
- >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] |
221 |
- dev-python/mock[${PYTHON_USEDEP}] |
222 |
- dev-python/pip[${PYTHON_USEDEP}] |
223 |
- dev-python/pip-run[${PYTHON_USEDEP}] |
224 |
- dev-python/pytest[${PYTHON_USEDEP}] |
225 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
226 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
227 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
228 |
- >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] |
229 |
- >=dev-python/virtualenv-20[${PYTHON_USEDEP}] |
230 |
- dev-python/wheel[${PYTHON_USEDEP}] |
231 |
- ' "${PYTHON_TESTED[@]}") |
232 |
- ) |
233 |
-" |
234 |
-PDEPEND=" |
235 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] |
236 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}] |
237 |
-" |
238 |
- |
239 |
-DOCS=( {CHANGES,README}.rst ) |
240 |
- |
241 |
-src_prepare() { |
242 |
- local PATCHES=( |
243 |
- # TODO: remove this when we're 100% PEP517 mode |
244 |
- "${FILESDIR}"/setuptools-62.4.0-py-compile.patch |
245 |
- ) |
246 |
- |
247 |
- # remove bundled dependencies, setuptools will switch to system deps |
248 |
- # automatically |
249 |
- rm -r */_vendor || die |
250 |
- |
251 |
- # remove the ugly */extern hack that breaks on unvendored deps |
252 |
- rm -r */extern || die |
253 |
- find -name '*.py' -exec sed \ |
254 |
- -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \ |
255 |
- -i {} + || die |
256 |
- |
257 |
- distutils-r1_src_prepare |
258 |
- |
259 |
- export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
260 |
-} |
261 |
- |
262 |
-python_test() { |
263 |
- local -x SETUPTOOLS_USE_DISTUTILS=stdlib |
264 |
- |
265 |
- if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then |
266 |
- return |
267 |
- fi |
268 |
- |
269 |
- local EPYTEST_DESELECT=( |
270 |
- # network |
271 |
- # TODO: see if PRE_BUILT_SETUPTOOLS_* helps |
272 |
- setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg |
273 |
- setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist |
274 |
- setuptools/tests/test_build_meta.py::test_legacy_editable_install |
275 |
- setuptools/tests/test_distutils_adoption.py |
276 |
- setuptools/tests/test_editable_install.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 |
-} |