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