Gentoo Archives: gentoo-commits

From: "Jesus Rivero (neurogeek)" <neurogeek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/ipython: ChangeLog metadata.xml ipython-0.9.1.ebuild
Date: Thu, 16 Oct 2008 01:19:32
Message-Id: E1KqHWQ-0002A3-Ty@stork.gentoo.org
1 neurogeek 08/10/16 01:19:26
2
3 Modified: ChangeLog metadata.xml
4 Added: ipython-0.9.1.ebuild
5 Log:
6 Version bump. Closes bug #237878. Thanks to Justin Riley and Sebeastien Fabbro for patch and ebuild
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.18-gentoo-r3 i686)
8
9 Revision Changes Path
10 1.53 dev-python/ipython/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/ChangeLog?rev=1.53&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/ChangeLog?rev=1.53&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/ChangeLog?r1=1.52&r2=1.53
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v
19 retrieving revision 1.52
20 retrieving revision 1.53
21 diff -u -r1.52 -r1.53
22 --- ChangeLog 25 Aug 2008 08:46:32 -0000 1.52
23 +++ ChangeLog 16 Oct 2008 01:19:26 -0000 1.53
24 @@ -1,6 +1,14 @@
25 # ChangeLog for dev-python/ipython
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v 1.52 2008/08/25 08:46:32 hawking Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ChangeLog,v 1.53 2008/10/16 01:19:26 neurogeek Exp $
29 +
30 +*ipython-0.9.1 (16 Oct 2008)
31 +
32 + 16 Oct 2008; Jesus Rivero <neurogeek@g.o>
33 + +files/ipython-0.9.1-globalpath.patch, metadata.xml,
34 + +ipython-0.9.1.ebuild:
35 + Version bump. Closes bug #237878. Thanks to Justin Riley and Sebeastien
36 + Fabbro for patch and ebuild
37
38 25 Aug 2008; Ali Polatel <hawking@g.o> -ipython-0.8.1-r1.ebuild,
39 ipython-0.8.2.ebuild, -ipython-0.8.4.ebuild, ipython-0.8.4-r1.ebuild:
40
41
42
43 1.4 dev-python/ipython/metadata.xml
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/metadata.xml?rev=1.4&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/metadata.xml?rev=1.4&content-type=text/plain
47 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/metadata.xml?r1=1.3&r2=1.4
48
49 Index: metadata.xml
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/dev-python/ipython/metadata.xml,v
52 retrieving revision 1.3
53 retrieving revision 1.4
54 diff -u -r1.3 -r1.4
55 --- metadata.xml 19 Nov 2005 10:38:36 -0000 1.3
56 +++ metadata.xml 16 Oct 2008 01:19:26 -0000 1.4
57 @@ -2,6 +2,9 @@
58 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
59 <pkgmetadata>
60 <herd>python</herd>
61 +<use>
62 + <flag name='smp'>Enables support for multiprocessors</flag>
63 +</use>
64 <longdescription>
65 IPython provides a replacement for the interactive Python interpreter with
66 extra functionality.
67 @@ -23,21 +26,21 @@
68 * Integrated access to the pdb debugger and the Python profiler.
69 </longdescription>
70 <longdescription lang="ja">
71 -対話的に利用する場合にPythonインタープリタから、より機能が豊富なIPythonへ置き換>える事ができます。
72 +対話的に利用する場合にPythonインタープリタから、より機能が豊富なIPythonへ置き換>える事ができます。
73
74 -主機能:
75 -* 内包的オブジェクトの分析。
76 -* 入力ヒストリーはセッションを越えて記憶し続けます。
77 -* 出力は自動作成されるリファレンスのセッション間はキャッシュします。
78 -* Readlineを利用した名前補完。
79 -* 環境管理とIPythonまたはOSのどちらかに関係するタスク実行のためのmagic
80 - コマンドを拡張可能なシステム。
81 -* 異なるセットアップを簡単に交換できるコンフィグレーション・システム。
82 - (毎回起動時に、$PYTHONSTARTUP環境変数を指定するよりも簡単です。)
83 -* セッション・ロギングとセッション・リローディング。
84 -* 特別な状況時のための拡張可能な構文解析。
85 -* ユーザー定義できるエイリアス・システムでシステム・シェルにアクセス。
86 -* 他のPython言語プログラムを組み込むのが簡単。
87 -* pdbデバッガとprofilerへの統合アクセス。
88 +主機能:
89 +* 内包的オブジェクトの分析。
90 +* 入力ヒストリーはセッションを越えて記憶し続けます。
91 +* 出力は自動作成されるリファレンスのセッション間はキャッシュします。
92 +* Readlineを利用した名前補完。
93 +* 環境管理とIPythonまたはOSのどちらかに関係するタスク実行のためのmagic
94 + コマンドを拡張可能なシステム。
95 +* 異なるセットアップを簡単に交換できるコンフィグレーション・システム。
96 + (毎回起動時に、$PYTHONSTARTUP環境変数を指定するよりも簡単です。)
97 +* セッション・ロギングとセッション・リローディング。
98 +* 特別な状況時のための拡張可能な構文解析。
99 +* ユーザー定義できるエイリアス・システムでシステム・シェルにアクセス。
100 +* 他のPython言語プログラムを組み込むのが簡単。
101 +* pdbデバッガとprofilerへの統合アクセス。
102 </longdescription>
103 </pkgmetadata>
104
105
106
107 1.1 dev-python/ipython/ipython-0.9.1.ebuild
108
109 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/ipython-0.9.1.ebuild?rev=1.1&view=markup
110 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/ipython/ipython-0.9.1.ebuild?rev=1.1&content-type=text/plain
111
112 Index: ipython-0.9.1.ebuild
113 ===================================================================
114 # Copyright 1999-2008 Gentoo Foundation
115 # Distributed under the terms of the GNU General Public License v2
116 # $Header: /var/cvsroot/gentoo-x86/dev-python/ipython/ipython-0.9.1.ebuild,v 1.1 2008/10/16 01:19:26 neurogeek Exp $
117
118 NEED_PYTHON=2.4
119
120 inherit distutils elisp-common
121
122 DESCRIPTION="An advanced interactive shell for Python."
123 HOMEPAGE="http://ipython.scipy.org/"
124 SRC_URI="http://ipython.scipy.org/dist/${P}.tar.gz"
125
126 LICENSE="BSD"
127 SLOT="0"
128 KEYWORDS="~amd64 ~x86"
129 IUSE="doc emacs examples gnuplot readline smp test wxwindows"
130
131 CDEPEND="dev-python/pexpect
132 wxwindows? ( dev-python/wxpython )
133 readline? ( sys-libs/readline )
134 emacs? ( app-emacs/python-mode virtual/emacs )
135 smp? ( net-zope/zopeinterface
136 dev-python/foolscap
137 dev-python/pyopenssl )"
138 RDEPEND="${CDEPEND}
139 gnuplot? ( dev-python/gnuplot-py )"
140 DEPEND="${CDEPEND}
141 test? ( dev-python/nose )"
142
143 PYTHON_MODNAME="IPython"
144 SITEFILE="62ipython-gentoo.el"
145
146 src_unpack() {
147 unpack ${A}
148 cd "${S}"
149 epatch "${FILESDIR}"/${P}-globalpath.patch
150
151 sed -i \
152 -e '/examfiles)/d' \
153 -e '/manfiles)/d' \
154 -e '/manstatic)/d' \
155 -e 's/^docfiles.*/docfiles=""/' \
156 setup.py || die "sed failed"
157 }
158
159 src_compile() {
160 distutils_src_compile
161 if use emacs ; then
162 elisp-compile docs/emacs/ipython.el || die "elisp-compile failed"
163 fi
164 }
165
166 src_test() {
167 "${python}" setup.py \
168 install --home="${WORKDIR}/test" > /dev/null \
169 || die "fake install for testing failed"
170 cd "${WORKDIR}"/test
171 # first initialize .ipython stuff
172 PATH="${WORKDIR}/test/bin:${PATH}" \
173 PYTHONPATH="${WORKDIR}/test/lib/python" ipython > /dev/null <<-EOF
174 EOF
175 # test ( -v for more verbosity)
176 PATH="${WORKDIR}/test/bin:${PATH}" \
177 PYTHONPATH="${WORKDIR}/test/lib/python" iptest || die "test failed"
178 }
179
180 src_install() {
181 DOCS="docs/source/changes.txt"
182 distutils_src_install
183
184 cd docs
185 insinto "/usr/share/doc/${PF}"
186
187 if use doc; then
188 doins -r dist/* || die "doc install failed"
189 doins "${S}"/IPython/Extensions/igrid_help* || die
190 fi
191
192 if use examples ; then
193 doins -r examples || die "examples install failed"
194 fi
195
196 if use emacs ; then
197 pushd emacs
198 elisp-install ${PN} ${PN}.el* || die "elisp-install failed"
199 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
200 popd
201 fi
202 }
203
204 pkg_postinst() {
205 distutils_pkg_postinst
206 use emacs && elisp-site-regen
207 }
208
209 pkg_postrm() {
210 distutils_pkg_postrm
211 use emacs && elisp-site-regen
212 }