1 |
commit: b7a0d2d44f30ba8c72e3ce1c569e960268fb0330 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 3 12:06:28 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 3 12:18:20 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7a0d2d4 |
7 |
|
8 |
dev-python/setuptools: Clean old versions up |
9 |
|
10 |
dev-python/setuptools/Manifest | 6 --- |
11 |
dev-python/setuptools/setuptools-18.4.ebuild | 54 -------------------- |
12 |
dev-python/setuptools/setuptools-20.6.7.ebuild | 59 --------------------- |
13 |
dev-python/setuptools/setuptools-33.1.1.ebuild | 71 -------------------------- |
14 |
dev-python/setuptools/setuptools-34.3.2.ebuild | 70 ------------------------- |
15 |
dev-python/setuptools/setuptools-34.3.3.ebuild | 70 ------------------------- |
16 |
dev-python/setuptools/setuptools-34.4.1.ebuild | 70 ------------------------- |
17 |
7 files changed, 400 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest |
20 |
index 74ae7b281e1..db206ab75e6 100644 |
21 |
--- a/dev-python/setuptools/Manifest |
22 |
+++ b/dev-python/setuptools/Manifest |
23 |
@@ -1,9 +1,3 @@ |
24 |
-DIST setuptools-18.4.tar.gz 626632 SHA256 cdea5098e60b4ad83453d58723a61dc481ca8e2df251fe4ccbea9afa5a7d111f SHA512 f45f0bdec365642d1648c502a964bafeb518e8f0ed63091a50b278629cf1e17df7f66769b0ddaab1e7c5ae2574673435ccab72886a2d5eb311eaac451c485854 WHIRLPOOL e0c5d69f57ce234b0e002a50c882df0bf1e908224c045baa8b5a62e91148d654f048cfbb64375b59f61f0845a5e850ec03594606933fdfaa9cce9b357bb45aa7 |
25 |
-DIST setuptools-20.6.7.tar.gz 675428 SHA256 d20152ee6337323d3b6d95cd733fb719d6b4f3fbc40f61f7a48e5a1bb96478b2 SHA512 91a212b5007f9fdfacb4341e06dc0355c5c29897eb8ea407dd4864091f845ba1417bb0d33b5ed6897869d0233e2d0ec6548898d3dbe9eda23f751829bd51a104 WHIRLPOOL 553a1579991e9478b8eb8dd2f4ab042cd5286c1233f325d1fe1c08092035c6346aa454c03307359d7dd562174133247200c3a5424f5fc24f4718db0ad80d84fc |
26 |
DIST setuptools-30.4.0.tar.gz 655934 SHA256 2bea341aa5b48ae05521374d9c473713e42dde7f8712a731904a6f8257e896ed SHA512 8239262e11c7702165d7539d57982dadd16e61a992529cb4d5f42141d57ffbab46fd928c765d0439ec4f07db1bc252b9a4604901d8f9951e55076438bdd6f515 WHIRLPOOL 4866efbe00d23291ad07b401d7924f2f150a38664ab0a3d9afe9e00aa4e887de6c9e82f81e7d2ec157b1bf05406b2616a08772fa9f3a45e1e20fddbe27c11fd2 |
27 |
-DIST setuptools-33.1.1.zip 702770 SHA256 6b20352ed60ba08c43b3611bdb502286f7a869fbfcf472f40d7279f1e77de145 SHA512 15fe2009166621ab0ae7480c5331accbf8fc9cd9e2943999abaecae9eba870634a0914f7829711e43cab4e8da6b6140c1586a9db9bb4623662dca6f5482bc49c WHIRLPOOL c25013c4a2d94f1eb162c992c85a8f66c99213e1c79dee25d627cace85164a3d3b81e7bede3e839f64ce29e5be4f49cca306bf6c9447412796636bc21f023b38 |
28 |
DIST setuptools-34.0.2.zip 617839 SHA256 a5bdc45a3c123a88c84e089a789ba70bbc61ee888c1306fd9dac04e037e81c37 SHA512 8ff6475620fc18e5992900dffd50158bfea980d3e7f2c7c98e8c99180b2f11b3f81c13a60f93516da580def2543a786940cc164dcdc36802d9657c48e45d9266 WHIRLPOOL c9350f96628957c0bab680a2cd018d27d93f04afded737b317b9ea527e0bad3ea9c4f4af2a31843a3010573cdb0ec1c7fbdeef371cfc8cb5c8de93b6d762bf1d |
29 |
-DIST setuptools-34.3.2.zip 622899 SHA256 4efcdcbc0b268a4c5b1094b36dd5ed55658968195577ed331cec9b1c71891f31 SHA512 f2f849a505c80bf93825d8136df4b3198a8041bfdc183882a8d2194ca1376b3e3ea24f56d2975eb374be54923e8bb45c7afeedbce86798efb31b1fb9e3b6c371 WHIRLPOOL c7a53c8f046b6ba548b0ad19f0d6ca23a022567b49ff6fecd4e06d4ce86487e7bbacaa48b58889f443acd5712dc1e67009d971722971aad9338a0876ffc317eb |
30 |
-DIST setuptools-34.3.3.zip 622967 SHA256 2cd244d3fca6ff7d0794a9186d1d19a48453e9813ae1d783edbfb8c348cde905 SHA512 e45552954864b3b53319807a1593e8d10fc477f1a864da73560a17760f5239eca1cb338ad822c6680cb26c8e15897163122e4e9b19e76ed1e6d1542ffe7a6d34 WHIRLPOOL ddbc9e3ce6466416c3687fd7295dcc4f77aaf059550542cb9d21f31359adac0bc0b2281c755e1867db18ed4f4192e6951a0d78c34ae4bfdc46bfd8411df1e75c |
31 |
-DIST setuptools-34.4.1.zip 623937 SHA256 704cc0c9fe6c97edd3c6370d165c5a754dfde318b671058523ed3226d944ea1b SHA512 cd0b3fafe87fdea85b6f1c72fd6bfa138592cde2856d0d9336078443d05f55ef61fc764ef7428708578bcfd85ac1919eef0c8ceb4f3e90c26e7a128c17150f30 WHIRLPOOL 0133154e25c2c8a4b2c92aeac99f0c0665ee692d0798a5f5f1f642e7d4d10f1740f6deac414bd0cad388ffc64c0eeeb78097d28440bea034ac74c43bde7bb804 |
32 |
DIST setuptools-35.0.1.zip 624263 SHA256 eea7f2ff55d4a810b6bc39be1ad1c60c2702341b78b2365c71306eaa7316beac SHA512 a3f5362ad64dead468172f9989bc62043ce736180d22e50d9815af25aecbceb58e701bb87a643b9fbbf0beedb37a45268b23b1b5e7e6e397aa124f43b1d4bb0d WHIRLPOOL e33041a6f03dc4ceb4a34db4c18a4d76a908b4e5a726ad18598cc202aca24df0a81241aa72812b7a31b1e452dd265e813c58ea23255e37a75c2c2ec2f73d8787 |
33 |
|
34 |
diff --git a/dev-python/setuptools/setuptools-18.4.ebuild b/dev-python/setuptools/setuptools-18.4.ebuild |
35 |
deleted file mode 100644 |
36 |
index 1a953517db6..00000000000 |
37 |
--- a/dev-python/setuptools/setuptools-18.4.ebuild |
38 |
+++ /dev/null |
39 |
@@ -1,54 +0,0 @@ |
40 |
-# Copyright 1999-2017 Gentoo Foundation |
41 |
-# Distributed under the terms of the GNU General Public License v2 |
42 |
- |
43 |
-EAPI="5" |
44 |
- |
45 |
-PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 ) |
46 |
-PYTHON_REQ_USE="xml(+)" |
47 |
- |
48 |
-inherit distutils-r1 |
49 |
- |
50 |
-DESCRIPTION="Collection of extensions to Distutils" |
51 |
-HOMEPAGE="https://pypi.python.org/pypi/setuptools" |
52 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
53 |
- |
54 |
-LICENSE="PSF-2" |
55 |
-SLOT="0" |
56 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
57 |
-IUSE="test" |
58 |
- |
59 |
-RDEPEND=">=dev-python/packaging-15.3-r1[${PYTHON_USEDEP}]" |
60 |
-DEPEND="${RDEPEND} |
61 |
- test? ( |
62 |
- dev-python/pytest[${PYTHON_USEDEP}] |
63 |
- dev-python/mock[${PYTHON_USEDEP}] |
64 |
- ) |
65 |
-" |
66 |
-PDEPEND=">=dev-python/certifi-2015.04.28[${PYTHON_USEDEP}]" |
67 |
- |
68 |
-# Force in-source build because build system modifies sources. |
69 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
70 |
- |
71 |
-DOCS=( README.txt docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
72 |
- |
73 |
-python_prepare_all() { |
74 |
- rm -r ./pkg_resources/_vendor || die |
75 |
- # disable tests requiring a network connection |
76 |
- rm setuptools/tests/test_packageindex.py || die |
77 |
- |
78 |
- # don't run integration tests |
79 |
- rm setuptools/tests/test_integration.py || die |
80 |
- |
81 |
- distutils-r1_python_prepare_all |
82 |
-} |
83 |
- |
84 |
-python_test() { |
85 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
86 |
- # It tries to sandbox the test in a tempdir |
87 |
- HOME="${PWD}" py.test ${PN} || die "Tests failed under ${EPYTHON}" |
88 |
-} |
89 |
- |
90 |
-python_install() { |
91 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
92 |
- distutils-r1_python_install |
93 |
-} |
94 |
|
95 |
diff --git a/dev-python/setuptools/setuptools-20.6.7.ebuild b/dev-python/setuptools/setuptools-20.6.7.ebuild |
96 |
deleted file mode 100644 |
97 |
index 30c2a77c586..00000000000 |
98 |
--- a/dev-python/setuptools/setuptools-20.6.7.ebuild |
99 |
+++ /dev/null |
100 |
@@ -1,59 +0,0 @@ |
101 |
-# Copyright 1999-2017 Gentoo Foundation |
102 |
-# Distributed under the terms of the GNU General Public License v2 |
103 |
- |
104 |
-EAPI=6 |
105 |
- |
106 |
-PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 ) |
107 |
-PYTHON_REQ_USE="xml(+)" |
108 |
- |
109 |
-inherit distutils-r1 |
110 |
- |
111 |
-DESCRIPTION="Collection of extensions to Distutils" |
112 |
-HOMEPAGE="https://pypi.python.org/pypi/setuptools" |
113 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
114 |
- |
115 |
-LICENSE="MIT" |
116 |
-SLOT="0" |
117 |
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
118 |
-IUSE="test" |
119 |
- |
120 |
-RDEPEND="" |
121 |
-# >=dev-python/packaging-16.4[${PYTHON_USEDEP}] |
122 |
-# >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
123 |
-# " |
124 |
-DEPEND="${RDEPEND} |
125 |
- test? ( |
126 |
- >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
127 |
- dev-python/mock[${PYTHON_USEDEP}] |
128 |
- ) |
129 |
-" |
130 |
-# >=dev-python/pyparsing-2.0.6[${PYTHON_USEDEP}] |
131 |
-PDEPEND=" |
132 |
- >=dev-python/certifi-2015.11.20[${PYTHON_USEDEP}]" |
133 |
- |
134 |
-# Force in-source build because build system modifies sources. |
135 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
136 |
- |
137 |
-DOCS=( README.txt docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
138 |
- |
139 |
-python_prepare_all() { |
140 |
-# rm -r ./pkg_resources/_vendor || die |
141 |
- # disable tests requiring a network connection |
142 |
- rm setuptools/tests/test_packageindex.py || die |
143 |
- |
144 |
- # don't run integration tests |
145 |
- rm setuptools/tests/test_integration.py || die |
146 |
- |
147 |
- distutils-r1_python_prepare_all |
148 |
-} |
149 |
- |
150 |
-python_test() { |
151 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
152 |
- # It tries to sandbox the test in a tempdir |
153 |
- HOME="${PWD}" py.test --verbose ${PN} || die "Tests failed under ${EPYTHON}" |
154 |
-} |
155 |
- |
156 |
-python_install() { |
157 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
158 |
- distutils-r1_python_install |
159 |
-} |
160 |
|
161 |
diff --git a/dev-python/setuptools/setuptools-33.1.1.ebuild b/dev-python/setuptools/setuptools-33.1.1.ebuild |
162 |
deleted file mode 100644 |
163 |
index 3ccdfac94c6..00000000000 |
164 |
--- a/dev-python/setuptools/setuptools-33.1.1.ebuild |
165 |
+++ /dev/null |
166 |
@@ -1,71 +0,0 @@ |
167 |
-# Copyright 1999-2017 Gentoo Foundation |
168 |
-# Distributed under the terms of the GNU General Public License v2 |
169 |
- |
170 |
-EAPI=6 |
171 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) |
172 |
-PYTHON_REQ_USE="xml(+)" |
173 |
- |
174 |
-inherit distutils-r1 |
175 |
- |
176 |
-if [[ ${PV} == "9999" ]]; then |
177 |
- EGIT_REPO_URI="https://github.com/pypa/setuptools.git" |
178 |
- inherit git-r3 |
179 |
-else |
180 |
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
181 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
182 |
-fi |
183 |
- |
184 |
-DESCRIPTION="Collection of extensions to Distutils" |
185 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.python.org/pypi/setuptools" |
186 |
- |
187 |
-LICENSE="MIT" |
188 |
-SLOT="0" |
189 |
-IUSE="test" |
190 |
- |
191 |
-RDEPEND="" |
192 |
-# >=dev-python/packaging-16.4[${PYTHON_USEDEP}] |
193 |
-# >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
194 |
-# " |
195 |
-DEPEND="${RDEPEND} |
196 |
- app-arch/unzip |
197 |
- test? ( |
198 |
- dev-python/pip[${PYTHON_USEDEP}] |
199 |
- >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
200 |
- dev-python/mock[${PYTHON_USEDEP}] |
201 |
- ) |
202 |
-" |
203 |
-# >=dev-python/pyparsing-2.0.6[${PYTHON_USEDEP}] |
204 |
-PDEPEND=" |
205 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
206 |
- |
207 |
-# Force in-source build because build system modifies sources. |
208 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
209 |
- |
210 |
-DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
211 |
- |
212 |
-python_prepare_all() { |
213 |
- if [[ ${PV} == "9999" ]]; then |
214 |
- python_setup |
215 |
- ${EPYTHON} bootstrap.py || die |
216 |
- fi |
217 |
- |
218 |
- # rm -r ./pkg_resources/_vendor || die |
219 |
- # disable tests requiring a network connection |
220 |
- rm setuptools/tests/test_packageindex.py || die |
221 |
- |
222 |
- # don't run integration tests |
223 |
- rm setuptools/tests/test_integration.py || die |
224 |
- |
225 |
- distutils-r1_python_prepare_all |
226 |
-} |
227 |
- |
228 |
-python_test() { |
229 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
230 |
- # It tries to sandbox the test in a tempdir |
231 |
- HOME="${PWD}" py.test --verbose ${PN} || die "Tests failed under ${EPYTHON}" |
232 |
-} |
233 |
- |
234 |
-python_install() { |
235 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
236 |
- distutils-r1_python_install |
237 |
-} |
238 |
|
239 |
diff --git a/dev-python/setuptools/setuptools-34.3.2.ebuild b/dev-python/setuptools/setuptools-34.3.2.ebuild |
240 |
deleted file mode 100644 |
241 |
index 9bdebb0a071..00000000000 |
242 |
--- a/dev-python/setuptools/setuptools-34.3.2.ebuild |
243 |
+++ /dev/null |
244 |
@@ -1,70 +0,0 @@ |
245 |
-# Copyright 1999-2017 Gentoo Foundation |
246 |
-# Distributed under the terms of the GNU General Public License v2 |
247 |
- |
248 |
-EAPI=6 |
249 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) |
250 |
-PYTHON_REQ_USE="xml(+)" |
251 |
- |
252 |
-inherit distutils-r1 |
253 |
- |
254 |
-if [[ ${PV} == "9999" ]]; then |
255 |
- EGIT_REPO_URI="https://github.com/pypa/setuptools.git" |
256 |
- inherit git-r3 |
257 |
-else |
258 |
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
259 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~s390 ~sh ~x86 ~ppc-aix ~x64-cygwin ~sparc-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
260 |
-fi |
261 |
- |
262 |
-DESCRIPTION="Collection of extensions to Distutils" |
263 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.python.org/pypi/setuptools" |
264 |
- |
265 |
-LICENSE="MIT" |
266 |
-SLOT="0" |
267 |
-IUSE="test" |
268 |
- |
269 |
-RDEPEND=" |
270 |
- >=dev-python/packaging-16.8[${PYTHON_USEDEP}] |
271 |
- >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
272 |
- >=dev-python/appdirs-1.4.0-r1[${PYTHON_USEDEP}] |
273 |
-" |
274 |
-DEPEND="${RDEPEND} |
275 |
- app-arch/unzip |
276 |
- test? ( |
277 |
- dev-python/pip[${PYTHON_USEDEP}] |
278 |
- >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
279 |
- >=dev-python/backports-unittest-mock-1.2[${PYTHON_USEDEP}] |
280 |
- ) |
281 |
-" |
282 |
-PDEPEND=" |
283 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
284 |
- |
285 |
-# Force in-source build because build system modifies sources. |
286 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
287 |
- |
288 |
-DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
289 |
- |
290 |
-python_prepare_all() { |
291 |
- if [[ ${PV} == "9999" ]]; then |
292 |
- python_setup |
293 |
- ${EPYTHON} bootstrap.py || die |
294 |
- fi |
295 |
- |
296 |
- # disable tests requiring a network connection |
297 |
- rm setuptools/tests/test_packageindex.py || die |
298 |
- |
299 |
- # don't run integration tests |
300 |
- rm setuptools/tests/test_integration.py || die |
301 |
- |
302 |
- distutils-r1_python_prepare_all |
303 |
-} |
304 |
- |
305 |
-python_test() { |
306 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
307 |
- # It tries to sandbox the test in a tempdir |
308 |
- HOME="${PWD}" py.test --verbose ${PN} || die "Tests failed under ${EPYTHON}" |
309 |
-} |
310 |
- |
311 |
-python_install() { |
312 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
313 |
- distutils-r1_python_install |
314 |
-} |
315 |
|
316 |
diff --git a/dev-python/setuptools/setuptools-34.3.3.ebuild b/dev-python/setuptools/setuptools-34.3.3.ebuild |
317 |
deleted file mode 100644 |
318 |
index 9bdebb0a071..00000000000 |
319 |
--- a/dev-python/setuptools/setuptools-34.3.3.ebuild |
320 |
+++ /dev/null |
321 |
@@ -1,70 +0,0 @@ |
322 |
-# Copyright 1999-2017 Gentoo Foundation |
323 |
-# Distributed under the terms of the GNU General Public License v2 |
324 |
- |
325 |
-EAPI=6 |
326 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) |
327 |
-PYTHON_REQ_USE="xml(+)" |
328 |
- |
329 |
-inherit distutils-r1 |
330 |
- |
331 |
-if [[ ${PV} == "9999" ]]; then |
332 |
- EGIT_REPO_URI="https://github.com/pypa/setuptools.git" |
333 |
- inherit git-r3 |
334 |
-else |
335 |
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
336 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~s390 ~sh ~x86 ~ppc-aix ~x64-cygwin ~sparc-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
337 |
-fi |
338 |
- |
339 |
-DESCRIPTION="Collection of extensions to Distutils" |
340 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.python.org/pypi/setuptools" |
341 |
- |
342 |
-LICENSE="MIT" |
343 |
-SLOT="0" |
344 |
-IUSE="test" |
345 |
- |
346 |
-RDEPEND=" |
347 |
- >=dev-python/packaging-16.8[${PYTHON_USEDEP}] |
348 |
- >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
349 |
- >=dev-python/appdirs-1.4.0-r1[${PYTHON_USEDEP}] |
350 |
-" |
351 |
-DEPEND="${RDEPEND} |
352 |
- app-arch/unzip |
353 |
- test? ( |
354 |
- dev-python/pip[${PYTHON_USEDEP}] |
355 |
- >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
356 |
- >=dev-python/backports-unittest-mock-1.2[${PYTHON_USEDEP}] |
357 |
- ) |
358 |
-" |
359 |
-PDEPEND=" |
360 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
361 |
- |
362 |
-# Force in-source build because build system modifies sources. |
363 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
364 |
- |
365 |
-DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
366 |
- |
367 |
-python_prepare_all() { |
368 |
- if [[ ${PV} == "9999" ]]; then |
369 |
- python_setup |
370 |
- ${EPYTHON} bootstrap.py || die |
371 |
- fi |
372 |
- |
373 |
- # disable tests requiring a network connection |
374 |
- rm setuptools/tests/test_packageindex.py || die |
375 |
- |
376 |
- # don't run integration tests |
377 |
- rm setuptools/tests/test_integration.py || die |
378 |
- |
379 |
- distutils-r1_python_prepare_all |
380 |
-} |
381 |
- |
382 |
-python_test() { |
383 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
384 |
- # It tries to sandbox the test in a tempdir |
385 |
- HOME="${PWD}" py.test --verbose ${PN} || die "Tests failed under ${EPYTHON}" |
386 |
-} |
387 |
- |
388 |
-python_install() { |
389 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
390 |
- distutils-r1_python_install |
391 |
-} |
392 |
|
393 |
diff --git a/dev-python/setuptools/setuptools-34.4.1.ebuild b/dev-python/setuptools/setuptools-34.4.1.ebuild |
394 |
deleted file mode 100644 |
395 |
index 9bdebb0a071..00000000000 |
396 |
--- a/dev-python/setuptools/setuptools-34.4.1.ebuild |
397 |
+++ /dev/null |
398 |
@@ -1,70 +0,0 @@ |
399 |
-# Copyright 1999-2017 Gentoo Foundation |
400 |
-# Distributed under the terms of the GNU General Public License v2 |
401 |
- |
402 |
-EAPI=6 |
403 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) |
404 |
-PYTHON_REQ_USE="xml(+)" |
405 |
- |
406 |
-inherit distutils-r1 |
407 |
- |
408 |
-if [[ ${PV} == "9999" ]]; then |
409 |
- EGIT_REPO_URI="https://github.com/pypa/setuptools.git" |
410 |
- inherit git-r3 |
411 |
-else |
412 |
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
413 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~s390 ~sh ~x86 ~ppc-aix ~x64-cygwin ~sparc-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
414 |
-fi |
415 |
- |
416 |
-DESCRIPTION="Collection of extensions to Distutils" |
417 |
-HOMEPAGE="https://github.com/pypa/setuptools https://pypi.python.org/pypi/setuptools" |
418 |
- |
419 |
-LICENSE="MIT" |
420 |
-SLOT="0" |
421 |
-IUSE="test" |
422 |
- |
423 |
-RDEPEND=" |
424 |
- >=dev-python/packaging-16.8[${PYTHON_USEDEP}] |
425 |
- >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
426 |
- >=dev-python/appdirs-1.4.0-r1[${PYTHON_USEDEP}] |
427 |
-" |
428 |
-DEPEND="${RDEPEND} |
429 |
- app-arch/unzip |
430 |
- test? ( |
431 |
- dev-python/pip[${PYTHON_USEDEP}] |
432 |
- >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
433 |
- >=dev-python/backports-unittest-mock-1.2[${PYTHON_USEDEP}] |
434 |
- ) |
435 |
-" |
436 |
-PDEPEND=" |
437 |
- >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
438 |
- |
439 |
-# Force in-source build because build system modifies sources. |
440 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
441 |
- |
442 |
-DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
443 |
- |
444 |
-python_prepare_all() { |
445 |
- if [[ ${PV} == "9999" ]]; then |
446 |
- python_setup |
447 |
- ${EPYTHON} bootstrap.py || die |
448 |
- fi |
449 |
- |
450 |
- # disable tests requiring a network connection |
451 |
- rm setuptools/tests/test_packageindex.py || die |
452 |
- |
453 |
- # don't run integration tests |
454 |
- rm setuptools/tests/test_integration.py || die |
455 |
- |
456 |
- distutils-r1_python_prepare_all |
457 |
-} |
458 |
- |
459 |
-python_test() { |
460 |
- # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
461 |
- # It tries to sandbox the test in a tempdir |
462 |
- HOME="${PWD}" py.test --verbose ${PN} || die "Tests failed under ${EPYTHON}" |
463 |
-} |
464 |
- |
465 |
-python_install() { |
466 |
- export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
467 |
- distutils-r1_python_install |
468 |
-} |