--- ipython-0.9.1.orig/debian/install +++ ipython-0.9.1/debian/install @@ -0,0 +1 @@ +docs/emacs/ipython.el usr/share/emacs/site-lisp --- ipython-0.9.1.orig/debian/ipcontroller.1 +++ ipython-0.9.1/debian/ipcontroller.1 @@ -0,0 +1,86 @@ +.TH IPCONTROLLER 1 "October 29, 2008" "" "" +.SH NAME +\fBipcontroller \- IPython parallel computing controller control tool +.SH SYNOPSIS +.nf +.fam C +\fBipengine\fP [\fIoptions\fP] +.fam T +.fi +.SH DESCRIPTION +ipcontroller is a control tool for IPython's parallel computing functions. +.SH OPTIONS +.TP +.B +\-h, \-\-help +show this help message and exit +.TP +.B +\-\-client\-ip=CLIENT_IP +the IP address or hostname the controller will listen on for +client connections +.TP +.B +\-\-client\-port=CLIENT_PORT +the port the controller will listen on for client connections +.TP +.B +\-\-client\-location=CLIENT_LOCATION +hostname or ip for clients to connect to +.TP +.B +\-x +turn off all client security +.TP +.B +\-\-client\-cert\-file=CLIENT_CERT_FILE +file to store the client SSL certificate +.TP +.B +\-\-task\-furl\-file=TASK_FURL_FILE +file to store the FURL for task clients to connect with +.TP +.B +\-\-multiengine\-furl\-file=MULTIENGINE_FURL_FILE +file to store the FURL for multiengine clients to connect with +.TP +.B +\-\-engine\-ip=ENGINE_IP +the IP address or hostname the controller will listen on for engine connections +.TP +.B +\-\-engine\-port=ENGINE_PORT +the port the controller will listen on for engine connections +.TP +.B +\-\-engine\-location=ENGINE_LOCATION +the IP address or hostname for engine to connect to +.TP +.B +\-y +turn off all engine security +.TP +.B +\-\-engine\-cert\-file=ENGINE_CERT_FILE +file to store the engine SSL certificate +.TP +.B +\-\-engine\-furl\-file=ENGINE_FURL_FILE +file to store the FURL for engines to connect with +.TP +.B +\-l LOGFILE, \-\-logfile=LOGFILE +log file name (default is stdout) +.TP +.B +\-\-ipythondir=IPYTHONDIR +look for config files and profiles in this directory +.SH SEE ALSO +.BR ipython(1), ipcluster(1), ipengine(1) +.br +.SH AUTHOR +\fBipcontroller\fP is a tool that ships with IPython, created by +the IPython Development Team. +.PP +This manual page was written by Stephan Peijnik , +for the Debian project (but may be used by others). --- ipython-0.9.1.orig/debian/ipython-wx.1 +++ ipython-0.9.1/debian/ipython-wx.1 @@ -0,0 +1,25 @@ +.TH IPYTHON-WX 1 "October 29, 2008" "" "" +.SH NAME +\fBipython-wx \- Graphical frontend that embeds a multithreaded IPython Shell +.SH SYNOPSIS +.nf +.fam C +\fBipython-wx\fP +.fam T +.fi +.SH DESCRIPTION +ipython-wx is, compared to ipythonx, a more advanced graphical frontend +to IPython. It is implemented using WxWidgets. +.SH OPTIONS +.TP +.B +ipython-wx does not accept any command line options. +.SH SEE ALSO +.BR ipython(1), ipythonx(1) +.br +.SH AUTHOR +\fBipython-wx\fP is a tool that ships with IPython, created by +the IPython Development Team. +.PP +This manual page was written by Stephan Peijnik , +for the Debian project (but may be used by others). --- ipython-0.9.1.orig/debian/manpages +++ ipython-0.9.1/debian/manpages @@ -0,0 +1,6 @@ +debian/irunner.1 +debian/ipcluster.1 +debian/ipengine.1 +debian/ipcontroller.1 +debian/ipythonx.1 +debian/ipython-wx.1 --- ipython-0.9.1.orig/debian/pycompat +++ ipython-0.9.1/debian/pycompat @@ -0,0 +1 @@ +2 --- ipython-0.9.1.orig/debian/irunner.1 +++ ipython-0.9.1/debian/irunner.1 @@ -0,0 +1,52 @@ +.TH IRUNNER 1 "April 24, 2007" "" "" +.SH NAME +\fBirunner \- interactive runner interface +.SH SYNOPSIS +.nf +.fam C +\fBirunner\fP [\fIoptions\fP] \fIfile_to_run\fP +.fam T +.fi +.SH DESCRIPTION +irunner is an interface to the various interactive runners +available in IPython's \fBirunner\fP module. +.PP +The already implemented runners are listed below; adding +one for a new program is a trivial task, see the source +for examples. +.SH OPTIONS +.TP +.B +\-h, \-\-help +show this help message and exit +.TP +.B +\-\-ipython +IPython interactive runner (default). +.TP +.B +\-\-python +Python interactive runner. +.TP +.B +\-\-sage +SAGE interactive runner. +.SH EXAMPLE +irunner.py \-\-python \-\- \-\-help +will pass \-\-help to the python runner. +Similarly, +irunner.py \-\-ipython \-\- \-\-interact script.ipy +.SH SEE ALSO +.BR ipython(1) +.br +.SH BUGS +The SAGE runner only works if you manually configure your SAGE +copy to use 'colors NoColor' in the ipythonrc config file, since +currently the prompt matching regexp does not identify color sequences. +.SH AUTHOR +\fBirunner\fP is an extension of Ken Schutte 's +script contributed on the ipython-user list: +http://scipy.net/pipermail/ipython-user/2006-May/001705.html +.PP +This manual page was written by Bernd Zeimetz , +for the Debian project (but may be used by others). --- ipython-0.9.1.orig/debian/compat +++ ipython-0.9.1/debian/compat @@ -0,0 +1 @@ +5 --- ipython-0.9.1.orig/debian/copyright +++ ipython-0.9.1/debian/copyright @@ -0,0 +1,238 @@ +This package was debianized by Jack Moffitt on +Wed, 12 Mar 2003 20:38:14 -0700. + +It was downloaded from http://ipython.scipy.org/ + +Upstream Authors: Fernando Perez , + Janko Hauser , + Nathaniel Gray + + + +IPython copyright and licensing notes +===================================== + +Unless indicated otherwise, files in this project are covered by a BSD-type +license, included below. + +Individual authors are the holders of the copyright for their code and are +listed in each file. + +Some files (DPyGetOpt.py, for example) may be licensed under different +conditions. Ultimately each file indicates clearly the conditions under which +its author/authors have decided to publish the code. + + +IPython license +--------------- + +IPython is released under a BSD-type license. + +Copyright (C) 2001, 2002, 2003, 2004 Fernando Perez . + +Copyright (C) 2001 Janko Hauser and Nathaniel Gray +. + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + b. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + c. Neither the name of the copyright holders nor the names of any + contributors to this software may be used to endorse or promote products + derived from this software without specific prior written permission. + + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + + + +Files with extra copyrights/licenses: +------------------------------------- +Unless indicated otherwise, files covered by a BSD-type license, see above. + +* IPython/Extensions/InterpreterExec.py: + Copyright (C) 2004 W.J. van der Laan + Copyright (C) 2004-2006 Fernando Perez + +* IPython/Extensions/ipy_constants.py: + Copyright: Gael Varoquaux + +* IPython/Extensions/ipy_profile_zope.py: + Copyright (C) InQuant GmbH + Stefan Eletzhofer + +* IPython/external/simplegeneric.py: + This is version 0.6 of Philip J. Eby's simplegeneric module + (http://cheeseshop.python.org/pypi/simplegeneric) patched to work + with Python 2.3 (which doesn't support assigning to __name__) + License: PSF or ZPL, full licenses attached below. + +* IPython/DPyGetOpt.py: + Copyright (C) 2001 Bill Bumgarner + License: MIT, see below. + +* IPython/Debugger.py: + Copyright (C) 2001 Python Software Foundation, www.python.org + Taken from Python2.2, License: PSF - see below. + +* IPython/wildcard.py: + Copyright (C) 2005 Jörgen Stenarson + +* IPython/winconsole.py: + This file is placed in the public domain. + + + + +PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 +-------------------------------------------- + +1. This LICENSE AGREEMENT is between the Python Software Foundation +("PSF"), and the Individual or Organization ("Licensee") accessing and +otherwise using this software ("Python") in source or binary form and +its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, PSF +hereby grants Licensee a nonexclusive, royalty-free, world-wide +license to reproduce, analyze, test, perform and/or display publicly, +prepare derivative works, distribute, and otherwise use Python +alone or in any derivative version, provided, however, that PSF's +License Agreement and PSF's notice of copyright, i.e., "Copyright (c) +2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights +Reserved" are retained in Python alone or in any derivative version +prepared by Licensee. + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python. + +4. PSF is making Python available to Licensee on an "AS IS" +basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between PSF and +Licensee. This License Agreement does not grant permission to use PSF +trademarks or trade name in a trademark sense to endorse or promote +products or services of Licensee, or any third party. + +8. By copying, installing or otherwise using Python, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + + + + +Zope Public License (ZPL) Version 2.1 +----------------------------------------------- + +A copyright notice accompanies this license document that +identifies the copyright holders. + +This license has been certified as open source. It has also +been designated as GPL compatible by the Free Software +Foundation (FSF). + +Redistribution and use in source and binary forms, with or +without modification, are permitted provided that the +following conditions are met: + +1. Redistributions in source code must retain the + accompanying copyright notice, this list of conditions, + and the following disclaimer. + +2. Redistributions in binary form must reproduce the accompanying + copyright notice, this list of conditions, and the + following disclaimer in the documentation and/or other + materials provided with the distribution. + +3. Names of the copyright holders must not be used to + endorse or promote products derived from this software + without prior written permission from the copyright + holders. + +4. The right to distribute this software or to use it for + any purpose does not give you the right to use + Servicemarks (sm) or Trademarks (tm) of the copyright + holders. Use of them is covered by separate agreement + with the copyright holders. + +5. If any files are modified, you must cause the modified + files to carry prominent notices stating that you changed + the files and the date of any change. + +Disclaimer + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' + AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT + NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN + NO EVENT SHALL THE COPYRIGHT HOLDERS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + + + + + + +MIT License +----------- + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + --- ipython-0.9.1.orig/debian/ipengine.1 +++ ipython-0.9.1/debian/ipengine.1 @@ -0,0 +1,41 @@ +.TH IPENGINE 1 "October 28, 2008" "" "" +.SH NAME +\fBipengine \- IPython parallel computing engine control tool +.SH SYNOPSIS +.nf +.fam C +\fBipengine\fP [\fIoptions\fP] +.fam T +.fi +.SH DESCRIPTION +ipengine is a control tool for IPython's parallel computing functions. +.SH OPTIONS +.TP +.B +\-h, \-\-help +show this help message and exit +.TP +.B +\-\-furl\-file=FURL_FILE +The filename containing the FURL of the controller +.TP +.B +\-\-mpi=MPI +How to enable MPI (mpi4py, pytrilions, or empty string to disable) +.TP +.B +\-l LOGFILE, \-\-logfile=LOGFILE +log file name (defaults to stdout) +.TP +.B +\-\-ipythondir=IPYTHONDIR +look for config files and profiles in this directory +.SH SEE ALSO +.BR ipython(1), ipcluster(1), ipcontroller(1) +.br +.SH AUTHOR +\fBipengine\fP is a tool that ships with IPython, created by +the IPython Development Team. +.PP +This manual page was written by Stephan Peijnik , +for the Debian project (but may be used by others). --- ipython-0.9.1.orig/debian/ipython.sh +++ ipython-0.9.1/debian/ipython.sh @@ -0,0 +1,12 @@ +#! /bin/sh + +# determine desired Python version from filename +VERSION="${0##*ipython}" + +if [ ! -f /usr/bin/python$VERSION ] +then + echo "Please install the python$VERSION package." >&2 + exit 1 +else + exec python$VERSION -c "import sys; sys.argv[0] = '/usr/bin/ipython$VERSION'; import IPython; IPython.Shell.start().mainloop()" $@ +fi --- ipython-0.9.1.orig/debian/changelog +++ ipython-0.9.1/debian/changelog @@ -0,0 +1,545 @@ +ipython (0.9.1-3ubuntu1) karmic; urgency=low + + * debian/patches/07_python-wxgtk2.6_compatibility.patch: add to fix issues + with python-wxgtk2.6. Patch from Gael Varoquaux. (LP: #370878) + * debian/patches/series: update accordingly. + + -- Andrea Colangelo Fri, 26 Jun 2009 13:56:15 +0200 + +ipython (0.9.1-3) unstable; urgency=low + + [ Stephan Peijnik ] + * Fixed broken Suggest on libjs-jquery (typo, was: libjs-query). + + [ Emilio Pozuelo Monfort ] + * debian/rules: remove chmod calls, they are not needed and are + modifying files in pysupport's directories which may change. + Closes: #516274. + + -- Stephan Peijnik Thu, 19 Feb 2009 07:32:37 +0100 + +ipython (0.9.1-2) unstable; urgency=low + + * Upload to unstable. + + -- Stephan Peijnik Mon, 16 Feb 2009 07:55:45 +0100 + +ipython (0.9.1-1) experimental; urgency=low + + [ Stephan Peijnik ] + * New upstream release (Closes: #500556). + * Cleaned up debian/ because the upstream tarball is clean since 0.8.4-1: + - Removed debian/uscan-dfsg-clean.sh. + - Removed debian/README.Debian-source. + - Updated debian/watch. + * Removed debian/patches/05_fix_path_import.dpatch - fixed upstream. + * Added myself to Uploaders. + * Switched from dpatch to quilt patch system. + * Added debian/patches/06_ipythonwx_importerror.patch. + Provides more usable error message when trying to execute ipython-wx + without python-wxgtk2.8 installed. + * Updated build dependencies and recommends. + - Added recommends: + + global (required by ipy_gnuglobal IPython extension) + + python (>= 2.5) | python-ctypes + + python-openssl + + python-wxwidgets2.8 (needed by ipythonx and ipython-wx) + + python-foolscap + + python-twisted-core + + python-zope-interface + - Added build dependencies (Build-Depends-Indep): + + python-sphinx (needed for building the documentation) + + python-pygments (needed for syntax highlighting in documentation) + + python-foolscap + + python-twisted-core + + python-zope-interface + + python-openssl + + python (>= 2.5) | python-ctypes + + python-nose + - Added suggests: + + libjs-query (needed by documentation to be searchable) + + python-gobject + + python-gtk2 + + python-qt3 | python-qt4 + * Added final newline to debian/manpages to get rid of a build-warning. + * Updated debian/rules so parts of the html documentation are not compressed + and thus rendered unusable. + * Wrote manpages for ipcluster, ipcontroller, ipengine, ipythonx and + ipython-wx. + * Fixed invalid Recommend on python-wxwidgets2.8 + (should have been python-wxgtk2.8 in the first place). + + [ Serafeim Zanikolas ] + * Remove embedded copy of jquery.js and instead depend on libjs-jquery. + * Fix import of path in ipipe.py (Closes: #486923). + + [ Sandro Tosi ] + * debian/control + - switch Vcs-Browser field to viewsvn + + -- Stephan Peijnik Mon, 29 Dec 2008 18:21:24 +0100 + +ipython (0.8.4-1) unstable; urgency=low + + [ Norbert Tretkowski ] + * Remove myself from uploaders. + + [ Sandro Tosi ] + * debian/control + - removed Suggests on python-numeric and added for python-numpy (Closes: + #478449) + + [ Piotr Ożarowski & Bernd Zeimetz ] + * Replace all /usr/bin/ipythonX.Y with a shell script which detects desired + Python version before invoking IPython. Package depends on default Python + version only again (Closes: #476661). + + [ Bernd Zeimetz ] + * New upstream version. + * Dropping .dfsg. from the version, the documentation is using python-sphinx + now, and included in the source. Also dropping debian/uscan-dfsg-clean.sh + and updating debian/watch accordingly. + * debian/patches: + - dropping the following patches - applied usptream / not needed anymore. + 01_docdir-base.dpatch + 02_profiler-message.dpatch + 05_no_manual_dir.dpatch + - updating the following patches: + 04_remove_shebang.dpatch + * debian/rules: + - dropping get-orig-source target, not needed anymore. + + [ Ondrej Certik ] + * standards-version updated to 3.8.0 + * DM-Upload-Allowed: yes field added and Ondrej added to Uploaders. + + -- Bernd Zeimetz Mon, 09 Jun 2008 23:13:00 +0200 + +ipython (0.8.2.dfsg-2) unstable; urgency=low + + * debian/rules: + - Creating /usr/bin/ipythonX.Y wrappers for all python versions. Thanks to + martin f. krafft (Closes: #461188). + + -- Bernd Zeimetz Thu, 17 Jan 2008 11:17:49 +0100 + +ipython (0.8.2.dfsg-1) unstable; urgency=low + + [ Bernd Zeimetz ] + * New upstream version. Manually adding the source of the documentation to + the tarball. It will be shipped by upstream with the next release. + (Closes: #458383) + * debian/uscan-dfsg-clean.sh, debian/watch, debian/rules: + - Adding uscan-dfsg-clean.sh as helper for uscan to remove non-dfsg-free + material from the tarball. Adding a get-orig-source rule to debian/rules + which runs uscan. + * debian/control: + - Updating my email address. + - Updating Standards-Version to 3.7.3. + * debian/copyright: + - Updating the file to reflect the current copyrights and licenses. + * debian/patches/00dpatch.conf: + - Adding file. + * debian/patches/{03_ipy_gnuglobal,04_remove_shebang}.dpatch: + - Updating patches. + * debian/patches/05_no_manual_dir.dpatch: + - Adding patch to stop setup.py from creating empty directories. + + [ Sandro Tosi ] + * debian/control + - uniforming Vcs-Browser field + + -- Bernd Zeimetz Wed, 09 Jan 2008 14:11:20 +0100 + +ipython (0.8.1-2) unstable; urgency=low + + [ Piotr Ożarowski ] + * Homepage field added + * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) + * Add 04_remove_shebang patch + * Removing lintian overrides, adding proper patches instead. + + [ Bernd Zeimetz ] + * Replacing Recommends by Suggests to stop ipython from installing ~500MB + of dependencies. Thanks to Marcela Tiznado (Closes: #451887). + + -- Bernd Zeimetz Mon, 19 Nov 2007 19:10:14 +0100 + +ipython (0.8.1-1) unstable; urgency=low + + [ Bernd Zeimetz ] + * debian/control: + - adding python-matplotlib to Recommends because + it is needed to run ipython -pylab + + [ Norbert Tretkowski ] + * New upstream release. (closes: #428398) + + [ Reinhard Tartler ] + * Install ipython.el properly. + + -- Norbert Tretkowski Mon, 11 Jun 2007 20:05:30 +0200 + +ipython (0.8.0-2) unstable; urgency=low + + * debian/changelog: + - adding missing colons to Closes entries to fix two + lintian warnings + * debian/compat: + - bumping compat level to 5 + * debian/control: + - adding XS-Vcs-Browser + - remove no longer needed X*-Python-Version fields + - moving python-pexpect from Recommends to Depends because + /usr/bin/irunner is not useable without it + - moving debhelper and dpatch from Build-Depends-Indep to + Build-Depends, fixing the following lintian errors: + - clean-should-be-satisfied-by-build-depends debhelper + - clean-should-be-satisfied-by-build-depends dpatch + - removing unnecessary Build-Depends-Indep on python-all-dev, + adding python to Build-Depends instead + - replacing python-central by python-support to be able to + fix #420134 without hassle + - adding ${misc:Depends} + - adding the missing identation for Homepage: + - adding cdbs as Build-Depends + - adding myself to Uploaders + - removing the short description from the long description + * debian/patches/03_ipy_gnuglobal.dpatch: + - fix the location of the global binary - we're not on windows + * debian/rules: + - removing old crust, using cdbs to make things clear again + - using python-support instead of python-central to make + modules for 2.5 avaiable now. (Closes: #420134) + - making sure the bogus /usr/IPython directory is not + included in the package again + - do not remove docs/ipython.el (Closes: #198505, #415427) + * adding lintian ovverrides for several scripts included in the + IPython/Extensions directory. + * adding a manpage for /usr/bin/irunner + + -- Bernd Zeimetz Tue, 24 Apr 2007 02:47:26 +0200 + +ipython (0.8.0-1) unstable; urgency=low + + * New upstream release. (closes: #419716) + * Removed patches merged upstream. + + -- Norbert Tretkowski Tue, 17 Apr 2007 20:26:43 +0200 + +ipython (0.7.3-2) unstable; urgency=low + + * Added a new patch from svn to fix jobctrl to work properly on posix. + + -- Norbert Tretkowski Thu, 21 Dec 2006 20:13:57 +0100 + +ipython (0.7.3-1) unstable; urgency=low + + * New upstream release. + + -- Norbert Tretkowski Mon, 18 Dec 2006 22:23:55 +0100 + +ipython (0.7.3~rc2-1) experimental; urgency=low + + * New upstream release candidate. + + -- Norbert Tretkowski Sat, 16 Dec 2006 02:20:13 +0100 + +ipython (0.7.3~beta2-1) experimental; urgency=low + + * New upstream beta release. + + -- Norbert Tretkowski Fri, 8 Dec 2006 08:02:16 +0100 + +ipython (0.7.3~beta1-1) experimental; urgency=low + + * New upstream beta release. + * Removed backported patch added in 0.7.2-5 to workaround bugs in python + 2.3's inspect module. + + -- Norbert Tretkowski Wed, 29 Nov 2006 12:35:22 +0100 + +ipython (0.7.2-6) UNRELEASED; urgency=low + + * Added XS-Vcs-Svn field. + + -- Piotr Ozarowski Thu, 23 Nov 2006 14:44:43 +0100 + +ipython (0.7.2-5) unstable; urgency=low + + * Added a new patch from svn to workaround bugs in python 2.3's inspect + module. (closes: #374625) + + -- Norbert Tretkowski Thu, 10 Aug 2006 18:36:12 +0200 + +ipython (0.7.2-4) unstable; urgency=low + + * Fixed spelling error in description. (closes: #363976) + * Ack NMU 0.7.2-3.1, thanks Matthias. (closes: #377787) + + -- Norbert Tretkowski Tue, 1 Aug 2006 22:45:11 +0200 + +ipython (0.7.2-3.1) unstable; urgency=medium + + * NMU. + * Convert to updated Python policy. (closes: #377787) + + -- Matthias Klose Thu, 13 Jul 2006 17:42:06 +0000 + +ipython (0.7.2-3ubuntu1) edgy; urgency=low + + * Synchronize with Debian unstable. + * Convert to updated Python policy. Collapse all packages into one + ipython package, don't handle ipython using alternatives. + + -- Matthias Klose Tue, 11 Jul 2006 09:47:37 +0000 + +ipython (0.7.2-3) unstable; urgency=low + + * Removed alternative for irunner manpage. + + -- Norbert Tretkowski Sat, 17 Jun 2006 09:49:10 +0200 + +ipython (0.7.2-2) unstable; urgency=medium + + * Fixed conflict in irunner. (closes: #373874) + * Added recommendation for python-pexpect. (closes: #373794) + + -- Norbert Tretkowski Fri, 16 Jun 2006 10:43:45 +0200 + +ipython (0.7.2-1) unstable; urgency=low + + [ Piotr Ozarowski ] + * Added watch file. + + [ Norbert Tretkowski ] + * New upstream release. + + -- Norbert Tretkowski Thu, 8 Jun 2006 23:36:03 +0200 + +ipython (0.7.1.fix1+0.7.2.rc1-1) experimental; urgency=low + + * New upstream release candidate. + * Updated Standards-Version to 3.7.2.0, no changes required. + + -- Norbert Tretkowski Sat, 27 May 2006 14:49:24 +0200 + +ipython (0.7.1.fix1-2) unstable; urgency=low + + * Set maintainer to Debian Python modules team and added myself to + uploaders. + + -- Norbert Tretkowski Sun, 16 Apr 2006 15:53:43 +0200 + +ipython (0.7.1.fix1-1) unstable; urgency=low + + * New upstream bugfix release. + * Removed backported patch which was added in 0.7.1-3 to catch + KeyboardInterrupt exceptions properly, it's part of this release. + * Fixed names of pdfs in doc-base file to shut up linda. + + -- Norbert Tretkowski Tue, 14 Feb 2006 23:51:17 +0100 + +ipython (0.7.1-3) unstable; urgency=low + + * Added a new patch from upstream to catch KeyboardInterrupt exceptions + properly. + + -- Norbert Tretkowski Mon, 30 Jan 2006 19:42:31 +0100 + +ipython (0.7.1-2) unstable; urgency=low + + * Really remove alternatives on purge, thanks Lars Wirzenius for finding + the problem. (closes: #317269) + + -- Norbert Tretkowski Sun, 29 Jan 2006 23:11:28 +0100 + +ipython (0.7.1-1) unstable; urgency=low + + * New upstream release. + + -- Norbert Tretkowski Tue, 24 Jan 2006 21:42:33 +0100 + +ipython (0.7.0-2) unstable; urgency=low + + * Fixed circular dependencies (closes: #341980) + * Added version to dependency on ipython dummy package. (closes: #320235) + * Removed python2.2 package, ipython now depends on python >= 2.3. + * Bumped up standards-version, no changes needed. + + -- Norbert Tretkowski Sat, 21 Jan 2006 23:27:53 +0100 + +ipython (0.7.0-1) unstable; urgency=low + + * New upstream release. + * Updated 01_docdir-base.dpatch and 02_profiler-message.dpatch. + + -- Norbert Tretkowski Sat, 21 Jan 2006 20:08:23 +0100 + +ipython (0.6.15-2) unstable; urgency=low + + * New maintainer, thanks Jack for your work. + + -- Norbert Tretkowski Sun, 28 Aug 2005 19:57:09 +0200 + +ipython (0.6.15-1) unstable; urgency=low + + * New upstream release. + + -- Norbert Tretkowski Thu, 2 Jun 2005 23:51:45 +0200 + +ipython (0.6.14-1) unstable; urgency=low + + * New upstream release. + + -- Norbert Tretkowski Tue, 31 May 2005 22:53:25 +0200 + +ipython (0.6.13-1) unstable; urgency=low + + * New upstream release. + * Removed backported patch which was added in 0.6.12-3 to fix misleading + prompt, it's part of this release. + + -- Norbert Tretkowski Fri, 15 Apr 2005 09:42:35 +0200 + +ipython (0.6.12-4) unstable; urgency=medium + + * Re-added python build-dependency, it got lost in 0.6.12-2. + (closes: #301636) + + -- Norbert Tretkowski Sun, 27 Mar 2005 14:28:26 +0200 + +ipython (0.6.12-3) unstable; urgency=low + + * Added a new patch from cvs to fix misleading prompt2. (closes: #300847) + + -- Norbert Tretkowski Sun, 27 Mar 2005 00:05:26 +0100 + +ipython (0.6.12-2) unstable; urgency=low + + * Added packages for python2.2 and python2.4, ipython package is now a dummy + package depending on ipython built for Debians default python. + (closes: #292537) + * Split out generic files into separate ipython-common package. + * Enhanced package descriptions. + * Removed CFLAGS settings from debian/rules, not required. + * Tweaked message displayed when profiler support is missing. + * Suggest the python-profiler package. + + -- Norbert Tretkowski Fri, 25 Mar 2005 20:24:36 +0100 + +ipython (0.6.12-1) unstable; urgency=low + + * New upstream release. + * Removed patch which was added in 0.6.5-1.1 to make profiling support + optional, it was merged upstream. + + -- Norbert Tretkowski Wed, 2 Mar 2005 12:15:09 +0100 + +ipython (0.6.11-1) unstable; urgency=low + + * New upstream release. + + Fixed broken profiling support unless -D is specified. (closes: #295779) + * Acknowledged NMUs. (closes: #206653, #294500, #294861, #280505) + * New co-maintainer, added myself to uploaders. + + -- Norbert Tretkowski Tue, 1 Mar 2005 12:40:33 +0100 + +ipython (0.6.5-1.2) unstable; urgency=low + + * Non-maintainer upload. + * Rebuild with a python version that is actually in Debian. + + -- Wichert Akkerman Thu, 17 Feb 2005 23:08:52 +0100 + +ipython (0.6.5-1.1) unstable; urgency=low + + * NMU to apply patch making profiling support optional (provided by + Torsten Marek). (closes: #294500) + + -- Steven R. Baker Thu, 17 Feb 2005 05:02:55 -0400 + +ipython (0.6.5-1) unstable; urgency=low + + * New upstream release + + -- Jack Moffitt Thu, 2 Dec 2004 15:49:27 -0700 + +ipython (0.6.4-1.1) unstable; urgency=low + + * NMU from BSP Frankfurt: + - Added Build-Depends on dpatch (Closes: #280505) + + -- Joerg Jaspert Sat, 27 Nov 2004 18:28:17 +0100 + +ipython (0.6.4-1) unstable; urgency=low + + * New upstream release + * Updated debian/rules to use dpatch and added debian/patches/* + + -- Jack Moffitt Tue, 9 Nov 2004 10:38:51 -0700 + +ipython (0.6.3-1) unstable; urgency=low + + * New upstream release (Closes: #262244, #252525) + + -- Jack Moffitt Wed, 22 Sep 2004 21:39:38 -0600 + +ipython (0.6.0-1) unstable; urgency=low + + * New upstream release + + -- Jack Moffitt Sun, 9 May 2004 17:38:00 +0200 + +ipython (0.4.0-1.1) unstable; urgency=low + + * Non maintainer upload with maintainer consensus. + * Updated buil-dep to depend on python-2.3 (Closes: #206653) + * Included encoding comment string in modules under IPython to + avoid python2.3 Warnigs (upstream noticed). + + -- Marco Presi (Zufus) Mon, 25 Aug 2003 19:02:20 +0200 + +ipython (0.4.0-1) unstable; urgency=low + + * New upstream release (Closes: #195215) + * Updated Build-Depends (Closes: #200021) + + -- Jack Moffitt Fri, 25 Jul 2003 10:16:12 -0600 + +ipython (0.2.15pre3-4) unstable; urgency=low + + * Add python-dev Build-Depends (Closes: #189901) + + -- Jack Moffitt Mon, 12 May 2003 23:33:43 -0600 + +ipython (0.2.15pre3-3) unstable; urgency=low + + * Fix for accidently converting home directory files' line ends + instead of just the appropriate ipython configuration files + (Closes: #189042) + + -- Jack Moffitt Mon, 14 Apr 2003 21:18:18 -0600 + +ipython (0.2.15pre3-2) unstable; urgency=low + + * Added text of the PSF license to debian/copyright. + + -- Jack Moffitt Sat, 5 Apr 2003 11:41:31 -0700 + +ipython (0.2.15pre3-1) unstable; urgency=low + + * Updated documentation to point to the new homepage - + http://ipython.scipy.org + * Removed doc/COPYING and doc/GNU-LGPL to fix lintian warnings + * Public release ready (Closes: #185789) + + -- Jack Moffitt Tue, 1 Apr 2003 20:53:31 -0700 + +ipython (0.2.15pre3-0a) unstable; urgency=low + + * Initial Release. + * This is my first Debian package + + -- Jack Moffitt Wed, 12 Mar 2003 21:04:22 -0700 + --- ipython-0.9.1.orig/debian/rules +++ ipython-0.9.1/debian/rules @@ -0,0 +1,45 @@ +#!/usr/bin/make -f +# ipython debian/rules file +DEB_PYTHON_SYSTEM = pysupport +PYVERS = $(shell pyversions -sv) + +# Make sure the html documentation is not compressed and thus stays usable. +DEB_COMPRESS_EXCLUDE := manual/html/ + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +install/ipython:: + # remove test suite script + rm $(CURDIR)/debian/ipython/usr/bin/iptest + # remove documentation + rm $(CURDIR)/debian/ipython/usr/share/doc/ipython/manual/html/_static/jquery.js + ln -s /usr/share/javascript/jquery/jquery.js \ + $(CURDIR)/debian/ipython/usr/share/doc/ipython/manual/html/_static/ + + # add wrapper scripts for all python versions + set -e ;\ + firstpyver="" ;\ + for pyvers in $(PYVERS); do \ + if [ "$${firstpyver}" = "" ]; then \ + install -m 755 debian/ipython.sh $(CURDIR)/debian/ipython/usr/bin/ipython$$pyvers ;\ + firstpyver="$$pyvers" ;\ + else \ + dh_link /usr/bin/ipython$${firstpyver} /usr/bin/ipython$$pyvers ;\ + fi ;\ + dh_link /usr/share/man/man1/ipython.1.gz /usr/share/man/man1/ipython$$pyvers.1.gz ;\ + done + + # change permission on scripts + chmod a-x $(CURDIR)/debian/ipython/usr/share/doc/ipython/examples/* + + # removing bogus usr/IPython directory + rm -rf $(CURDIR)/debian/ipython/usr/IPython + +binary-fixup/ipython:: + rm -rf $(CURDIR)/debian/ipython/usr/share/doc/ipython/extensions + + +# Needed for quilt to work properly. +clean:: unpatch --- ipython-0.9.1.orig/debian/control +++ ipython-0.9.1/debian/control @@ -0,0 +1,31 @@ +Source: ipython +Section: python +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Python Modules Team +Uploaders: Bernd Zeimetz , Ondrej Certik , + Stephan Peijnik +Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python, python-support (>= 0.4), quilt +Build-Depends-Indep: python-sphinx, python-pygments, python-foolscap, python-openssl (>= 0.6), python-nose, python-twisted-core, python-zope-interface, python-pexpect, python (>= 2.5) | python-ctypes +Homepage: http://ipython.scipy.org/ +Vcs-Svn: svn://svn.debian.org/python-modules/packages/ipython/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/ipython/trunk/ +Standards-Version: 3.8.0 +DM-Upload-Allowed: yes + +Package: ipython +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, python-pexpect +Conflicts: python2.3-ipython, python2.4-ipython, ipython-common +Replaces: python2.3-ipython, python2.4-ipython, ipython-common +Suggests: python-profiler, python-numpy, python-matplotlib, libjs-jquery, python-gobject, python-gtk2, python-qt3 | python-qt4 +Recommends: python-wxgtk2.8, global, python-openssl (>= 0.6), python (>= 2.5) | python-ctypes, python-foolscap, python-zope-interface, python-twisted-core +Description: enhanced interactive Python shell + IPython can be used as a replacement for the standard Python shell, + or it can be used as a complete working environment for scientific + computing (like Matlab or Mathematica) when paired with the standard + Python scientific and numerical tools. It supports dynamic object + introspections, numbered input/output prompts, a macro system, + session logging, session restoring, complete system shell access, + verbose and colored traceback reports, auto-parentheses, auto-quoting, + and is embeddable in other Python programs. --- ipython-0.9.1.orig/debian/ipythonx.1 +++ ipython-0.9.1/debian/ipythonx.1 @@ -0,0 +1,30 @@ +.TH IPYTHONX 1 "October 29, 2008" "" "" +.SH NAME +\fBipythonx \- Simple graphical frontend to IPython, using WxWidgets. +.SH SYNOPSIS +.nf +.fam C +\fBipengine\fP [\fIoptions\fP] +.fam T +.fi +.SH DESCRIPTION +ipythonx is a simple graphical frontend to IPython, using WxWidgets. +.SH OPTIONS +.TP +.B +\-h, \-\-help +show this help message and exit +.TP +.B +\-d, \-\-debug +Enable debug messages for the wx frontend. +look for config files and profiles in this directory +.SH SEE ALSO +.BR ipython(1), ipython-wx(1) +.br +.SH AUTHOR +\fBipythonx\fP is a tool that ships with IPython, created by +the IPython Development Team. +.PP +This manual page was written by Stephan Peijnik , +for the Debian project (but may be used by others). --- ipython-0.9.1.orig/debian/ipcluster.1 +++ ipython-0.9.1/debian/ipcluster.1 @@ -0,0 +1,57 @@ +.TH IPCLUSTER 1 "October 28, 2008" "" "" +.SH NAME +\fBipcluster \- IPython parallel computing cluster control tool +.SH SYNOPSIS +.nf +.fam C +\fBipcluster\fP [\fIoptions\fP] +.fam T +.fi +.SH DESCRIPTION +ipcluster is a control tool for IPython's parallel computing functions. +.SH OPTIONS +.TP +.B +\-h, \-\-help +show this help message and exit +.TP +.B +\-\-controller\-port=CONTROLLERPORT +the TCP port the controller is listening on +.TP +.B +\-\-controller\-ip=CONTROLLERIP +the TCP IP address of the controller +.TP +.B +\-n, \-\-num=N +the number of engines to start +.TP +.B +\-\-engine\-port=ENGINEPORT +the TCP port the controller will listen on for engine connections +.TP +.B +\-\-mpi=MPI +use mpi with package: for instance --mpi=mpi4py +.TP +.B +\-l LOGFILE, \-\-logfile=LOGFILE +log file name +.TP +.B +\-f CLUSTERFILE, \-\-cluster\-file=CLUSTERFILE +file describing a remote cluster +.SH EXAMPLE +ipcluster -n 4 + +This command will start 4 IPython engines. +.SH SEE ALSO +.BR ipython(1), ipcontroller(1), ipengine(1) +.br +.SH AUTHOR +\fBipcluster\fP is a tool that ships with IPython, created by +the IPython Development Team. +.PP +This manual page was written by Stephan Peijnik , +for the Debian project (but may be used by others). --- ipython-0.9.1.orig/debian/watch +++ ipython-0.9.1/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://ipython.scipy.org/dist/ ipython-(.*)\.tar\.gz + --- ipython-0.9.1.orig/debian/patches/06_ipythonwx_importerror.patch +++ ipython-0.9.1/debian/patches/06_ipythonwx_importerror.patch @@ -0,0 +1,17 @@ +Author: Stephan Peijnik +Comment: + Added more usable error message when exiting due to python-wxgtk2.8 not being + installed. + +--- ipython-0.9.1.orig/IPython/frontend/wx/ipythonx.py 2008-10-29 11:50:42.777153341 +0100 ++++ ipython-0.9.1/IPython/frontend/wx/ipythonx.py 2008-10-29 11:52:10.136154913 +0100 +@@ -9,6 +9,9 @@ + e.message = """%s + ________________________________________________________________________________ + You need wxPython to run this application. ++ ++wxPython can be installed from the python-wxgtk2.8 package. This can be ++done by running 'apt-get install python-wxgtk2.8'. + """ % e.message + e.args = (e.message, ) + e.args[1:] + raise e --- ipython-0.9.1.orig/debian/patches/03_ipy_gnuglobal.patch +++ ipython-0.9.1/debian/patches/03_ipy_gnuglobal.patch @@ -0,0 +1,15 @@ +Author: Bernd Zeimetz +Comment: + We are not in windows - there is /usr/bin/global for us. + +--- ipython~/IPython/Extensions/ipy_gnuglobal.py 2007-05-25 20:35:34.000000000 +0200 ++++ ipython/IPython/Extensions/ipy_gnuglobal.py 2008-01-09 13:55:53.000000000 +0100 +@@ -13,7 +13,7 @@ + import os + + # alter to your liking +-global_bin = 'd:/opt/global/bin/global' ++global_bin = '/usr/bin/global' + + def global_f(self,cmdline): + simple = 0 --- ipython-0.9.1.orig/debian/patches/series +++ ipython-0.9.1/debian/patches/series @@ -0,0 +1,5 @@ +03_ipy_gnuglobal.patch +04_remove_shebang.patch +05_fix_seteditor_example.patch +06_ipythonwx_importerror.patch +07_python-wxgtk2.6_compatibility.patch --- ipython-0.9.1.orig/debian/patches/05_fix_seteditor_example.patch +++ ipython-0.9.1/debian/patches/05_fix_seteditor_example.patch @@ -0,0 +1,12 @@ +Author: Stephan Peijnik +Comment: + Fixes missing shebang in seteditor.py example script. + +--- ipython-0.9.1.orig/docs/examples/core/seteditor.py 2008-09-19 17:32:19.531743653 +0200 ++++ ipython-0.9.1/docs/examples/core/seteditor.py 2008-09-19 17:32:26.679744387 +0200 +@@ -1,3 +1,5 @@ ++#!/usr/bin/python ++ + import os + + --- ipython-0.9.1.orig/debian/patches/07_python-wxgtk2.6_compatibility.patch +++ ipython-0.9.1/debian/patches/07_python-wxgtk2.6_compatibility.patch @@ -0,0 +1,174 @@ +Index: ipython-0.9.1/IPython/frontend/wx/console_widget.py +=================================================================== +--- ipython-0.9.1.orig/IPython/frontend/wx/console_widget.py 2009-06-26 13:51:24.000000000 +0200 ++++ ipython-0.9.1/IPython/frontend/wx/console_widget.py 2009-06-26 13:51:31.000000000 +0200 +@@ -330,25 +330,26 @@ + """ + catched = True + # Intercept some specific keys. +- if event.KeyCode == ord('L') and event.ControlDown() : ++ key_code = event.GetKeyCode() ++ if key_code == ord('L') and event.ControlDown() : + self.scroll_to_bottom() +- elif event.KeyCode == ord('K') and event.ControlDown() : ++ elif key_code == ord('K') and event.ControlDown() : + self.input_buffer = '' +- elif event.KeyCode == ord('A') and event.ControlDown() : ++ elif key_code == ord('A') and event.ControlDown() : + self.GotoPos(self.GetLength()) + self.SetSelectionStart(self.current_prompt_pos) + self.SetSelectionEnd(self.GetCurrentPos()) + catched = True +- elif event.KeyCode == ord('E') and event.ControlDown() : ++ elif key_code == ord('E') and event.ControlDown() : + self.GotoPos(self.GetLength()) + catched = True +- elif event.KeyCode == wx.WXK_PAGEUP: ++ elif key_code == wx.WXK_PAGEUP: + self.ScrollPages(-1) +- elif event.KeyCode == wx.WXK_PAGEDOWN: ++ elif key_code == wx.WXK_PAGEDOWN: + self.ScrollPages(1) +- elif event.KeyCode == wx.WXK_UP and event.ShiftDown(): ++ elif key_code == wx.WXK_UP and event.ShiftDown(): + self.ScrollLines(-1) +- elif event.KeyCode == wx.WXK_DOWN and event.ShiftDown(): ++ elif key_code == wx.WXK_DOWN and event.ShiftDown(): + self.ScrollLines(1) + else: + catched = False +@@ -356,8 +357,7 @@ + if self.AutoCompActive(): + event.Skip() + else: +- if event.KeyCode in (13, wx.WXK_NUMPAD_ENTER) and \ +- event.Modifiers in (wx.MOD_NONE, wx.MOD_WIN): ++ if key_code in (13, wx.WXK_NUMPAD_ENTER): + catched = True + self.CallTipCancel() + self.write('\n', refresh=False) +@@ -368,19 +368,19 @@ + self.input_buffer = self.input_buffer + self._on_enter() + +- elif event.KeyCode == wx.WXK_HOME: +- if event.Modifiers in (wx.MOD_NONE, wx.MOD_WIN): ++ elif key_code == wx.WXK_HOME: ++ if not event.ShiftDown(): + self.GotoPos(self.current_prompt_pos) + catched = True + +- elif event.Modifiers == wx.MOD_SHIFT: ++ else: + # FIXME: This behavior is not ideal: if the selection + # is already started, it will jump. + self.SetSelectionStart(self.current_prompt_pos) + self.SetSelectionEnd(self.GetCurrentPos()) + catched = True + +- elif event.KeyCode == wx.WXK_UP: ++ elif key_code == wx.WXK_UP: + if self.GetCurrentLine() > self.current_prompt_line: + if self.GetCurrentLine() == self.current_prompt_line + 1 \ + and self.GetColumn(self.GetCurrentPos()) < \ +@@ -390,7 +390,7 @@ + event.Skip() + catched = True + +- elif event.KeyCode in (wx.WXK_LEFT, wx.WXK_BACK): ++ elif key_code in (wx.WXK_LEFT, wx.WXK_BACK): + if self.GetCurrentPos() > self.current_prompt_pos: + event.Skip() + catched = True +Index: ipython-0.9.1/IPython/frontend/wx/wx_frontend.py +=================================================================== +--- ipython-0.9.1.orig/IPython/frontend/wx/wx_frontend.py 2009-06-26 13:51:53.000000000 +0200 ++++ ipython-0.9.1/IPython/frontend/wx/wx_frontend.py 2009-06-26 13:51:58.000000000 +0200 +@@ -368,7 +368,8 @@ + """ + # FIXME: This method needs to be broken down in smaller ones. + current_line_number = self.GetCurrentLine() +- if event.KeyCode in (ord('c'), ord('C')) and event.ControlDown(): ++ key_code = event.GetKeyCode() ++ if key_code in (ord('c'), ord('C')) and event.ControlDown(): + # Capture Control-C + if self._input_state == 'subprocess': + if self.debug: +@@ -382,39 +383,38 @@ + # XXX: We need to make really sure we + # get back to a prompt. + elif self._input_state == 'subprocess' and ( +- ( event.KeyCode<256 and ++ ( key_code<256 and + not event.ControlDown() ) + or +- ( event.KeyCode in (ord('d'), ord('D')) and ++ ( key_code in (ord('d'), ord('D')) and + event.ControlDown())): + # We are running a process, we redirect keys. + ConsoleWidget._on_key_down(self, event, skip=skip) +- char = chr(event.KeyCode) ++ char = chr(key_code) + # Deal with some inconsistency in wx keycodes: + if char == '\r': + char = '\n' + elif not event.ShiftDown(): + char = char.lower() +- if event.ControlDown() and event.KeyCode in (ord('d'), ord('D')): ++ if event.ControlDown() and key_code in (ord('d'), ord('D')): + char = '\04' + self._running_process.process.stdin.write(char) + self._running_process.process.stdin.flush() +- elif event.KeyCode in (ord('('), 57, 53): ++ elif key_code in (ord('('), 57, 53): + # Calltips + event.Skip() + self.do_calltip() +- elif self.AutoCompActive() and not event.KeyCode == ord('\t'): ++ elif self.AutoCompActive() and not key_code == ord('\t'): + event.Skip() +- if event.KeyCode in (wx.WXK_BACK, wx.WXK_DELETE): ++ if key_code in (wx.WXK_BACK, wx.WXK_DELETE): + wx.CallAfter(self._popup_completion, create=True) +- elif not event.KeyCode in (wx.WXK_UP, wx.WXK_DOWN, wx.WXK_LEFT, ++ elif not key_code in (wx.WXK_UP, wx.WXK_DOWN, wx.WXK_LEFT, + wx.WXK_RIGHT, wx.WXK_ESCAPE): + wx.CallAfter(self._popup_completion) + else: + # Up history +- if event.KeyCode == wx.WXK_UP and ( +- ( current_line_number == self.current_prompt_line and +- event.Modifiers in (wx.MOD_NONE, wx.MOD_WIN) ) ++ if key_code == wx.WXK_UP and ( ++ current_line_number == self.current_prompt_line + or event.ControlDown() ): + new_buffer = self.get_history_previous( + self.input_buffer) +@@ -424,15 +424,14 @@ + # Go to first line, for seemless history up. + self.GotoPos(self.current_prompt_pos) + # Down history +- elif event.KeyCode == wx.WXK_DOWN and ( +- ( current_line_number == self.LineCount -1 and +- event.Modifiers in (wx.MOD_NONE, wx.MOD_WIN) ) ++ elif key_code == wx.WXK_DOWN and ( ++ current_line_number == self.LineCount -1 + or event.ControlDown() ): + new_buffer = self.get_history_next() + if new_buffer is not None: + self.input_buffer = new_buffer + # Tab-completion +- elif event.KeyCode == ord('\t'): ++ elif key_code == ord('\t'): + current_line, current_line_number = self.CurLine + if not re.match(r'^\s*$', current_line): + self.complete_current_input() +@@ -447,7 +446,7 @@ + def _on_key_up(self, event, skip=True): + """ Called when any key is released. + """ +- if event.KeyCode in (59, ord('.')): ++ if event.GetKeyCode() in (59, ord('.')): + # Intercepting '.' + event.Skip() + wx.CallAfter(self._popup_completion, create=True) --- ipython-0.9.1.orig/debian/patches/04_remove_shebang.patch +++ ipython-0.9.1/debian/patches/04_remove_shebang.patch @@ -0,0 +1,35 @@ +Author: > +Comment: + Remove useless shebang. + +--- ipython~/IPython/Extensions/ipy_gnuglobal.py 2008-06-05 23:03:50.000000000 +0200 ++++ ipython/IPython/Extensions/ipy_gnuglobal.py 2008-06-05 23:03:50.000000000 +0200 +@@ -1,5 +1,3 @@ +-#!/usr/bin/env python +- + + """ + Add %global magic for GNU Global usage. +diff -urNad ipython~/IPython/Extensions/ipy_render.py ipython/IPython/Extensions/ipy_render.py +--- ipython~/IPython/Extensions/ipy_render.py 2008-06-01 00:31:42.000000000 +0200 ++++ ipython/IPython/Extensions/ipy_render.py 2008-06-05 23:03:50.000000000 +0200 +@@ -1,4 +1,3 @@ +-#!/usr/bin/env python + + """ IPython extension: Render templates from variables and paste to clipbard """ + +@@ -65,4 +64,4 @@ + return res + + ip.to_user_ns('render') +- +\ No newline at end of file ++ +diff -urNad ipython~/IPython/Extensions/ipy_workdir.py ipython/IPython/Extensions/ipy_workdir.py +--- ipython~/IPython/Extensions/ipy_workdir.py 2008-06-01 00:31:42.000000000 +0200 ++++ ipython/IPython/Extensions/ipy_workdir.py 2008-06-05 23:03:50.000000000 +0200 +@@ -1,4 +1,3 @@ +-#!/usr/bin/env python + + import IPython.ipapi + ip = IPython.ipapi.get()