Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ipython/
Date: Tue, 14 Feb 2017 21:20:34
Message-Id: 1487107140.a09fbd5c6cf5f5676c4373c2ce5d77e416b81972.monsieurp@gentoo
1 commit: a09fbd5c6cf5f5676c4373c2ce5d77e416b81972
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Tue Feb 14 10:13:21 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 14 21:19:00 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a09fbd5c
7
8 dev-python/ipython: drop old.
9
10 Package-Manager: portage-2.3.3
11 Closes: https://github.com/gentoo/gentoo/pull/3952
12
13 dev-python/ipython/Manifest | 2 -
14 dev-python/ipython/ipython-4.0.1.ebuild | 137 --------------------------------
15 dev-python/ipython/ipython-4.1.1.ebuild | 137 --------------------------------
16 3 files changed, 276 deletions(-)
17
18 diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest
19 index 94466d8250..c73e79471a 100644
20 --- a/dev-python/ipython/Manifest
21 +++ b/dev-python/ipython/Manifest
22 @@ -1,7 +1,5 @@
23 DIST ipython-3.2.1.tar.gz 10884249 SHA256 c913adee7ae5b338055274c51a7d2b3cea468b5b316046fa520cd8a434b09177 SHA512 de7723e3b859d21a58a24456c76c8d8ec98c019f290f61269f46270e7647d2b49a98671138fecd75cb6f46384fde7e09618eb5c85c175e0e442c7fae7328d8fe WHIRLPOOL 9f020c167559259931dcb177d0c3a5211939632e5775c2627795ba390cf57bd62c378c15b7ee9b9ed2079180f8df8e062eb9673ed9cfc025a56f1da82c9428d1
24 -DIST ipython-4.0.1.tar.gz 6207566 SHA256 3bd3b78abc4f43b9ea7fa5353a2a9ba01af8ac4aec5d11e78fa5cbcec105432e SHA512 88419feca21c762a8553b4c11661e28b3305742fc89309abfd46b1213da210249b4781b754996835a2cc539569ae7cb816ed26bbaddbf15529eeb6479660265e WHIRLPOOL 58c17378fbcbac94e1585cce0cdd00996f7df20f5781a88e1e7d56b9fe2db81fe3282211dba31e8f54d2e50db869d2cce2670cfebc5c868455f481064e0089c6
25 DIST ipython-4.0.3.tar.gz 6207899 SHA256 3a928f59e8ac8dd97858c28390867c87c09510f1f8bbe97e4e9c6b036eb84fc0 SHA512 1e2deb597348757e69aaeadd0632cf984056e5f7278ee5bbbd7b4233581323b07f55685b1891c23dc0977d9f30f7dc734dcf2216bc8876424cdb0f7a9294fecf WHIRLPOOL 1beb60e6daf3cea4609318e87a07307843eeb1002847f8c3c5fbe8e114ab29cb052c810884b410f1e8414437b91c5335048106756e2d88a82a7e440e3ff8fc17
26 -DIST ipython-4.1.1.tar.gz 4938684 SHA256 1cb340dfdf6ec306b9ded72071742c87fa5247929db7ab704e17defe1975e38f SHA512 ccb24a6d3de5f12a21225387e46ad1b1038910d51d8c0aeb1f4ad6d24751b300295548083f60f3eadec3f29c75370644638b30e6ce391d13f900454e8b3d60a5 WHIRLPOOL f041d10747d4919566a0119e25bfd9030d6213021ecd222bad9e456a7cb3505ee5d3ffc7fe0de5aa1080453565245c3e95cb774df0746f7d4a13b51067bc53b9
27 DIST ipython-4.1.2.tar.gz 4953949 SHA256 052f9692a227f285febecec856d749811ac6a20b32c7629b4de31f04ea701692 SHA512 2a28a82cbc5d11cb1f1c88e452f52dbc6b196ac12d46cdec1f35d49e7f97aa8ee5c2a90a6f02f072297c4ef17f84a4454100a4b2594968ec46995c4fd459c09b WHIRLPOOL 1ae1fb4a88d9fd73c93ce096cdb4754d3153e156d87760b48825a2af3ec7eec3d3232b2b0f59f5fce94fb4e14b8c51361781527d9f5320a336ed786fc339567f
28 DIST ipython-4.2.0.tar.gz 4935042 SHA256 dba42f182b5f6f26630d2202efd30383712d9f7d8d8d9896b37ae2145deca616 SHA512 01c931a9745af7d43d174b761b506b78840ac9484007741665ff3d4a448131384194869552957353d07beb35e29187743353002c7c0a31f3b336f3b01a64a323 WHIRLPOOL 62468bef537d7533eaf9c89106bd7587dae70c921d623374c0ea796262e304cbf53020375c1876ebefb8b42e7d896b8b071afbcd5e1c710dac4a0a00783f3d82
29 DIST ipython-5.1.0.tar.gz 4945490 SHA256 7ef4694e1345913182126b219aaa4a0047e191af414256da6772cf249571b961 SHA512 84dbb5629d7a781abdadb9015dc637551bd57427d3187a55de3fb7f50d3d36afb1a8c0a5aaf75da95a8ff41ab623a3c6216373b2145914b960983ba0bf52c3c2 WHIRLPOOL 298e5c248a9d56ec3d9d9824ecee67da95c48d664a44643b8eede8e1719c7d6566b8dcc1fbf8cd4ae8f2829218ad189e9415fb931151b71402a40f326ca9cf01
30
31 diff --git a/dev-python/ipython/ipython-4.0.1.ebuild b/dev-python/ipython/ipython-4.0.1.ebuild
32 deleted file mode 100644
33 index 7700e7b1e0..0000000000
34 --- a/dev-python/ipython/ipython-4.0.1.ebuild
35 +++ /dev/null
36 @@ -1,137 +0,0 @@
37 -# Copyright 1999-2016 Gentoo Foundation
38 -# Distributed under the terms of the GNU General Public License v2
39 -# $Id$
40 -
41 -EAPI=5
42 -
43 -PYTHON_COMPAT=( python2_7 python3_{4,5} )
44 -PYTHON_REQ_USE='readline,sqlite,threads(+)'
45 -
46 -inherit distutils-r1 eutils virtualx
47 -
48 -DESCRIPTION="Advanced interactive shell for Python"
49 -HOMEPAGE="http://ipython.org/"
50 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
51 -
52 -LICENSE="BSD"
53 -SLOT="0"
54 -KEYWORDS="~amd64 ~x86"
55 -IUSE="doc examples matplotlib mongodb notebook nbconvert qt4 +smp test wxwidgets"
56 -
57 -REQUIRED_USE="
58 - test? ( doc matplotlib mongodb notebook nbconvert qt4 wxwidgets )
59 - doc? ( mongodb )"
60 -
61 -CDEPEND="
62 - dev-python/decorator[${PYTHON_USEDEP}]
63 - dev-python/pexpect[${PYTHON_USEDEP}]
64 - dev-python/pickleshare[${PYTHON_USEDEP}]
65 - dev-python/pyparsing[${PYTHON_USEDEP}]
66 - dev-python/simplegeneric[${PYTHON_USEDEP}]
67 - dev-python/traitlets[${PYTHON_USEDEP}]
68 - matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
69 - mongodb? ( <dev-python/pymongo-3[${PYTHON_USEDEP}] )
70 - wxwidgets? ( $(python_gen_cond_dep 'dev-python/wxpython:*[${PYTHON_USEDEP}]' python2_7) )"
71 -
72 -RDEPEND="${CDEPEND}
73 - notebook? (
74 - dev-python/notebook[${PYTHON_USEDEP}]
75 - dev-python/ipywidgets[${PYTHON_USEDEP}]
76 - )
77 - nbconvert? ( dev-python/nbconvert[${PYTHON_USEDEP}] )
78 - qt4? ( dev-python/qtconsole )"
79 -DEPEND="${CDEPEND}
80 - dev-python/setuptools[${PYTHON_USEDEP}]
81 - test? (
82 - app-text/dvipng
83 - dev-python/jinja[${PYTHON_USEDEP}]
84 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
85 - >=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
86 - dev-python/requests[${PYTHON_USEDEP}]
87 - dev-python/sphinx[${PYTHON_USEDEP}]
88 - >=www-servers/tornado-4.0[${PYTHON_USEDEP}]
89 - dev-python/testpath[${PYTHON_USEDEP}]
90 - x11-base/xorg-server[xvfb]
91 - )
92 - doc? (
93 - dev-python/cython[${PYTHON_USEDEP}]
94 - $(python_gen_cond_dep 'dev-python/fabric[${PYTHON_USEDEP}]' python2_7)
95 - >=dev-python/jsonschema-2.0[${PYTHON_USEDEP}]
96 - dev-python/matplotlib[${PYTHON_USEDEP}]
97 - >=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
98 - dev-python/numpydoc[${PYTHON_USEDEP}]
99 - dev-python/rpy[${PYTHON_USEDEP}]
100 - >=dev-python/sphinx-1.1[${PYTHON_USEDEP}]
101 - >=www-servers/tornado-4.0[${PYTHON_USEDEP}]
102 - )"
103 -
104 -PDEPEND="
105 - smp? ( dev-python/ipyparallel[${PYTHON_USEDEP}] )"
106 -
107 -PATCHES=(
108 - "${FILESDIR}"/2.1.0-substitute-files.patch
109 - )
110 -
111 -DISTUTILS_IN_SOURCE_BUILD=1
112 -
113 -python_prepare_all() {
114 - # Remove out of date insource files
115 - rm IPython/extensions/rmagic.py || die
116 -
117 - # Prevent un-needed download during build
118 - if use doc; then
119 - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
120 - fi
121 -
122 - distutils-r1_python_prepare_all
123 -}
124 -
125 -python_compile_all() {
126 - use doc && emake -C docs html_noapi
127 -}
128 -
129 -python_test() {
130 - distutils_install_for_testing
131 - # https://github.com/ipython/ipython/issues/8639
132 - # Failure of some modules only in python3.4
133 - local fail
134 - run_tests() {
135 - pushd ${TEST_DIR} > /dev/null || die
136 - "${PYTHON}" -m IPython.testing.iptestcontroller --all || fail=1
137 - popd > /dev/null || die
138 - }
139 - VIRTUALX_COMMAND=run_tests virtualmake
140 - [[ ${fail} ]] && die "Tests fail with ${EPYTHON}"
141 -}
142 -
143 -python_install() {
144 - distutils-r1_python_install
145 -
146 - # Create ipythonX.Y symlinks.
147 - # TODO:
148 - # 1. do we want them for pypy? No. pypy has no numpy
149 - # 2. handle it in the eclass instead (use _python_ln_rel).
150 - # With pypy not an option the dosym becomes unconditional
151 - dosym ../lib/python-exec/${EPYTHON}/ipython \
152 - /usr/bin/ipython${EPYTHON#python}
153 -}
154 -
155 -python_install_all() {
156 - use doc && local HTML_DOCS=( docs/build/html/. )
157 - use examples && local EXAMPLES=( examples/. )
158 - distutils-r1_python_install_all
159 -}
160 -
161 -pkg_postinst() {
162 - optfeature "sympyprinting" dev-python/sympy
163 - optfeature "cythonmagic" dev-python/cython
164 - optfeature "%lprun magic command" dev-python/line_profiler
165 - optfeature "%mprun magic command" dev-python/memory_profiler
166 - if use nbconvert; then
167 - if ! has_version app-text/pandoc ; then
168 - einfo "Node.js will be used to convert notebooks to other formats"
169 - einfo "like HTML. Support for that is still experimental. If you"
170 - einfo "encounter any problems, please use app-text/pandoc instead."
171 - fi
172 - fi
173 -}
174
175 diff --git a/dev-python/ipython/ipython-4.1.1.ebuild b/dev-python/ipython/ipython-4.1.1.ebuild
176 deleted file mode 100644
177 index 950ecf4026..0000000000
178 --- a/dev-python/ipython/ipython-4.1.1.ebuild
179 +++ /dev/null
180 @@ -1,137 +0,0 @@
181 -# Copyright 1999-2016 Gentoo Foundation
182 -# Distributed under the terms of the GNU General Public License v2
183 -# $Id$
184 -
185 -EAPI=5
186 -
187 -PYTHON_COMPAT=( python2_7 python3_{4,5} )
188 -PYTHON_REQ_USE='readline,sqlite,threads(+)'
189 -
190 -inherit distutils-r1 eutils virtualx
191 -
192 -DESCRIPTION="Advanced interactive shell for Python"
193 -HOMEPAGE="http://ipython.org/"
194 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
195 -
196 -LICENSE="BSD"
197 -SLOT="0"
198 -KEYWORDS="~amd64 ~arm64 ~x86"
199 -IUSE="doc examples matplotlib mongodb notebook nbconvert qt4 +smp test wxwidgets"
200 -
201 -REQUIRED_USE="
202 - test? ( doc matplotlib mongodb notebook nbconvert qt4 wxwidgets )
203 - doc? ( mongodb )"
204 -
205 -CDEPEND="
206 - dev-python/decorator[${PYTHON_USEDEP}]
207 - dev-python/pexpect[${PYTHON_USEDEP}]
208 - dev-python/pickleshare[${PYTHON_USEDEP}]
209 - dev-python/pyparsing[${PYTHON_USEDEP}]
210 - dev-python/simplegeneric[${PYTHON_USEDEP}]
211 - dev-python/traitlets[${PYTHON_USEDEP}]
212 - matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
213 - mongodb? ( <dev-python/pymongo-3[${PYTHON_USEDEP}] )
214 - wxwidgets? ( $(python_gen_cond_dep 'dev-python/wxpython:*[${PYTHON_USEDEP}]' python2_7) )"
215 -
216 -RDEPEND="${CDEPEND}
217 - notebook? (
218 - dev-python/notebook[${PYTHON_USEDEP}]
219 - dev-python/ipywidgets[${PYTHON_USEDEP}]
220 - )
221 - nbconvert? ( dev-python/nbconvert[${PYTHON_USEDEP}] )"
222 -DEPEND="${CDEPEND}
223 - >=dev-python/setuptools-18.5[${PYTHON_USEDEP}]
224 - test? (
225 - app-text/dvipng
226 - dev-python/jinja[${PYTHON_USEDEP}]
227 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
228 - >=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
229 - dev-python/pygments[${PYTHON_USEDEP}]
230 - dev-python/requests[${PYTHON_USEDEP}]
231 - dev-python/sphinx[${PYTHON_USEDEP}]
232 - dev-python/testpath[${PYTHON_USEDEP}]
233 - >=www-servers/tornado-4.0[${PYTHON_USEDEP}]
234 - x11-base/xorg-server[xvfb]
235 - )
236 - doc? (
237 - dev-python/cython[${PYTHON_USEDEP}]
238 - $(python_gen_cond_dep 'dev-python/fabric[${PYTHON_USEDEP}]' python2_7)
239 - >=dev-python/jsonschema-2.0[${PYTHON_USEDEP}]
240 - dev-python/matplotlib[${PYTHON_USEDEP}]
241 - >=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
242 - dev-python/rpy[${PYTHON_USEDEP}]
243 - >=dev-python/sphinx-1.3[${PYTHON_USEDEP}]
244 - >=www-servers/tornado-4.0[${PYTHON_USEDEP}]
245 - )"
246 -
247 -PDEPEND="
248 - qt4? ( dev-python/qtconsole )
249 - smp? ( dev-python/ipyparallel[${PYTHON_USEDEP}] )"
250 -
251 -PATCHES=(
252 - "${FILESDIR}"/2.1.0-substitute-files.patch
253 - )
254 -
255 -DISTUTILS_IN_SOURCE_BUILD=1
256 -
257 -python_prepare_all() {
258 - # Remove out of date insource files
259 - rm IPython/extensions/rmagic.py || die
260 -
261 - # Prevent un-needed download during build
262 - if use doc; then
263 - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
264 - fi
265 -
266 - distutils-r1_python_prepare_all
267 -}
268 -
269 -python_compile_all() {
270 - use doc && emake -C docs html_noapi
271 -}
272 -
273 -python_test() {
274 - distutils_install_for_testing
275 - # https://github.com/ipython/ipython/issues/8639
276 - # Failure of some modules only in python3.4
277 - local fail
278 - run_tests() {
279 - pushd ${TEST_DIR} > /dev/null || die
280 - "${PYTHON}" -m IPython.testing.iptestcontroller --all || fail=1
281 - popd > /dev/null || die
282 - }
283 - VIRTUALX_COMMAND=run_tests virtualmake
284 - [[ ${fail} ]] && die "Tests fail with ${EPYTHON}"
285 -}
286 -
287 -python_install() {
288 - distutils-r1_python_install
289 -
290 - # Create ipythonX.Y symlinks.
291 - # TODO:
292 - # 1. do we want them for pypy? No. pypy has no numpy
293 - # 2. handle it in the eclass instead (use _python_ln_rel).
294 - # With pypy not an option the dosym becomes unconditional
295 - dosym ../lib/python-exec/${EPYTHON}/ipython \
296 - /usr/bin/ipython${EPYTHON#python}
297 -}
298 -
299 -python_install_all() {
300 - use doc && local HTML_DOCS=( docs/build/html/. )
301 - use examples && local EXAMPLES=( examples/. )
302 - distutils-r1_python_install_all
303 -}
304 -
305 -pkg_postinst() {
306 - optfeature "sympyprinting" dev-python/sympy
307 - optfeature "cythonmagic" dev-python/cython
308 - optfeature "%lprun magic command" dev-python/line_profiler
309 - optfeature "%mprun magic command" dev-python/memory_profiler
310 - if use nbconvert; then
311 - if ! has_version app-text/pandoc ; then
312 - einfo "Node.js will be used to convert notebooks to other formats"
313 - einfo "like HTML. Support for that is still experimental. If you"
314 - einfo "encounter any problems, please use app-text/pandoc instead."
315 - fi
316 - fi
317 -}