1 |
commit: 3821d6a83493cdf8280fc9c305b69f21fe682b10 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 22 06:11:37 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 22 06:49:26 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3821d6a8 |
7 |
|
8 |
dev-python/setuptools: Drop 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-40.7.3.ebuild | 71 ------------------------- |
14 |
dev-python/setuptools/setuptools-40.8.0.ebuild | 72 ------------------------- |
15 |
dev-python/setuptools/setuptools-40.9.0.ebuild | 73 -------------------------- |
16 |
dev-python/setuptools/setuptools-41.0.0.ebuild | 73 -------------------------- |
17 |
dev-python/setuptools/setuptools-41.0.1.ebuild | 73 -------------------------- |
18 |
6 files changed, 367 deletions(-) |
19 |
|
20 |
diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest |
21 |
index fbfc3b9d504..025a9a87108 100644 |
22 |
--- a/dev-python/setuptools/Manifest |
23 |
+++ b/dev-python/setuptools/Manifest |
24 |
@@ -1,9 +1,4 @@ |
25 |
DIST setuptools-36.7.2.zip 726758 BLAKE2B 8821d3142f2149fbdea4d231052c3990fa7a14c57c421309683c6a65102ce4911850acd5d492087aa0f14a0026da732e47eb9bf971030443fc1b57f9f909aaaa SHA512 746dce135dbacb65565787a20a2611388605e2371c94f0f8803e7712e515e69c270751d16a21f381bf6e8ddc0a1b39494db7d0c67bb32e6230a90c5d517e78f9 |
26 |
DIST setuptools-40.6.3.zip 839328 BLAKE2B ddc87213439ce2ad96ba54218bd5b3e41a7c31d670bddb9e4ea058b8ee7dffbe6fcb0e5fd24baf3fb38f5e824fde36aa8dc1e09d7ac37f9375ee351406389cd6 SHA512 6c628b8fc67645bca96ddcd016ec9a685e91690bf98dff077e842cfbd0d8d24de76ac51b3ff238d31551a48819d8f694fee6e9bb422ca954e54c22b4bda0038c |
27 |
-DIST setuptools-40.7.3.zip 842920 BLAKE2B 53b5845f157d088fa0848384770f185b2daf8f1bc0304e8d5ab3eb5cae44a42133e7cf2f655e95be351733760ed401d55e3717c4a1257c77644796c08cbe67f6 SHA512 fb61e4d7ae620684b128bd60112938a4a9721a82ed3aa4daa774837a2db60e989d608ce2ba7f51393f412b78244d6f4c8f1025416b137d8ce01a2c0375ffec65 |
28 |
-DIST setuptools-40.8.0.zip 845071 BLAKE2B a76b92a7e3a5cd87d74f3ff5f49fe4c6b2a1f0c5cc3b04219f6f773585be479ec5d092185129ada1fe5c5ef62714687beb3a316a6d50b559e9224aed468aef24 SHA512 f14976a76bff74b7494d44fcfffa511de0d142b4d308fcbf87b34c31c51491102e152acc11a383c5f6b693d1b18eb119c5186ca23deb12b2bbf186794b062868 |
29 |
-DIST setuptools-40.9.0.zip 847572 BLAKE2B 1ef3f05d747a67395f705ad46bf066f400c9a5ad97efe73175e72eb9091c929cb61a526da1206f431a4e054939e0fd2b2a841a892c6cc76a6116cf781112b472 SHA512 2d278ef162139dfb1dd3640154ae3db755ff5c2285810c85b0452d12e3f3cb199e3f1a1ec7cc43a377d42cd4f86e97e2c773d9f0a3bef8dc1acbf31e6f61033f |
30 |
-DIST setuptools-41.0.0.zip 848208 BLAKE2B 8d92cfb25f4ac1d0fd209b524693d66eca8fbc43b0ae4bf81343dd97820fd3b0572c8994c6ed1ee8c18e86a7eb4a6154dba53d81da081c950fa1ae1b61e023cf SHA512 e0f310368c50d954c8b0499ca2ea0e969e82515d0526b854c47d74cf6bb5af505cc522d926a346ab636163af6a85d1b40658c1701e759fbdf36f817af79ba7b1 |
31 |
-DIST setuptools-41.0.1.zip 849016 BLAKE2B e07d3eb864c96fc797f1ef2f93b2adcdc310a817339b51af1fc1b3b262fe86ad1bf35741fa3485f94d267bcaa55fded92f62754b3bb4544a27e21b507465c269 SHA512 022ac63b27da157ddab5eef34d4452f30b3798c3555779255686ecedcb98d6d60a9ac0b1a077b28426e3306d4ed5e89f1eea2894f9da6def57376596c01595b9 |
32 |
DIST setuptools-41.1.0.zip 851100 BLAKE2B 1a2dcb1d3f1a34d9a5dab5156b76cddb03da0f3745e57ebdd363cdd23512df0de8f0d3131c930e2b67ae34fc15f75a9c06802826f97508bfb937a9e45ff287f4 SHA512 07e3381fffc7b75051640c07e334794cb008682e05ab8bbd5bb1e9757fd36305997a2974c424fd474411941f5ff014a53ec1edc276543593b238fe1e97d7d106 |
33 |
DIST setuptools-41.2.0.zip 851251 BLAKE2B 1c4896c429c670832a46f951dc4c4958f808f1a7c0ad88670705fe265bee23c1d2b6a348b13298b0a60b6c821d504567d4d35b33f388949028391219cd45191e SHA512 6ac0da9f2e452b2b2334c03eb1667d88ebffeb68da18a69fe14f9f0763ac391986dcc663f123015b63eb0c3f905e5a8be7408499ddb1ac20367109275cb66ac9 |
34 |
|
35 |
diff --git a/dev-python/setuptools/setuptools-40.7.3.ebuild b/dev-python/setuptools/setuptools-40.7.3.ebuild |
36 |
deleted file mode 100644 |
37 |
index ca484ac29db..00000000000 |
38 |
--- a/dev-python/setuptools/setuptools-40.7.3.ebuild |
39 |
+++ /dev/null |
40 |
@@ -1,71 +0,0 @@ |
41 |
-# Copyright 1999-2019 Gentoo Authors |
42 |
-# Distributed under the terms of the GNU General Public License v2 |
43 |
- |
44 |
-EAPI=7 |
45 |
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} ) |
46 |
-PYTHON_REQ_USE="xml(+)" |
47 |
- |
48 |
-inherit distutils-r1 |
49 |
- |
50 |
-if [[ ${PV} == "9999" ]]; then |
51 |
- EGIT_REPO_URI="https://github.com/pypa/setuptools.git" |
52 |
- inherit git-r3 |
53 |
-else |
54 |
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
55 |
- KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
56 |
-fi |
57 |
- |
58 |
-DESCRIPTION="Collection of extensions to Distutils" |
59 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
60 |
- |
61 |
-LICENSE="MIT" |
62 |
-SLOT="0" |
63 |
-IUSE="test" |
64 |
- |
65 |
-RDEPEND=" |
66 |
-" |
67 |
-DEPEND="${RDEPEND} |
68 |
- app-arch/unzip |
69 |
- test? ( |
70 |
- dev-python/mock[${PYTHON_USEDEP}] |
71 |
- dev-python/pip[${PYTHON_USEDEP}] |
72 |
- >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] |
73 |
- <dev-python/pytest-4 |
74 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
75 |
- dev-python/wheel[${PYTHON_USEDEP}] |
76 |
- virtual/python-futures[${PYTHON_USEDEP}] |
77 |
- ) |
78 |
-" |
79 |
-PDEPEND=" |
80 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
81 |
- |
82 |
-# Force in-source build because build system modifies sources. |
83 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
84 |
- |
85 |
-DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
86 |
- |
87 |
-python_prepare_all() { |
88 |
- if [[ ${PV} == "9999" ]]; then |
89 |
- python_setup |
90 |
- ${EPYTHON} bootstrap.py || die |
91 |
- fi |
92 |
- |
93 |
- # disable tests requiring a network connection |
94 |
- rm setuptools/tests/test_packageindex.py || die |
95 |
- |
96 |
- # don't run integration tests |
97 |
- rm setuptools/tests/test_integration.py || die |
98 |
- |
99 |
- distutils-r1_python_prepare_all |
100 |
-} |
101 |
- |
102 |
-python_test() { |
103 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
104 |
- # It tries to sandbox the test in a tempdir |
105 |
- HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}" |
106 |
-} |
107 |
- |
108 |
-python_install() { |
109 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
110 |
- distutils-r1_python_install |
111 |
-} |
112 |
|
113 |
diff --git a/dev-python/setuptools/setuptools-40.8.0.ebuild b/dev-python/setuptools/setuptools-40.8.0.ebuild |
114 |
deleted file mode 100644 |
115 |
index 93e45f70f49..00000000000 |
116 |
--- a/dev-python/setuptools/setuptools-40.8.0.ebuild |
117 |
+++ /dev/null |
118 |
@@ -1,72 +0,0 @@ |
119 |
-# Copyright 1999-2019 Gentoo Authors |
120 |
-# Distributed under the terms of the GNU General Public License v2 |
121 |
- |
122 |
-EAPI=7 |
123 |
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} ) |
124 |
-PYTHON_REQ_USE="xml(+)" |
125 |
- |
126 |
-inherit distutils-r1 |
127 |
- |
128 |
-if [[ ${PV} == "9999" ]]; then |
129 |
- EGIT_REPO_URI="https://github.com/pypa/setuptools.git" |
130 |
- inherit git-r3 |
131 |
-else |
132 |
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
133 |
- KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
134 |
-fi |
135 |
- |
136 |
-DESCRIPTION="Collection of extensions to Distutils" |
137 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
138 |
- |
139 |
-LICENSE="MIT" |
140 |
-SLOT="0" |
141 |
-IUSE="test" |
142 |
-RESTRICT="!test? ( test )" |
143 |
- |
144 |
-RDEPEND=" |
145 |
-" |
146 |
-DEPEND="${RDEPEND} |
147 |
- app-arch/unzip |
148 |
- test? ( |
149 |
- dev-python/mock[${PYTHON_USEDEP}] |
150 |
- dev-python/pip[${PYTHON_USEDEP}] |
151 |
- >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] |
152 |
- <dev-python/pytest-4 |
153 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
154 |
- dev-python/wheel[${PYTHON_USEDEP}] |
155 |
- virtual/python-futures[${PYTHON_USEDEP}] |
156 |
- ) |
157 |
-" |
158 |
-PDEPEND=" |
159 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
160 |
- |
161 |
-# Force in-source build because build system modifies sources. |
162 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
163 |
- |
164 |
-DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
165 |
- |
166 |
-python_prepare_all() { |
167 |
- if [[ ${PV} == "9999" ]]; then |
168 |
- python_setup |
169 |
- ${EPYTHON} bootstrap.py || die |
170 |
- fi |
171 |
- |
172 |
- # disable tests requiring a network connection |
173 |
- rm setuptools/tests/test_packageindex.py || die |
174 |
- |
175 |
- # don't run integration tests |
176 |
- rm setuptools/tests/test_integration.py || die |
177 |
- |
178 |
- distutils-r1_python_prepare_all |
179 |
-} |
180 |
- |
181 |
-python_test() { |
182 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
183 |
- # It tries to sandbox the test in a tempdir |
184 |
- HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}" |
185 |
-} |
186 |
- |
187 |
-python_install() { |
188 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
189 |
- distutils-r1_python_install |
190 |
-} |
191 |
|
192 |
diff --git a/dev-python/setuptools/setuptools-40.9.0.ebuild b/dev-python/setuptools/setuptools-40.9.0.ebuild |
193 |
deleted file mode 100644 |
194 |
index 6dea4c65633..00000000000 |
195 |
--- a/dev-python/setuptools/setuptools-40.9.0.ebuild |
196 |
+++ /dev/null |
197 |
@@ -1,73 +0,0 @@ |
198 |
-# Copyright 1999-2019 Gentoo Authors |
199 |
-# Distributed under the terms of the GNU General Public License v2 |
200 |
- |
201 |
-EAPI=7 |
202 |
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} ) |
203 |
-PYTHON_REQ_USE="xml(+)" |
204 |
- |
205 |
-inherit distutils-r1 |
206 |
- |
207 |
-if [[ ${PV} == "9999" ]]; then |
208 |
- EGIT_REPO_URI="https://github.com/pypa/setuptools.git" |
209 |
- inherit git-r3 |
210 |
-else |
211 |
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
212 |
- KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
213 |
-fi |
214 |
- |
215 |
-DESCRIPTION="Collection of extensions to Distutils" |
216 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
217 |
- |
218 |
-LICENSE="MIT" |
219 |
-SLOT="0" |
220 |
-IUSE="test" |
221 |
-RESTRICT="!test? ( test )" |
222 |
- |
223 |
-RDEPEND=" |
224 |
-" |
225 |
-DEPEND="${RDEPEND} |
226 |
- app-arch/unzip |
227 |
- test? ( |
228 |
- dev-python/mock[${PYTHON_USEDEP}] |
229 |
- dev-python/pip[${PYTHON_USEDEP}] |
230 |
- >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] |
231 |
- <dev-python/pytest-4 |
232 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
233 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
234 |
- dev-python/wheel[${PYTHON_USEDEP}] |
235 |
- virtual/python-futures[${PYTHON_USEDEP}] |
236 |
- ) |
237 |
-" |
238 |
-PDEPEND=" |
239 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
240 |
- |
241 |
-# Force in-source build because build system modifies sources. |
242 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
243 |
- |
244 |
-DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
245 |
- |
246 |
-python_prepare_all() { |
247 |
- if [[ ${PV} == "9999" ]]; then |
248 |
- python_setup |
249 |
- ${EPYTHON} bootstrap.py || die |
250 |
- fi |
251 |
- |
252 |
- # disable tests requiring a network connection |
253 |
- rm setuptools/tests/test_packageindex.py || die |
254 |
- |
255 |
- # don't run integration tests |
256 |
- rm setuptools/tests/test_integration.py || die |
257 |
- |
258 |
- distutils-r1_python_prepare_all |
259 |
-} |
260 |
- |
261 |
-python_test() { |
262 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
263 |
- # It tries to sandbox the test in a tempdir |
264 |
- HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}" |
265 |
-} |
266 |
- |
267 |
-python_install() { |
268 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
269 |
- distutils-r1_python_install |
270 |
-} |
271 |
|
272 |
diff --git a/dev-python/setuptools/setuptools-41.0.0.ebuild b/dev-python/setuptools/setuptools-41.0.0.ebuild |
273 |
deleted file mode 100644 |
274 |
index 2a96b81ef9b..00000000000 |
275 |
--- a/dev-python/setuptools/setuptools-41.0.0.ebuild |
276 |
+++ /dev/null |
277 |
@@ -1,73 +0,0 @@ |
278 |
-# Copyright 1999-2019 Gentoo Authors |
279 |
-# Distributed under the terms of the GNU General Public License v2 |
280 |
- |
281 |
-EAPI=7 |
282 |
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} ) |
283 |
-PYTHON_REQ_USE="xml(+)" |
284 |
- |
285 |
-inherit distutils-r1 |
286 |
- |
287 |
-if [[ ${PV} == "9999" ]]; then |
288 |
- EGIT_REPO_URI="https://github.com/pypa/setuptools.git" |
289 |
- inherit git-r3 |
290 |
-else |
291 |
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
292 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
293 |
-fi |
294 |
- |
295 |
-DESCRIPTION="Collection of extensions to Distutils" |
296 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
297 |
- |
298 |
-LICENSE="MIT" |
299 |
-SLOT="0" |
300 |
-IUSE="test" |
301 |
-RESTRICT="!test? ( test )" |
302 |
- |
303 |
-RDEPEND=" |
304 |
-" |
305 |
-DEPEND="${RDEPEND} |
306 |
- app-arch/unzip |
307 |
- test? ( |
308 |
- dev-python/mock[${PYTHON_USEDEP}] |
309 |
- dev-python/pip[${PYTHON_USEDEP}] |
310 |
- >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] |
311 |
- <dev-python/pytest-4 |
312 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
313 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
314 |
- dev-python/wheel[${PYTHON_USEDEP}] |
315 |
- virtual/python-futures[${PYTHON_USEDEP}] |
316 |
- ) |
317 |
-" |
318 |
-PDEPEND=" |
319 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
320 |
- |
321 |
-# Force in-source build because build system modifies sources. |
322 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
323 |
- |
324 |
-DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
325 |
- |
326 |
-python_prepare_all() { |
327 |
- if [[ ${PV} == "9999" ]]; then |
328 |
- python_setup |
329 |
- ${EPYTHON} bootstrap.py || die |
330 |
- fi |
331 |
- |
332 |
- # disable tests requiring a network connection |
333 |
- rm setuptools/tests/test_packageindex.py || die |
334 |
- |
335 |
- # don't run integration tests |
336 |
- rm setuptools/tests/test_integration.py || die |
337 |
- |
338 |
- distutils-r1_python_prepare_all |
339 |
-} |
340 |
- |
341 |
-python_test() { |
342 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
343 |
- # It tries to sandbox the test in a tempdir |
344 |
- HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}" |
345 |
-} |
346 |
- |
347 |
-python_install() { |
348 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
349 |
- distutils-r1_python_install |
350 |
-} |
351 |
|
352 |
diff --git a/dev-python/setuptools/setuptools-41.0.1.ebuild b/dev-python/setuptools/setuptools-41.0.1.ebuild |
353 |
deleted file mode 100644 |
354 |
index 913d8b00ffb..00000000000 |
355 |
--- a/dev-python/setuptools/setuptools-41.0.1.ebuild |
356 |
+++ /dev/null |
357 |
@@ -1,73 +0,0 @@ |
358 |
-# Copyright 1999-2019 Gentoo Authors |
359 |
-# Distributed under the terms of the GNU General Public License v2 |
360 |
- |
361 |
-EAPI=7 |
362 |
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} ) |
363 |
-PYTHON_REQ_USE="xml(+)" |
364 |
- |
365 |
-inherit distutils-r1 |
366 |
- |
367 |
-if [[ ${PV} == "9999" ]]; then |
368 |
- EGIT_REPO_URI="https://github.com/pypa/setuptools.git" |
369 |
- inherit git-r3 |
370 |
-else |
371 |
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
372 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
373 |
-fi |
374 |
- |
375 |
-DESCRIPTION="Collection of extensions to Distutils" |
376 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
377 |
- |
378 |
-LICENSE="MIT" |
379 |
-SLOT="0" |
380 |
-IUSE="test" |
381 |
-RESTRICT="!test? ( test )" |
382 |
- |
383 |
-RDEPEND=" |
384 |
-" |
385 |
-DEPEND="${RDEPEND} |
386 |
- app-arch/unzip |
387 |
- test? ( |
388 |
- dev-python/mock[${PYTHON_USEDEP}] |
389 |
- dev-python/pip[${PYTHON_USEDEP}] |
390 |
- >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] |
391 |
- <dev-python/pytest-4 |
392 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
393 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
394 |
- dev-python/wheel[${PYTHON_USEDEP}] |
395 |
- virtual/python-futures[${PYTHON_USEDEP}] |
396 |
- ) |
397 |
-" |
398 |
-PDEPEND=" |
399 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
400 |
- |
401 |
-# Force in-source build because build system modifies sources. |
402 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
403 |
- |
404 |
-DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
405 |
- |
406 |
-python_prepare_all() { |
407 |
- if [[ ${PV} == "9999" ]]; then |
408 |
- python_setup |
409 |
- ${EPYTHON} bootstrap.py || die |
410 |
- fi |
411 |
- |
412 |
- # disable tests requiring a network connection |
413 |
- rm setuptools/tests/test_packageindex.py || die |
414 |
- |
415 |
- # don't run integration tests |
416 |
- rm setuptools/tests/test_integration.py || die |
417 |
- |
418 |
- distutils-r1_python_prepare_all |
419 |
-} |
420 |
- |
421 |
-python_test() { |
422 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
423 |
- # It tries to sandbox the test in a tempdir |
424 |
- HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}" |
425 |
-} |
426 |
- |
427 |
-python_install() { |
428 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
429 |
- distutils-r1_python_install |
430 |
-} |