diff --git a/debian/changelog b/debian/changelog index a5d262d..4cc4527 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,330 @@ +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 - * Fix dpatch dependency (Closes: #280505) + * New upstream release + * Updated debian/rules to use dpatch and added debian/patches/* - -- Fernando Perez Wed Nov 17 22:54:23 MST 2004 + -- Jack Moffitt Tue, 9 Nov 2004 10:38:51 -0700 ipython (0.6.3-1) unstable; urgency=low @@ -27,8 +349,8 @@ ipython (0.4.0-1.1) unstable; urgency=low ipython (0.4.0-1) unstable; urgency=low - * New upstream release (Closes #195215) - * Updated Build-Depends (Closes #200021) + * New upstream release (Closes: #195215) + * Updated Build-Depends (Closes: #200021) -- Jack Moffitt Fri, 25 Jul 2003 10:16:12 -0600 diff --git a/debian/compat b/debian/compat index b8626c4..7ed6ff8 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -4 +5 diff --git a/debian/control b/debian/control index 86a2d96..cdb61a0 100644 --- a/debian/control +++ b/debian/control @@ -1,21 +1,26 @@ Source: ipython -Section: devel +Section: python Priority: optional -Maintainer: Jack Moffitt -Build-Depends-Indep: debhelper (>> 4.1.65), dpatch, python-dev -Standards-Version: 3.6.1 +Maintainer: Debian Python Modules Team +Uploaders: Norbert Tretkowski , Bernd Zeimetz +Build-Depends: debhelper (>= 5.0.37.2), dpatch (>= 2.0.10), cdbs (>= 0.4.43), python, python-support (>= 0.4) +Homepage: http://ipython.scipy.org/ +Vcs-Svn: svn://svn.debian.org/python-modules/packages/ipython/trunk/ +Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/ipython/trunk/ +Standards-Version: 3.7.2.2 Package: ipython Architecture: all -Depends: ${python:Depends} -Recommends: python-numeric, python-numeric-ext -Description: An enhanced interactive Python shell - IPython is an enhanced interactive Python shell. It 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 - embeddedable in other Python programs. +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-numeric, python-numeric-ext, python-matplotlib +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. diff --git a/debian/copyright b/debian/copyright index 01691e5..c4c326b 100644 --- a/debian/copyright +++ b/debian/copyright @@ -4,51 +4,15 @@ Wed, 12 Mar 2003 20:38:14 -0700. It was downloaded from http://ipython.scipy.org/ Upstream Author: Fernando Perez , - Janko Hauser , + Janko Hauser , Nathaniel Gray Copyright: -Most IPython code is copyright (C) 2001-2004 by Fernando Perez, Janko Hauser, -and Nathaniel Gray. All code is licensed under a BSD-type License except as -explicitly mentioned below. The full IPython license is: - -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. - +Most IPython code is copyright (C) 2001 by Fernando Perez, Janko +Hauser, and Nathaniel Gray. All code is licensed under the GNU Lesser +General Public License (LGPL) except as explicitly mentioned below. +Its full text is included in the file /usr/share/common-licenses/LGPL. DPyGetOpt.py is copyright (C) 2001 by Bill Bumgarner and is licensed under the MIT license, reproduced below: diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..2f61d73 --- /dev/null +++ b/debian/install @@ -0,0 +1 @@ +doc/ipython.el usr/share/emacs/site-lisp diff --git a/debian/irunner.1 b/debian/irunner.1 new file mode 100644 index 0000000..71c9c55 --- /dev/null +++ b/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). diff --git a/debian/manpages b/debian/manpages new file mode 100644 index 0000000..58da2e3 --- /dev/null +++ b/debian/manpages @@ -0,0 +1 @@ +debian/irunner.1 diff --git a/debian/pycompat b/debian/pycompat new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/debian/rules b/debian/rules index 6bb593f..6bc02e7 100755 --- a/debian/rules +++ b/debian/rules @@ -1,98 +1,25 @@ #!/usr/bin/make -f -# Sample debian/rules that uses debhelper. -# GNU copyright 1997 to 1999 by Joey Hess. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - - - - -CFLAGS = -Wall -g - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif -ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) - INSTALL_PROGRAM += -s -endif - -configure: configure-stamp -configure-stamp: - dh_testdir - - python setup.py config - - touch configure-stamp - - -build: build-stamp - -build-stamp: configure-stamp - dh_testdir - - python setup.py build - - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - -python setup.py clean --all - rm -f setupext/*.pyc - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - python setup.py install --prefix $(CURDIR)/debian/ipython/usr - - # remove extra license docs that get installed - rm -f $(CURDIR)/debian/ipython/usr/share/doc/ipython/COPYING - #rm -f $(CURDIR)/debian/ipython/usr/share/doc/ipython/GNU-LGPL - +# ipython debian/rules file +DEB_PYTHON_SYSTEM=pysupport +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/cdbs/1/rules/dpatch.mk + +install/ipython:: + # remove documentation + rm $(CURDIR)/debian/ipython/usr/share/doc/ipython/COPYING + rm $(CURDIR)/debian/ipython/usr/share/doc/ipython/ChangeLog + rm $(CURDIR)/debian/ipython/usr/share/doc/ipython/README_Windows.txt + rm $(CURDIR)/debian/ipython/usr/share/doc/ipython/pycon.ico + # change permission on scripts - chmod 755 $(CURDIR)/debian/ipython/usr/share/doc/ipython/examples/example-embed.py - chmod 755 $(CURDIR)/debian/ipython/usr/share/doc/ipython/examples/example-gnuplot.py - -binary-indep: build install - dh_testdir - dh_testroot - dh_installchangelogs doc/ChangeLog - dh_installdocs -# dh_installexamples - dh_install -# dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman doc/ipython.1.gz doc/pycolor.1.gz - dh_compress - dh_fixperms - dh_python -# dh_makeshlibs - dh_installdeb -# dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -# Build architecture-dependent files here. -binary-arch: build install -# We have nothing to do by default. - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure + 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:: + # fix lintian warnings (see also patches/04_remove_shebang.dpatch) + chmod +x $(CURDIR)/debian/ipython/usr/share/python-support/ipython/IPython/upgrade_dir.py + chmod +x $(CURDIR)/debian/ipython/usr/share/python-support/ipython/IPython/Extensions/pickleshare.py + chmod +x $(CURDIR)/debian/ipython/usr/share/python-support/ipython/IPython/irunner.py diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..1a2b269 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://ipython.scipy.org/dist/ ipython-(.*)\.tar\.gz