the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: ipython-py%type_pkg[python]
Version: 0.8.2
Revision: 2
Distribution: (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5
Type: python(2.4 2.5)
Maintainer: Kurt Schwehr
Recommends: zopeinterface-py%type_pkg[python]
Depends: python%type_pkg[python], pexpect-py%type_pkg[python]
Source: http://ipython.scipy.org/dist/old/0.8/ipython-%v.tar.gz
Source-MD5: fd5a1b6e518898a4aee8b8d8b428af70
CompileScript: python%type_raw[python] setup.py build
InstallScript: <<
#!/bin/bash -ev
python%type_raw[python] setup.py install --root=%d
mv %i/share/doc/ipython{,-py%type_raw[python]}
# These require wx and twisted. Not yet tested
rm -f %i/bin/ip{cluster,controller,engine,test,ipythonx}
rm -f %i/bin/ipython{-wx,x}
for file in %i/bin/*; do
echo mv $file ${file}%type_raw[python]
mv $file ${file}%type_raw[python]
done
#mv %i/bin/ipython %i/bin/ipython%type_raw[python]
#mv %i/bin/pycolor %i/bin/pycolor%type_raw[python]
#mv %i/bin/irunner %i/bin/irunner%type_raw[python]
mv %i/share/man/man1/ipython-wx.1.gz %i/share/man/man1/ippython-wx-py%type_pkg[python].1.gz
mv %i/share/man/man1/ipengine.1.gz %i/share/man/man1/ipengine-py%type_pkg[python].1.gz
mv %i/share/man/man1/ipcontroller.1.gz %i/share/man/man1/ipcontroller-py%type_pkg[python].1.gz
mv %i/share/man/man1/ipcluster.1.gz %i/share/man/man1/ipcluster-py%type_pkg[python].1.gz
mv %i/share/man/man1/ipython.1.gz %i/share/man/man1/ipython-py%type_pkg[python].1.gz
mv %i/share/man/man1/ipythonx.1.gz %i/share/man/man1/ipythonx-py%type_pkg[python].1.gz
mv %i/share/man/man1/pycolor.1.gz %i/share/man/man1/pycolor-py%type_pkg[python].1.gz
mv %i/share/man/man1/irunner.1.gz %i/share/man/man1/irunner-py%type_pkg[python].1.gz
<<
DocFiles: README.txt PKG-INFO
Description: Replacement interactive Python interpreter
DescDetail: <<
IPython is a replacement for the interactive Python interpreter with many
extra features for object introspection, system shell access and with its
own special command system for adding functionality when working
interactively. It serves as an embeddable, ready to use interpreter for
your own programs and it offers a flexible framework which can be used as
the base environment for other system with Python as the underlying
language. Specifically scientific environments like Mathematica, IDL and
Matlab inspired its design, but similar ideas can be useful in many fields.
<<
PostInstScript: <<
update-alternatives --install %p/bin/ipython ipython %p/bin/ipython%type_raw[python] %type_pkg[python] --slave %p/share/man/man1/ipython.1.gz ipython.1.gz %p/share/man/man1/ipython-py%type_pkg[python].1.gz
update-alternatives --install %p/bin/pycolor pycolor %p/bin/pycolor%type_raw[python] %type_pkg[python] --slave %p/share/man/man1/pycolor.1.gz pycolor.1.gz %p/share/man/man1/pycolor-py%type_pkg[python].1.gz
update-alternatives --install %p/bin/irunner irunner %p/bin/irunner%type_raw[python] %type_pkg[python]
echo ""
echo "The scripts 'ipython', 'pydoc' and 'irunner' installed in %p/bin/"
echo "are symlinks automatically updated by the update-alternatives utility."
echo "If you install multiple flavours of the ipython package the symlinks"
echo "will point to the higher flavour by default."
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
update-alternatives --remove ipython %p/bin/ipython%type_raw[python]
update-alternatives --remove pycolor %p/bin/pycolor%type_raw[python]
update-alternatives --remove irunner %p/bin/irunner%type_raw[python]
fi
<<
# TODO: add twisted, foolscap, pyobjc
# Passes for 2.5, but fails with 2.6.
InfoTest: <<
TestDepends: nose-py%type_pkg[python], zopeinterface-py%type_pkg[python]
TestScript: <<
PYTHONPATH=`pwd` %p/bin/python%type_raw[python] scripts/iptest || exit 2
<<
<<
DescPackaging: <<
Python 2.6 works despite failing the tests:
https://bugs.launchpad.net/ipython/+bug/329837
Has annoying warnings about deprecated python modules:
https://bugs.launchpad.net/ipython/+bug/284660
Still need to figure out how to handle ipcluster, ipcontroller,
ipengine, ipython-wx and ipythonx
Previous maintainer: Andrea Riciputi
<<
License: BSD
Homepage: http://ipython.scipy.org/
<<