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/ipython/
Date: Thu, 20 Jan 2022 13:56:53
Message-Id: 1642686885.b72cd6e3a7d02e410c44e58aa4b29f395cb0bead.mgorny@gentoo
1 commit: b72cd6e3a7d02e410c44e58aa4b29f395cb0bead
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 20 13:54:18 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 20 13:54:45 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b72cd6e3
7
8 dev-python/ipython: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/ipython/Manifest | 4 -
13 dev-python/ipython/ipython-7.29.0.ebuild | 153 ----------------------------
14 dev-python/ipython/ipython-7.30.1.ebuild | 153 ----------------------------
15 dev-python/ipython/ipython-7.31.0.ebuild | 153 ----------------------------
16 dev-python/ipython/ipython-8.0.0-r1.ebuild | 154 -----------------------------
17 5 files changed, 617 deletions(-)
18
19 diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest
20 index 315d892b12d7..4fc54bdcf16f 100644
21 --- a/dev-python/ipython/Manifest
22 +++ b/dev-python/ipython/Manifest
23 @@ -1,6 +1,2 @@
24 -DIST ipython-7.29.0.tar.gz 5151803 BLAKE2B 685bb7df39513fe262c07dbb10de4d795860bf2958c626d030bfa3e18052a98d7c9d5f0f96c0c9a5d4b9fdcfab09c492457d409f05ce522f607456ff3a4b35fd SHA512 b8e9cc07a0f77bbfaa88183546ed9d7e4a4c37e7c1704b1a3716d605a04339f986c7767f3c0920a94039eda99e75afb62a7bb43fa0cde6699a902f3b8f83a398
25 -DIST ipython-7.30.1.tar.gz 5154336 BLAKE2B 0753433eea2ee6a5a6451db6aa537c9c9469c749b970ecdd040123787064e7be78363060a785c7ea4175b8e0f4f2bfefa15485f6f5412ec34690fe505a1cfb97 SHA512 839f709e019dd5efe32730f2e4c457e6dae0db5490844805d30f12a1fd17bfb2f991f1374a84542b2392d3ce332096d3922471c6b14149331075be8719b14734
26 -DIST ipython-7.31.0.tar.gz 5154974 BLAKE2B 5debac9a1011cc6541a2ce97df5d8793465ce4c289d1293c33c29eacc23cbd2271f0a8d7362c3445a88d080edefd85046aebc8782cd930c3dd8b6837ec682bf6 SHA512 705122ca63df17812ab360da06d58431b51d3a1f3bba47df7131e882de64de54c6986e7ba3d55f4b77c4b1049981b0100ba64825e952b25712c843ef7e975e2f
27 DIST ipython-7.31.1.tar.gz 5156314 BLAKE2B e6528c9d3920078918180c4c2fae5d0ac20cd377e012691fee4c0cfa6c3056c739efc1ab9cc6231f55034d70619e501ff30e31b929bd5f1f623c89075abfb02d SHA512 7bd1378f7b2bd2146d8c2cf15c958b08f286b0163ca3e267bcd92c3f988d2d20cf48fd6e3c185eed6d30baceb195aeb0170280900e587c898d0812c4ffdee3a0
28 -DIST ipython-8.0.0.tar.gz 5395839 BLAKE2B 8844372c423c4b33a2a77b376c033aa00a4d44d1735cad42c4c85b05950370fcafea109025f4f02d124643656673ebf45ef27f78a93d31083b94e13d9364b32c SHA512 cb372080fac212f0d3872747820d06829f6b008ba142650c1af6fbc2ff287a0a82e9ec27777fe1c94f86d7dd9b57a9ebab467eeabd100344d053becd8ec1f70b
29 DIST ipython-8.0.1.tar.gz 5306811 BLAKE2B 9088faf779e2783ce97c6a45f0baa3c7163e12f63546aa65eb961de2b2fbacaac8ba1cf0c3c705bc326b4c999fe3ce672f31e3abaa7168d912504880ad8d3c2f SHA512 c4f3cf6e4aa7dab1e4e8cec2d669e5fe4ea3eeac9063132a38544596fafbaaed0f287bbdce12e8bc3d7613766c51b0e1ff8c7c86fdbd53e387caade6bbcdb828
30
31 diff --git a/dev-python/ipython/ipython-7.29.0.ebuild b/dev-python/ipython/ipython-7.29.0.ebuild
32 deleted file mode 100644
33 index 8a06654a6d9f..000000000000
34 --- a/dev-python/ipython/ipython-7.29.0.ebuild
35 +++ /dev/null
36 @@ -1,153 +0,0 @@
37 -# Copyright 1999-2021 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=8
41 -
42 -DISTUTILS_USE_SETUPTOOLS=no
43 -PYTHON_COMPAT=( python3_{8..10} )
44 -PYTHON_REQ_USE='readline,sqlite,threads(+)'
45 -
46 -inherit distutils-r1 optfeature virtualx
47 -
48 -DESCRIPTION="Advanced interactive shell for Python"
49 -HOMEPAGE="https://ipython.org/ https://github.com/ipython/ipython/"
50 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
51 -
52 -LICENSE="BSD"
53 -SLOT="0"
54 -KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
55 -IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test"
56 -RESTRICT="!test? ( test )"
57 -
58 -RDEPEND="
59 - dev-python/backcall[${PYTHON_USEDEP}]
60 - dev-python/decorator[${PYTHON_USEDEP}]
61 - >=dev-python/jedi-0.16[${PYTHON_USEDEP}]
62 - >=dev-python/pexpect-4.3[${PYTHON_USEDEP}]
63 - dev-python/pickleshare[${PYTHON_USEDEP}]
64 - >=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}]
65 - <dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}]
66 - dev-python/pygments[${PYTHON_USEDEP}]
67 - dev-python/traitlets[${PYTHON_USEDEP}]
68 - matplotlib? (
69 - dev-python/matplotlib[${PYTHON_USEDEP}]
70 - dev-python/matplotlib-inline[${PYTHON_USEDEP}]
71 - )
72 -"
73 -
74 -BDEPEND="
75 - test? (
76 - app-text/dvipng[truetype]
77 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
78 - dev-python/matplotlib[${PYTHON_USEDEP}]
79 - dev-python/matplotlib-inline[${PYTHON_USEDEP}]
80 - dev-python/nbformat[${PYTHON_USEDEP}]
81 - dev-python/nose[${PYTHON_USEDEP}]
82 - >=dev-python/numpy-1.17[${PYTHON_USEDEP}]
83 - dev-python/requests[${PYTHON_USEDEP}]
84 - dev-python/testpath[${PYTHON_USEDEP}]
85 - )
86 - doc? (
87 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
88 - dev-python/matplotlib[${PYTHON_USEDEP}]
89 - >=dev-python/sphinx-2[${PYTHON_USEDEP}]
90 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
91 - )"
92 -
93 -distutils_enable_tests pytest
94 -
95 -RDEPEND+="
96 - nbconvert? (
97 - dev-python/nbconvert[${PYTHON_USEDEP}]
98 - )"
99 -PDEPEND="
100 - notebook? (
101 - dev-python/notebook[${PYTHON_USEDEP}]
102 - dev-python/ipywidgets[${PYTHON_USEDEP}]
103 - dev-python/widgetsnbextension[${PYTHON_USEDEP}]
104 - )
105 - qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] )
106 - smp? (
107 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
108 - >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}]
109 - )"
110 -
111 -PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch )
112 -
113 -DISTUTILS_IN_SOURCE_BUILD=1
114 -
115 -python_prepare_all() {
116 - # Remove out of date insource files
117 - rm IPython/extensions/cythonmagic.py || die
118 - rm IPython/extensions/rmagic.py || die
119 -
120 - # Prevent un-needed download during build
121 - if use doc; then
122 - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
123 - fi
124 -
125 - # Rename the test directory to reduce sys.path pollution
126 - # https://github.com/ipython/ipython/issues/12892
127 - mv IPython/extensions/{,ipython_}tests || die
128 -
129 - distutils-r1_python_prepare_all
130 -}
131 -
132 -python_compile_all() {
133 - if use doc; then
134 - emake -C docs html_noapi
135 - HTML_DOCS=( docs/build/html/. )
136 - fi
137 -}
138 -
139 -python_test() {
140 - local -x IPYTHON_TESTING_TIMEOUT_SCALE=20
141 - local EPYTEST_DESELECT=()
142 - [[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=(
143 - # TODO
144 - IPython/core/tests/test_completer.py::TestCompleter::test_all_completions_dups
145 - IPython/core/tests/test_completer.py::TestCompleter::test_deduplicate_completions
146 - IPython/core/tests/test_oinspect.py::test_pinfo_docstring_if_detail_and_no_source
147 - # fails due to changed argparse output
148 - IPython/core/tests/test_magic_arguments.py::test_magic_arguments
149 - # py3.10 API incompat, doesn't look important
150 - IPython/lib/tests/test_pretty.py::test_pprint_heap_allocated_type
151 - )
152 - virtx epytest
153 -}
154 -
155 -python_install() {
156 - distutils-r1_python_install
157 -
158 - # Create ipythonX.Y symlinks.
159 - # TODO:
160 - # 1. do we want them for pypy? No. pypy has no numpy
161 - # 2. handle it in the eclass instead (use _python_ln_rel).
162 - # With pypy not an option the dosym becomes unconditional
163 - dosym ../lib/python-exec/${EPYTHON}/ipython \
164 - /usr/bin/ipython${EPYTHON#python}
165 -}
166 -
167 -python_install_all() {
168 - distutils-r1_python_install_all
169 -
170 - if use examples; then
171 - dodoc -r examples
172 - docompress -x /usr/share/doc/${PF}/examples
173 - fi
174 -}
175 -
176 -pkg_postinst() {
177 - optfeature "sympyprinting" dev-python/sympy
178 - optfeature "cythonmagic" dev-python/cython
179 - optfeature "%lprun magic command" dev-python/line_profiler
180 - optfeature "%mprun magic command" dev-python/memory_profiler
181 -
182 - if use nbconvert; then
183 - if ! has_version app-text/pandoc ; then
184 - einfo "Node.js will be used to convert notebooks to other formats"
185 - einfo "like HTML. Support for that is still experimental. If you"
186 - einfo "encounter any problems, please use app-text/pandoc instead."
187 - fi
188 - fi
189 -}
190
191 diff --git a/dev-python/ipython/ipython-7.30.1.ebuild b/dev-python/ipython/ipython-7.30.1.ebuild
192 deleted file mode 100644
193 index 82468e01680f..000000000000
194 --- a/dev-python/ipython/ipython-7.30.1.ebuild
195 +++ /dev/null
196 @@ -1,153 +0,0 @@
197 -# Copyright 1999-2022 Gentoo Authors
198 -# Distributed under the terms of the GNU General Public License v2
199 -
200 -EAPI=8
201 -
202 -DISTUTILS_USE_SETUPTOOLS=no
203 -PYTHON_COMPAT=( python3_{8..10} )
204 -PYTHON_REQ_USE='readline,sqlite,threads(+)'
205 -
206 -inherit distutils-r1 optfeature virtualx
207 -
208 -DESCRIPTION="Advanced interactive shell for Python"
209 -HOMEPAGE="https://ipython.org/ https://github.com/ipython/ipython/"
210 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
211 -
212 -LICENSE="BSD"
213 -SLOT="0"
214 -KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
215 -IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test"
216 -RESTRICT="!test? ( test )"
217 -
218 -RDEPEND="
219 - dev-python/backcall[${PYTHON_USEDEP}]
220 - dev-python/decorator[${PYTHON_USEDEP}]
221 - >=dev-python/jedi-0.16[${PYTHON_USEDEP}]
222 - >=dev-python/pexpect-4.3[${PYTHON_USEDEP}]
223 - dev-python/pickleshare[${PYTHON_USEDEP}]
224 - >=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}]
225 - <dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}]
226 - dev-python/pygments[${PYTHON_USEDEP}]
227 - dev-python/traitlets[${PYTHON_USEDEP}]
228 - matplotlib? (
229 - dev-python/matplotlib[${PYTHON_USEDEP}]
230 - dev-python/matplotlib-inline[${PYTHON_USEDEP}]
231 - )
232 -"
233 -
234 -BDEPEND="
235 - test? (
236 - app-text/dvipng[truetype]
237 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
238 - dev-python/matplotlib[${PYTHON_USEDEP}]
239 - dev-python/matplotlib-inline[${PYTHON_USEDEP}]
240 - dev-python/nbformat[${PYTHON_USEDEP}]
241 - dev-python/nose[${PYTHON_USEDEP}]
242 - >=dev-python/numpy-1.17[${PYTHON_USEDEP}]
243 - dev-python/requests[${PYTHON_USEDEP}]
244 - dev-python/testpath[${PYTHON_USEDEP}]
245 - )
246 - doc? (
247 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
248 - dev-python/matplotlib[${PYTHON_USEDEP}]
249 - >=dev-python/sphinx-2[${PYTHON_USEDEP}]
250 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
251 - )"
252 -
253 -distutils_enable_tests pytest
254 -
255 -RDEPEND+="
256 - nbconvert? (
257 - dev-python/nbconvert[${PYTHON_USEDEP}]
258 - )"
259 -PDEPEND="
260 - notebook? (
261 - dev-python/notebook[${PYTHON_USEDEP}]
262 - dev-python/ipywidgets[${PYTHON_USEDEP}]
263 - dev-python/widgetsnbextension[${PYTHON_USEDEP}]
264 - )
265 - qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] )
266 - smp? (
267 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
268 - >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}]
269 - )"
270 -
271 -PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch )
272 -
273 -DISTUTILS_IN_SOURCE_BUILD=1
274 -
275 -python_prepare_all() {
276 - # Remove out of date insource files
277 - rm IPython/extensions/cythonmagic.py || die
278 - rm IPython/extensions/rmagic.py || die
279 -
280 - # Prevent un-needed download during build
281 - if use doc; then
282 - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
283 - fi
284 -
285 - # Rename the test directory to reduce sys.path pollution
286 - # https://github.com/ipython/ipython/issues/12892
287 - mv IPython/extensions/{,ipython_}tests || die
288 -
289 - distutils-r1_python_prepare_all
290 -}
291 -
292 -python_compile_all() {
293 - if use doc; then
294 - emake -C docs html_noapi
295 - HTML_DOCS=( docs/build/html/. )
296 - fi
297 -}
298 -
299 -python_test() {
300 - local -x IPYTHON_TESTING_TIMEOUT_SCALE=20
301 - local EPYTEST_DESELECT=()
302 - [[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=(
303 - # TODO
304 - IPython/core/tests/test_completer.py::TestCompleter::test_all_completions_dups
305 - IPython/core/tests/test_completer.py::TestCompleter::test_deduplicate_completions
306 - IPython/core/tests/test_oinspect.py::test_pinfo_docstring_if_detail_and_no_source
307 - # fails due to changed argparse output
308 - IPython/core/tests/test_magic_arguments.py::test_magic_arguments
309 - # py3.10 API incompat, doesn't look important
310 - IPython/lib/tests/test_pretty.py::test_pprint_heap_allocated_type
311 - )
312 - virtx epytest
313 -}
314 -
315 -python_install() {
316 - distutils-r1_python_install
317 -
318 - # Create ipythonX.Y symlinks.
319 - # TODO:
320 - # 1. do we want them for pypy? No. pypy has no numpy
321 - # 2. handle it in the eclass instead (use _python_ln_rel).
322 - # With pypy not an option the dosym becomes unconditional
323 - dosym ../lib/python-exec/${EPYTHON}/ipython \
324 - /usr/bin/ipython${EPYTHON#python}
325 -}
326 -
327 -python_install_all() {
328 - distutils-r1_python_install_all
329 -
330 - if use examples; then
331 - dodoc -r examples
332 - docompress -x /usr/share/doc/${PF}/examples
333 - fi
334 -}
335 -
336 -pkg_postinst() {
337 - optfeature "sympyprinting" dev-python/sympy
338 - optfeature "cythonmagic" dev-python/cython
339 - optfeature "%lprun magic command" dev-python/line_profiler
340 - optfeature "%mprun magic command" dev-python/memory_profiler
341 -
342 - if use nbconvert; then
343 - if ! has_version app-text/pandoc ; then
344 - einfo "Node.js will be used to convert notebooks to other formats"
345 - einfo "like HTML. Support for that is still experimental. If you"
346 - einfo "encounter any problems, please use app-text/pandoc instead."
347 - fi
348 - fi
349 -}
350
351 diff --git a/dev-python/ipython/ipython-7.31.0.ebuild b/dev-python/ipython/ipython-7.31.0.ebuild
352 deleted file mode 100644
353 index dfb591368fb8..000000000000
354 --- a/dev-python/ipython/ipython-7.31.0.ebuild
355 +++ /dev/null
356 @@ -1,153 +0,0 @@
357 -# Copyright 1999-2022 Gentoo Authors
358 -# Distributed under the terms of the GNU General Public License v2
359 -
360 -EAPI=8
361 -
362 -DISTUTILS_USE_SETUPTOOLS=no
363 -PYTHON_COMPAT=( python3_{8..10} )
364 -PYTHON_REQ_USE='readline,sqlite,threads(+)'
365 -
366 -inherit distutils-r1 optfeature virtualx
367 -
368 -DESCRIPTION="Advanced interactive shell for Python"
369 -HOMEPAGE="https://ipython.org/ https://github.com/ipython/ipython/"
370 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
371 -
372 -LICENSE="BSD"
373 -SLOT="0"
374 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
375 -IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test"
376 -RESTRICT="!test? ( test )"
377 -
378 -RDEPEND="
379 - dev-python/backcall[${PYTHON_USEDEP}]
380 - dev-python/decorator[${PYTHON_USEDEP}]
381 - >=dev-python/jedi-0.16[${PYTHON_USEDEP}]
382 - >=dev-python/pexpect-4.3[${PYTHON_USEDEP}]
383 - dev-python/pickleshare[${PYTHON_USEDEP}]
384 - >=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}]
385 - <dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}]
386 - dev-python/pygments[${PYTHON_USEDEP}]
387 - dev-python/traitlets[${PYTHON_USEDEP}]
388 - matplotlib? (
389 - dev-python/matplotlib[${PYTHON_USEDEP}]
390 - dev-python/matplotlib-inline[${PYTHON_USEDEP}]
391 - )
392 -"
393 -
394 -BDEPEND="
395 - test? (
396 - app-text/dvipng[truetype]
397 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
398 - dev-python/matplotlib[${PYTHON_USEDEP}]
399 - dev-python/matplotlib-inline[${PYTHON_USEDEP}]
400 - dev-python/nbformat[${PYTHON_USEDEP}]
401 - dev-python/nose[${PYTHON_USEDEP}]
402 - >=dev-python/numpy-1.17[${PYTHON_USEDEP}]
403 - dev-python/requests[${PYTHON_USEDEP}]
404 - dev-python/testpath[${PYTHON_USEDEP}]
405 - )
406 - doc? (
407 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
408 - dev-python/matplotlib[${PYTHON_USEDEP}]
409 - >=dev-python/sphinx-2[${PYTHON_USEDEP}]
410 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
411 - )"
412 -
413 -distutils_enable_tests pytest
414 -
415 -RDEPEND+="
416 - nbconvert? (
417 - dev-python/nbconvert[${PYTHON_USEDEP}]
418 - )"
419 -PDEPEND="
420 - notebook? (
421 - dev-python/notebook[${PYTHON_USEDEP}]
422 - dev-python/ipywidgets[${PYTHON_USEDEP}]
423 - dev-python/widgetsnbextension[${PYTHON_USEDEP}]
424 - )
425 - qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] )
426 - smp? (
427 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
428 - >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}]
429 - )"
430 -
431 -PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch )
432 -
433 -DISTUTILS_IN_SOURCE_BUILD=1
434 -
435 -python_prepare_all() {
436 - # Remove out of date insource files
437 - rm IPython/extensions/cythonmagic.py || die
438 - rm IPython/extensions/rmagic.py || die
439 -
440 - # Prevent un-needed download during build
441 - if use doc; then
442 - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
443 - fi
444 -
445 - # Rename the test directory to reduce sys.path pollution
446 - # https://github.com/ipython/ipython/issues/12892
447 - mv IPython/extensions/{,ipython_}tests || die
448 -
449 - distutils-r1_python_prepare_all
450 -}
451 -
452 -python_compile_all() {
453 - if use doc; then
454 - emake -C docs html_noapi
455 - HTML_DOCS=( docs/build/html/. )
456 - fi
457 -}
458 -
459 -python_test() {
460 - local -x IPYTHON_TESTING_TIMEOUT_SCALE=20
461 - local EPYTEST_DESELECT=()
462 - [[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=(
463 - # TODO
464 - IPython/core/tests/test_completer.py::TestCompleter::test_all_completions_dups
465 - IPython/core/tests/test_completer.py::TestCompleter::test_deduplicate_completions
466 - IPython/core/tests/test_oinspect.py::test_pinfo_docstring_if_detail_and_no_source
467 - # fails due to changed argparse output
468 - IPython/core/tests/test_magic_arguments.py::test_magic_arguments
469 - # py3.10 API incompat, doesn't look important
470 - IPython/lib/tests/test_pretty.py::test_pprint_heap_allocated_type
471 - )
472 - virtx epytest
473 -}
474 -
475 -python_install() {
476 - distutils-r1_python_install
477 -
478 - # Create ipythonX.Y symlinks.
479 - # TODO:
480 - # 1. do we want them for pypy? No. pypy has no numpy
481 - # 2. handle it in the eclass instead (use _python_ln_rel).
482 - # With pypy not an option the dosym becomes unconditional
483 - dosym ../lib/python-exec/${EPYTHON}/ipython \
484 - /usr/bin/ipython${EPYTHON#python}
485 -}
486 -
487 -python_install_all() {
488 - distutils-r1_python_install_all
489 -
490 - if use examples; then
491 - dodoc -r examples
492 - docompress -x /usr/share/doc/${PF}/examples
493 - fi
494 -}
495 -
496 -pkg_postinst() {
497 - optfeature "sympyprinting" dev-python/sympy
498 - optfeature "cythonmagic" dev-python/cython
499 - optfeature "%lprun magic command" dev-python/line_profiler
500 - optfeature "%mprun magic command" dev-python/memory_profiler
501 -
502 - if use nbconvert; then
503 - if ! has_version app-text/pandoc ; then
504 - einfo "Node.js will be used to convert notebooks to other formats"
505 - einfo "like HTML. Support for that is still experimental. If you"
506 - einfo "encounter any problems, please use app-text/pandoc instead."
507 - fi
508 - fi
509 -}
510
511 diff --git a/dev-python/ipython/ipython-8.0.0-r1.ebuild b/dev-python/ipython/ipython-8.0.0-r1.ebuild
512 deleted file mode 100644
513 index 28e1e1885dc1..000000000000
514 --- a/dev-python/ipython/ipython-8.0.0-r1.ebuild
515 +++ /dev/null
516 @@ -1,154 +0,0 @@
517 -# Copyright 1999-2022 Gentoo Authors
518 -# Distributed under the terms of the GNU General Public License v2
519 -
520 -EAPI=8
521 -
522 -DISTUTILS_USE_SETUPTOOLS=rdepend
523 -PYTHON_COMPAT=( python3_{8..10} )
524 -PYTHON_REQ_USE='readline,sqlite,threads(+)'
525 -
526 -inherit distutils-r1 optfeature virtualx
527 -
528 -DESCRIPTION="Advanced interactive shell for Python"
529 -HOMEPAGE="https://ipython.org/ https://github.com/ipython/ipython/"
530 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
531 -
532 -LICENSE="BSD"
533 -SLOT="0"
534 -KEYWORDS="~amd64 ~arm64 ~ia64 ~riscv"
535 -IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test"
536 -RESTRICT="!test? ( test )"
537 -
538 -RDEPEND="
539 - dev-python/backcall[${PYTHON_USEDEP}]
540 - dev-python/black[${PYTHON_USEDEP}]
541 - dev-python/decorator[${PYTHON_USEDEP}]
542 - >=dev-python/jedi-0.16[${PYTHON_USEDEP}]
543 - dev-python/matplotlib-inline[${PYTHON_USEDEP}]
544 - >=dev-python/pexpect-4.3[${PYTHON_USEDEP}]
545 - dev-python/pickleshare[${PYTHON_USEDEP}]
546 - >=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}]
547 - <dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}]
548 - dev-python/pygments[${PYTHON_USEDEP}]
549 - dev-python/stack_data[${PYTHON_USEDEP}]
550 - >=dev-python/traitlets-5.0[${PYTHON_USEDEP}]
551 - matplotlib? (
552 - dev-python/matplotlib[${PYTHON_USEDEP}]
553 - )
554 -"
555 -
556 -BDEPEND="
557 - test? (
558 - app-text/dvipng[truetype]
559 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
560 - dev-python/matplotlib-inline[${PYTHON_USEDEP}]
561 - dev-python/nbformat[${PYTHON_USEDEP}]
562 - >=dev-python/numpy-1.19[${PYTHON_USEDEP}]
563 - dev-python/requests[${PYTHON_USEDEP}]
564 - dev-python/testpath[${PYTHON_USEDEP}]
565 - )
566 - doc? (
567 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
568 - dev-python/matplotlib[${PYTHON_USEDEP}]
569 - >=dev-python/sphinx-2[${PYTHON_USEDEP}]
570 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
571 - )"
572 -
573 -distutils_enable_tests pytest
574 -
575 -RDEPEND+="
576 - nbconvert? (
577 - dev-python/nbconvert[${PYTHON_USEDEP}]
578 - )"
579 -PDEPEND="
580 - notebook? (
581 - dev-python/notebook[${PYTHON_USEDEP}]
582 - dev-python/ipywidgets[${PYTHON_USEDEP}]
583 - dev-python/widgetsnbextension[${PYTHON_USEDEP}]
584 - )
585 - qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] )
586 - smp? (
587 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
588 - >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}]
589 - )"
590 -
591 -PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch )
592 -
593 -DISTUTILS_IN_SOURCE_BUILD=1
594 -
595 -python_prepare_all() {
596 - # Remove out of date insource files
597 - #rm IPython/extensions/cythonmagic.py || die
598 - #rm IPython/extensions/rmagic.py || die
599 -
600 - # Prevent un-needed download during build
601 - if use doc; then
602 - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
603 - fi
604 -
605 - # Rename the test directory to reduce sys.path pollution
606 - # https://github.com/ipython/ipython/issues/12892
607 - mv IPython/extensions/{,ipython_}tests || die
608 -
609 - distutils-r1_python_prepare_all
610 -}
611 -
612 -python_compile_all() {
613 - if use doc; then
614 - emake -C docs html_noapi
615 - HTML_DOCS=( docs/build/html/. )
616 - fi
617 -}
618 -
619 -python_test() {
620 - local -x IPYTHON_TESTING_TIMEOUT_SCALE=20
621 - local EPYTEST_DESELECT=(
622 - # Internet
623 - IPython/core/display.py::IPython.core.display.Image.__init__
624 - # TODO
625 - IPython/core/tests/test_oinspect.py::test_class_signature
626 - IPython/core/tests/test_oinspect.py::test_render_signature_long
627 - )
628 - [[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=(
629 - # TODO
630 - IPython/core/tests/test_completer.py::TestCompleter::test_all_completions_dups
631 - IPython/core/tests/test_completer.py::TestCompleter::test_deduplicate_completions
632 - )
633 - virtx epytest
634 -}
635 -
636 -python_install() {
637 - distutils-r1_python_install
638 -
639 - # Create ipythonX.Y symlinks.
640 - # TODO:
641 - # 1. do we want them for pypy? No. pypy has no numpy
642 - # 2. handle it in the eclass instead (use _python_ln_rel).
643 - # With pypy not an option the dosym becomes unconditional
644 - dosym ../lib/python-exec/${EPYTHON}/ipython \
645 - /usr/bin/ipython${EPYTHON#python}
646 -}
647 -
648 -python_install_all() {
649 - distutils-r1_python_install_all
650 -
651 - if use examples; then
652 - dodoc -r examples
653 - docompress -x /usr/share/doc/${PF}/examples
654 - fi
655 -}
656 -
657 -pkg_postinst() {
658 - optfeature "sympyprinting" dev-python/sympy
659 - optfeature "cythonmagic" dev-python/cython
660 - optfeature "%lprun magic command" dev-python/line_profiler
661 - optfeature "%mprun magic command" dev-python/memory_profiler
662 -
663 - if use nbconvert; then
664 - if ! has_version app-text/pandoc ; then
665 - einfo "Node.js will be used to convert notebooks to other formats"
666 - einfo "like HTML. Support for that is still experimental. If you"
667 - einfo "encounter any problems, please use app-text/pandoc instead."
668 - fi
669 - fi
670 -}