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: Mon, 12 Jul 2021 22:53:36
Message-Id: 1626130156.0cf8832deb97eb0ba8b680265c318ca563b7c75f.mgorny@gentoo
1 commit: 0cf8832deb97eb0ba8b680265c318ca563b7c75f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 12 22:49:16 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 12 22:49:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cf8832d
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 | 2 -
13 dev-python/ipython/ipython-7.22.0-r1.ebuild | 135 ---------------------------
14 dev-python/ipython/ipython-7.23.1.ebuild | 139 ----------------------------
15 3 files changed, 276 deletions(-)
16
17 diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest
18 index 6be207cb4a6..96c70171a65 100644
19 --- a/dev-python/ipython/Manifest
20 +++ b/dev-python/ipython/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST ipython-7.22.0.tar.gz 5143229 BLAKE2B be78fc7089d620cb9ad437ed8154b37ac8c7cd68ca18a2569cfcf7ea9af968c58eeee18c8d18a1f26459ccef73e59083ac27055c19e4df254836e484ce0a9908 SHA512 2647dcd5e0d9b6afc8d990d2c099ad7ed581b5eff6d657630929e0d0d9f8965e7c7924c51a10a797e7d7406212d7a06c941c163e6f6046aa62130049a9bbc0d0
23 -DIST ipython-7.23.1.tar.gz 5188898 BLAKE2B 9713b0f1f75e283e53ba19044c9919f0c4d0b1c120e63d7a79ab9c6b8783499ed115e86a24cab34fc13c46245fb43865b851e6f98a2ee729ee35c3db242fa2ba SHA512 9b35626a8a07c6bd0b93552341e5a61d3d90a60c72ad6e3fc71266d9509134366c46a7ae8aeca9c3acc7509dfeab47b5144f105cb3d1d05ef1c7acca6c2f365d
24 DIST ipython-7.24.1.tar.gz 5146561 BLAKE2B ae63d024f488f44dbd61eb9f3e14ac5b8ad801b1db195632c184c6106d4c2e6d6143c1524ae6fc5a2f6f631683b73f241c9115c439c0f97a4fe540cc232fb181 SHA512 0ea8843a1f2e7f9357ff9896f2b6da058adb5fcbbad5c3b1fc4138a085eb57034c62c0b50d82dea0e563523649ec112edd4ef0c267a914f6a7d33b44be30b977
25 DIST ipython-7.25.0.tar.gz 5147224 BLAKE2B 0a2ae7cd315ba1abde18cdfcb7ed5227e5fc43b9a053f82e7db0146cbec66b0c2a1585158e60c37559523b457ab339ad42ab8fb3fccfc9e5ea7b880593de2e73 SHA512 726d3577bfb05d0c01c55d7111f8ee03fa879427de0750ee25b0a6451365728b5fb8ccf79c42585268f768680b13f628956d292f27b9e622e5dee0b4d368d22b
26
27 diff --git a/dev-python/ipython/ipython-7.22.0-r1.ebuild b/dev-python/ipython/ipython-7.22.0-r1.ebuild
28 deleted file mode 100644
29 index 657a62aa4b7..00000000000
30 --- a/dev-python/ipython/ipython-7.22.0-r1.ebuild
31 +++ /dev/null
32 @@ -1,135 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -DISTUTILS_USE_SETUPTOOLS=no
39 -PYTHON_COMPAT=( python3_{7..9} )
40 -PYTHON_REQ_USE='readline,sqlite,threads(+)'
41 -
42 -inherit distutils-r1 optfeature virtualx
43 -
44 -DESCRIPTION="Advanced interactive shell for Python"
45 -HOMEPAGE="https://ipython.org/ https://github.com/ipython/ipython/"
46 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 -
48 -LICENSE="BSD"
49 -SLOT="0"
50 -KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
51 -IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test"
52 -RESTRICT="!test? ( test )"
53 -
54 -RDEPEND="
55 - dev-python/backcall[${PYTHON_USEDEP}]
56 - dev-python/decorator[${PYTHON_USEDEP}]
57 - >=dev-python/jedi-0.16[${PYTHON_USEDEP}]
58 - >=dev-python/pexpect-4.3[${PYTHON_USEDEP}]
59 - dev-python/pickleshare[${PYTHON_USEDEP}]
60 - >=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}]
61 - <dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}]
62 - dev-python/pygments[${PYTHON_USEDEP}]
63 - dev-python/traitlets[${PYTHON_USEDEP}]
64 - matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
65 -"
66 -
67 -BDEPEND="
68 - test? (
69 - app-text/dvipng[truetype]
70 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
71 - dev-python/matplotlib[${PYTHON_USEDEP}]
72 - dev-python/nbformat[${PYTHON_USEDEP}]
73 - dev-python/nose[${PYTHON_USEDEP}]
74 - >=dev-python/numpy-1.16[${PYTHON_USEDEP}]
75 - dev-python/requests[${PYTHON_USEDEP}]
76 - dev-python/testpath[${PYTHON_USEDEP}]
77 - )
78 - doc? (
79 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
80 - dev-python/matplotlib[${PYTHON_USEDEP}]
81 - >=dev-python/sphinx-2[${PYTHON_USEDEP}]
82 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
83 - )"
84 -
85 -distutils_enable_tests pytest
86 -
87 -RDEPEND+="
88 - nbconvert? ( dev-python/nbconvert[${PYTHON_USEDEP}] )"
89 -PDEPEND="
90 - notebook? (
91 - dev-python/notebook[${PYTHON_USEDEP}]
92 - dev-python/ipywidgets[${PYTHON_USEDEP}]
93 - dev-python/widgetsnbextension[${PYTHON_USEDEP}]
94 - )
95 - qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] )
96 - smp? (
97 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
98 - >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}]
99 - )"
100 -
101 -PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch )
102 -
103 -DISTUTILS_IN_SOURCE_BUILD=1
104 -
105 -python_prepare_all() {
106 - # Remove out of date insource files
107 - rm IPython/extensions/cythonmagic.py || die
108 - rm IPython/extensions/rmagic.py || die
109 -
110 - # Prevent un-needed download during build
111 - if use doc; then
112 - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
113 - fi
114 -
115 - # Rename the test directory to reduce sys.path pollution
116 - # https://github.com/ipython/ipython/issues/12892
117 - mv IPython/extensions/{,ipython_}tests || die
118 -
119 - distutils-r1_python_prepare_all
120 -}
121 -
122 -python_compile_all() {
123 - if use doc; then
124 - emake -C docs html_noapi
125 - HTML_DOCS=( docs/build/html/. )
126 - fi
127 -}
128 -
129 -src_test() {
130 - virtx distutils-r1_src_test
131 -}
132 -
133 -python_install() {
134 - distutils-r1_python_install
135 -
136 - # Create ipythonX.Y symlinks.
137 - # TODO:
138 - # 1. do we want them for pypy? No. pypy has no numpy
139 - # 2. handle it in the eclass instead (use _python_ln_rel).
140 - # With pypy not an option the dosym becomes unconditional
141 - dosym ../lib/python-exec/${EPYTHON}/ipython \
142 - /usr/bin/ipython${EPYTHON#python}
143 -}
144 -
145 -python_install_all() {
146 - distutils-r1_python_install_all
147 -
148 - if use examples; then
149 - dodoc -r examples
150 - docompress -x /usr/share/doc/${PF}/examples
151 - fi
152 -}
153 -
154 -pkg_postinst() {
155 - optfeature "sympyprinting" dev-python/sympy
156 - optfeature "cythonmagic" dev-python/cython
157 - optfeature "%lprun magic command" dev-python/line_profiler
158 - optfeature "%mprun magic command" dev-python/memory_profiler
159 -
160 - if use nbconvert; then
161 - if ! has_version app-text/pandoc ; then
162 - einfo "Node.js will be used to convert notebooks to other formats"
163 - einfo "like HTML. Support for that is still experimental. If you"
164 - einfo "encounter any problems, please use app-text/pandoc instead."
165 - fi
166 - fi
167 -}
168
169 diff --git a/dev-python/ipython/ipython-7.23.1.ebuild b/dev-python/ipython/ipython-7.23.1.ebuild
170 deleted file mode 100644
171 index f0c9377c381..00000000000
172 --- a/dev-python/ipython/ipython-7.23.1.ebuild
173 +++ /dev/null
174 @@ -1,139 +0,0 @@
175 -# Copyright 1999-2021 Gentoo Authors
176 -# Distributed under the terms of the GNU General Public License v2
177 -
178 -EAPI=7
179 -
180 -DISTUTILS_USE_SETUPTOOLS=no
181 -PYTHON_COMPAT=( python3_{7..9} )
182 -PYTHON_REQ_USE='readline,sqlite,threads(+)'
183 -
184 -inherit distutils-r1 optfeature virtualx
185 -
186 -DESCRIPTION="Advanced interactive shell for Python"
187 -HOMEPAGE="https://ipython.org/ https://github.com/ipython/ipython/"
188 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
189 -
190 -LICENSE="BSD"
191 -SLOT="0"
192 -KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86"
193 -IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test"
194 -RESTRICT="!test? ( test )"
195 -
196 -RDEPEND="
197 - dev-python/backcall[${PYTHON_USEDEP}]
198 - dev-python/decorator[${PYTHON_USEDEP}]
199 - >=dev-python/jedi-0.16[${PYTHON_USEDEP}]
200 - >=dev-python/pexpect-4.3[${PYTHON_USEDEP}]
201 - dev-python/pickleshare[${PYTHON_USEDEP}]
202 - >=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}]
203 - <dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}]
204 - dev-python/pygments[${PYTHON_USEDEP}]
205 - dev-python/traitlets[${PYTHON_USEDEP}]
206 - matplotlib? (
207 - dev-python/matplotlib[${PYTHON_USEDEP}]
208 - dev-python/matplotlib-inline[${PYTHON_USEDEP}]
209 - )
210 -"
211 -
212 -BDEPEND="
213 - test? (
214 - app-text/dvipng[truetype]
215 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
216 - dev-python/matplotlib[${PYTHON_USEDEP}]
217 - dev-python/matplotlib-inline[${PYTHON_USEDEP}]
218 - dev-python/nbformat[${PYTHON_USEDEP}]
219 - dev-python/nose[${PYTHON_USEDEP}]
220 - >=dev-python/numpy-1.16[${PYTHON_USEDEP}]
221 - dev-python/requests[${PYTHON_USEDEP}]
222 - dev-python/testpath[${PYTHON_USEDEP}]
223 - )
224 - doc? (
225 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
226 - dev-python/matplotlib[${PYTHON_USEDEP}]
227 - >=dev-python/sphinx-2[${PYTHON_USEDEP}]
228 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
229 - )"
230 -
231 -distutils_enable_tests pytest
232 -
233 -RDEPEND+="
234 - nbconvert? ( dev-python/nbconvert[${PYTHON_USEDEP}] )"
235 -PDEPEND="
236 - notebook? (
237 - dev-python/notebook[${PYTHON_USEDEP}]
238 - dev-python/ipywidgets[${PYTHON_USEDEP}]
239 - dev-python/widgetsnbextension[${PYTHON_USEDEP}]
240 - )
241 - qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] )
242 - smp? (
243 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
244 - >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}]
245 - )"
246 -
247 -PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch )
248 -
249 -DISTUTILS_IN_SOURCE_BUILD=1
250 -
251 -python_prepare_all() {
252 - # Remove out of date insource files
253 - rm IPython/extensions/cythonmagic.py || die
254 - rm IPython/extensions/rmagic.py || die
255 -
256 - # Prevent un-needed download during build
257 - if use doc; then
258 - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
259 - fi
260 -
261 - # Rename the test directory to reduce sys.path pollution
262 - # https://github.com/ipython/ipython/issues/12892
263 - mv IPython/extensions/{,ipython_}tests || die
264 -
265 - distutils-r1_python_prepare_all
266 -}
267 -
268 -python_compile_all() {
269 - if use doc; then
270 - emake -C docs html_noapi
271 - HTML_DOCS=( docs/build/html/. )
272 - fi
273 -}
274 -
275 -src_test() {
276 - virtx distutils-r1_src_test
277 -}
278 -
279 -python_install() {
280 - distutils-r1_python_install
281 -
282 - # Create ipythonX.Y symlinks.
283 - # TODO:
284 - # 1. do we want them for pypy? No. pypy has no numpy
285 - # 2. handle it in the eclass instead (use _python_ln_rel).
286 - # With pypy not an option the dosym becomes unconditional
287 - dosym ../lib/python-exec/${EPYTHON}/ipython \
288 - /usr/bin/ipython${EPYTHON#python}
289 -}
290 -
291 -python_install_all() {
292 - distutils-r1_python_install_all
293 -
294 - if use examples; then
295 - dodoc -r examples
296 - docompress -x /usr/share/doc/${PF}/examples
297 - fi
298 -}
299 -
300 -pkg_postinst() {
301 - optfeature "sympyprinting" dev-python/sympy
302 - optfeature "cythonmagic" dev-python/cython
303 - optfeature "%lprun magic command" dev-python/line_profiler
304 - optfeature "%mprun magic command" dev-python/memory_profiler
305 -
306 - if use nbconvert; then
307 - if ! has_version app-text/pandoc ; then
308 - einfo "Node.js will be used to convert notebooks to other formats"
309 - einfo "like HTML. Support for that is still experimental. If you"
310 - einfo "encounter any problems, please use app-text/pandoc instead."
311 - fi
312 - fi
313 -}