Gentoo Archives: gentoo-commits

From: Marius Brehler <marbre@××××××××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/ipython/files/, dev-python/ipython/
Date: Sat, 28 Nov 2015 17:58:26
Message-Id: 1448733304.0a95563dde5d355c3df5ea91d147ac2e02757719.marbre@gentoo
1 commit: 0a95563dde5d355c3df5ea91d147ac2e02757719
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Sat Nov 28 17:55:04 2015 +0000
4 Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
5 CommitDate: Sat Nov 28 17:55:04 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0a95563d
7
8 dev-python/ipython: Moved to tree
9
10 dev-python/ipython/ChangeLog | 50 --------
11 .../ipython/files/2.1.0-substitute-files.patch | 27 ----
12 dev-python/ipython/ipython-4.0.0-r2.ebuild | 136 ---------------------
13 dev-python/ipython/metadata.xml | 51 --------
14 4 files changed, 264 deletions(-)
15
16 diff --git a/dev-python/ipython/ChangeLog b/dev-python/ipython/ChangeLog
17 deleted file mode 100644
18 index 37c5859..0000000
19 --- a/dev-python/ipython/ChangeLog
20 +++ /dev/null
21 @@ -1,50 +0,0 @@
22 -# ChangeLog for dev-python/ipython
23 -# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
24 -# $Id$
25 -
26 - 22 Sep 2015; Marius Brehler <marbre@××××××××××××××.de>
27 - ipython-4.0.0-r2.ebuild:
28 - dev-python/ipython: Add ~x86 to KEYWORDS, fixes #561032
29 -
30 - 17 Sep 2015; François Bissey <francois.bissey@×××××××××××××.nz>
31 - ipython-4.0.0-r2.ebuild:
32 - dev-python/ipython: Solve circular dependency between ipython and ipyparallel
33 - when smp is enabled.
34 -
35 - 16 Sep 2015; suhr <null@null>
36 - ipython-4.0.0-r2.ebuild:
37 - dev-python/ipython: separate wxwidgets dependency from ipywidgets
38 -
39 - 02 Sep 2015; Marius Brehler <marbre@××××××××××××××.de>
40 - ipython-4.0.0-r1.ebuild:
41 - dev-python/ipython: Fix #480; add testpath to dependencies
42 -
43 - 02 Sep 2015; Marius Brehler <marbre@××××××××××××××.de>
44 - ipython-4.0.0-r1.ebuild:
45 - dev-python/ipython: Move setuptools from CDEPEND to DEPEND
46 -
47 - 02 Sep 2015; Marius Brehler <marbre@××××××××××××××.de>
48 - ipython-4.0.0-r1.ebuild:
49 - dev-python/ipython: Re-Fix #474; notebook use flag requires use wxwidgets
50 -
51 - 01 Sep 2015; Sean Vig <sean.v.775@×××××.com>
52 - dev-python/ipython: remove mathjax references
53 -
54 -*ipython-4.0.0-r1 (01 Sep 2015)
55 -
56 - 01 Sep 2015; Marius Brehler <marbre@××××××××××××××.de>
57 - +ipython-4.0.0-r1.ebuild, -ipython-4.0.0.ebuild:
58 - dev-python/ipython: Fix #474
59 -
60 - 25 Aug 2015; Marius Brehler <marbre@××××××××××××××.de> ipython-4.0.0.ebuild,
61 - metadata.xml:
62 - dev-python/ipython: Drop octave useflag
63 -
64 - 25 Aug 2015; Marius Brehler <marbre@××××××××××××××.de> ipython-4.0.0.ebuild:
65 - dev-python/ipython: Provide qt4 console via dev-python/qtconsole
66 -
67 -*ipython-4.0.0 (13 Aug 2015)
68 -
69 - 13 Aug 2015; Marius Brehler <marbre@××××××××××××××.de>
70 - +files/2.1.0-substitute-files.patch, +ipython-4.0.0.ebuild, +metadata.xml:
71 - dev-python/ipython: Version bumped ebuild; Imported from tree
72
73 diff --git a/dev-python/ipython/files/2.1.0-substitute-files.patch b/dev-python/ipython/files/2.1.0-substitute-files.patch
74 deleted file mode 100644
75 index 659df39..0000000
76 --- a/dev-python/ipython/files/2.1.0-substitute-files.patch
77 +++ /dev/null
78 @@ -1,27 +0,0 @@
79 -substitute the insource files with these messages
80 -diff --git a/IPython/extensions/octavemagic.py b/IPython/extensions/octavemagic.py
81 -new file mode 100644
82 -index 0000000..dc93fe4
83 ---- /dev/null
84 -+++ b/IPython/extensions/octavemagic.py
85 -@@ -0,0 +1,7 @@
86 -+import warnings
87 -+
88 -+def load_ipython_extension(ip):
89 -+ msg = ("The octavemagic extension has been moved to oct2py. "
90 -+ "After installing oct2py, you can load octavemagic with the "
91 -+ "following command: '%load_ext oct2py.ipython'.")
92 -+ warnings.warn(msg, Warning, stacklevel=2)
93 -diff --git a/IPython/extensions/rmagic.py b/IPython/extensions/rmagic.py
94 -new file mode 100644
95 -index 0000000..739e491
96 ---- /dev/null
97 -+++ b/IPython/extensions/rmagic.py
98 -@@ -0,0 +1,7 @@
99 -+import warnings
100 -+
101 -+def load_ipython_extension(ip):
102 -+ msg = ("The rmagic extension has been moved to rpy2. "
103 -+ "After installing rpy2, you can load rmagic with the "
104 -+ "following command: '%load_ext rpy2.ipython'.")
105 -+ warnings.warn(msg, Warning, stacklevel=2)
106
107 diff --git a/dev-python/ipython/ipython-4.0.0-r2.ebuild b/dev-python/ipython/ipython-4.0.0-r2.ebuild
108 deleted file mode 100644
109 index 076965c..0000000
110 --- a/dev-python/ipython/ipython-4.0.0-r2.ebuild
111 +++ /dev/null
112 @@ -1,136 +0,0 @@
113 -# Copyright 1999-2015 Gentoo Foundation
114 -# Distributed under the terms of the GNU General Public License v2
115 -# $Id$
116 -
117 -EAPI=5
118 -
119 -PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
120 -PYTHON_REQ_USE='readline,sqlite,threads(+)'
121 -
122 -inherit distutils-r1 eutils virtualx
123 -
124 -DESCRIPTION="Advanced interactive shell for Python"
125 -HOMEPAGE="http://ipython.org/"
126 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
127 -
128 -LICENSE="BSD"
129 -SLOT="0"
130 -KEYWORDS="~amd64 ~x86"
131 -IUSE="doc examples matplotlib mongodb notebook nbconvert qt4 +smp test wxwidgets"
132 -
133 -REQUIRED_USE="
134 - test? ( doc matplotlib mongodb notebook nbconvert qt4 wxwidgets )
135 - doc? ( mongodb )"
136 -
137 -CDEPEND="
138 - dev-python/decorator[${PYTHON_USEDEP}]
139 - dev-python/pexpect[${PYTHON_USEDEP}]
140 - dev-python/pickleshare[${PYTHON_USEDEP}]
141 - dev-python/pyparsing[${PYTHON_USEDEP}]
142 - dev-python/simplegeneric[${PYTHON_USEDEP}]
143 - dev-python/traitlets[${PYTHON_USEDEP}]
144 - matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
145 - mongodb? ( <dev-python/pymongo-3[${PYTHON_USEDEP}] )
146 - wxwidgets? ( $(python_gen_cond_dep 'dev-python/wxpython:*[${PYTHON_USEDEP}]' python2_7) )"
147 -
148 -RDEPEND="${CDEPEND}
149 - notebook? (
150 - dev-python/notebook[${PYTHON_USEDEP}]
151 - dev-python/ipywidgets[${PYTHON_USEDEP}]
152 - )
153 - nbconvert? ( dev-python/nbconvert[${PYTHON_USEDEP}] )
154 - qt4? ( dev-python/qtconsole )"
155 -DEPEND="${CDEPEND}
156 - dev-python/setuptools[${PYTHON_USEDEP}]
157 - test? (
158 - app-text/dvipng
159 - dev-python/jinja[${PYTHON_USEDEP}]
160 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
161 - >=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
162 - dev-python/requests[${PYTHON_USEDEP}]
163 - dev-python/sphinx[${PYTHON_USEDEP}]
164 - >=www-servers/tornado-4.0[${PYTHON_USEDEP}]
165 - dev-python/testpath[${PYTHON_USEDEP}]
166 - )
167 - doc? (
168 - dev-python/cython[${PYTHON_USEDEP}]
169 - $(python_gen_cond_dep 'dev-python/fabric[${PYTHON_USEDEP}]' python2_7)
170 - >=dev-python/jsonschema-2.0[${PYTHON_USEDEP}]
171 - dev-python/matplotlib[${PYTHON_USEDEP}]
172 - >=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
173 - dev-python/numpydoc[${PYTHON_USEDEP}]
174 - dev-python/rpy[${PYTHON_USEDEP}]
175 - >=dev-python/sphinx-1.1[${PYTHON_USEDEP}]
176 - >=www-servers/tornado-4.0[${PYTHON_USEDEP}]
177 - )"
178 -
179 -PDEPEND="
180 - smp? ( dev-python/ipyparallel[${PYTHON_USEDEP}] )"
181 -
182 -PATCHES=(
183 - "${FILESDIR}"/2.1.0-substitute-files.patch
184 - )
185 -
186 -DISTUTILS_IN_SOURCE_BUILD=1
187 -
188 -python_prepare_all() {
189 - # Remove out of date insource files
190 - rm IPython/extensions/rmagic.py || die
191 -
192 - # Prevent un-needed download during build
193 - if use doc; then
194 - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
195 - fi
196 -
197 - distutils-r1_python_prepare_all
198 -}
199 -
200 -python_compile_all() {
201 - use doc && emake -C docs html_noapi
202 -}
203 -
204 -python_test() {
205 - distutils_install_for_testing
206 - # https://github.com/ipython/ipython/issues/8639
207 - # Failure of some modules only in python3.4
208 - local fail
209 - run_tests() {
210 - pushd ${TEST_DIR} > /dev/null
211 - "${PYTHON}" -m IPython.testing.iptestcontroller --all || fail=1
212 - popd > /dev/null
213 - }
214 - VIRTUALX_COMMAND=run_tests virtualmake
215 - [[ ${fail} ]] && die "Tests fail with ${EPYTHON}"
216 -}
217 -
218 -python_install() {
219 - distutils-r1_python_install
220 -
221 - # Create ipythonX.Y symlinks.
222 - # TODO:
223 - # 1. do we want them for pypy? No. pypy has no numpy
224 - # 2. handle it in the eclass instead (use _python_ln_rel).
225 - # With pypy not an option the dosym becomes unconditional
226 - dosym ../lib/python-exec/${EPYTHON}/ipython \
227 - /usr/bin/ipython${EPYTHON#python}
228 -}
229 -
230 -python_install_all() {
231 - use doc && local HTML_DOCS=( docs/build/html/. )
232 - use examples && local EXAMPLES=( examples/. )
233 - distutils-r1_python_install_all
234 -}
235 -
236 -pkg_postinst() {
237 - optfeature "sympyprinting" dev-python/sympy
238 - optfeature "cythonmagic" dev-python/cython
239 - optfeature "%lprun magic command" dev-python/line_profiler
240 - optfeature "%mprun magic command" dev-python/memory_profiler
241 - if use nbconvert; then
242 - if ! has_version app-text/pandoc ; then
243 - einfo "Node.js will be used to convert notebooks to other formats"
244 - einfo "like HTML. Support for that is still experimental. If you"
245 - einfo "encounter any problems, please use app-text/pandoc instead."
246 - fi
247 - fi
248 -}
249
250 diff --git a/dev-python/ipython/metadata.xml b/dev-python/ipython/metadata.xml
251 deleted file mode 100644
252 index 75c2dff..0000000
253 --- a/dev-python/ipython/metadata.xml
254 +++ /dev/null
255 @@ -1,51 +0,0 @@
256 -<?xml version="1.0" encoding="UTF-8"?>
257 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
258 -<pkgmetadata>
259 - <herd>python</herd>
260 - <longdescription lang="en">
261 - IPython provides a replacement for the interactive Python interpreter with
262 - extra functionality. Main features:
263 - * Comprehensive object introspection.
264 - * Input history, persistent across sessions.
265 - * Caching of output results during a session with automatically generated
266 - references.
267 - * Readline based name completion.
268 - * Extensible system of 'magic' commands for controlling the environment and
269 - performing many tasks related either to IPython or the operating system.
270 - * Configuration system with easy switching between different setups (simpler
271 - than changing $PYTHONSTARTUP environment variables every time).
272 - * Session logging and reloading.
273 - * Extensible syntax processing for special purpose situations.
274 - * Access to the system shell with user-extensible alias system.
275 - * Easily embeddable in other Python programs.
276 - * Integrated access to the pdb debugger and the Python profiler.
277 -</longdescription>
278 - <longdescription lang="ja">
279 -対話的に利用する場合にPythonインタープリタから、より機能が豊富なIPythonへ置き換&gt;える事ができます。
280 -
281 -主機能:
282 -* 内包的オブジェクトの分析。
283 -* 入力ヒストリーはセッションを越えて記憶し続けます。
284 -* 出力は自動作成されるリファレンスのセッション間はキャッシュします。
285 -* Readlineを利用した名前補完。
286 -* 環境管理とIPythonまたはOSのどちらかに関係するタスク実行のためのmagic
287 - コマンドを拡張可能なシステム。
288 -* 異なるセットアップを簡単に交換できるコンフィグレーション・システム。
289 - (毎回起動時に、$PYTHONSTARTUP環境変数を指定するよりも簡単です。)
290 -* セッション・ロギングとセッション・リローディング。
291 -* 特別な状況時のための拡張可能な構文解析。
292 -* ユーザー定義できるエイリアス・システムでシステム・シェルにアクセス。
293 -* 他のPython言語プログラムを組み込むのが簡単。
294 -* pdbデバッガとprofilerへの統合アクセス。
295 -</longdescription>
296 - <use>
297 - <flag name="matplotlib">Add support for <pkg>dev-python/matplotlib</pkg></flag>
298 - <flag name="mongodb">Enable support for MongoDB via <pkg>dev-python/pymongo</pkg></flag>
299 - <flag name="notebook">Install requirements for the web notebook based on <pkg>www-servers/tornado</pkg></flag>
300 - <flag name="nbconvert">Enable support for converting notebooks to various formats using <pkg>app-text/pandoc</pkg></flag>
301 - </use>
302 - <upstream>
303 - <remote-id type="pypi">ipython</remote-id>
304 - <remote-id type="github">ipython/ipython</remote-id>
305 - </upstream>
306 -</pkgmetadata>