dreampie-py _unstable_ port information

Info2: <<
Package: dreampie-py%type_pkg[python]
Version: 1.1.1
Revision: 1
Type: python (2.6 2.7)
Description: The Python shell you've always dreamed about
DescDetail: <<
DreamPie was designed from the ground up to bring you a great interactive
Python experience:

DreamPie features a new concept for an interactive shell: the window is
divided into the history box, which lets you view previous commands and
their output, and the code box, where you write your code. This allows you
to edit any amount of code, just like in your favorite editor, and execute
it when it's ready. You can also copy code from anywhere, edit it and run
it instantly.

The Copy code only command will copy the code you want to keep, so you can
save it in a file. The code is already formatted nicely with a four-space
indentation.

Features automatic completion of attributes and file names.

Automatically displays function arguments and documentation.

Keeps your recent results in the result history, for later user.

Can automatically fold long outputs, so you can concentrate on what's
important.

Lets you save the history of the session as an HTML file, for future
reference. You can then load the history file into DreamPie, and quickly
redo previous commands.

Supports interactive plotting with matplotlib. (You have to set
"interactive: True" in the matplotlibrc file for this to work.)

Supports Python 2.5, Python 2.6, Jython 2.5, IronPython 2.6 and Python 3.1.

Works on Windows, Linux and Mac.

Extremely fast and responsive.

Free software licensed under GPL version 3.
<<
Maintainer: Daniel Johnson
License: GPL3
Homepage: http://dreampie.sourceforge.net/

Source: http://launchpadlibrarian.net/55587528/dreampie-%v.tar.gz
Source-MD5: 5c709fa56d52e8f6812b10e8b47edbb5

Depends: python%type_pkg[python], pygtk2-gtk-py%type_pkg[python], pygtksourceview2-py%type_pkg[python]
BuildDepends: fink (>= 0.24.12)

PatchScript: <<
#We need to go to great lengths to change %p/share/dreampie
#to %p/share/dreampie-py%type_pkg[python] so different variants
#can coexist.
perl -pi -e "s/'share', 'dreampie'/'share', 'dreampie-py%type_pkg[python]'/g; s,share/dreampie,share/dreampie-py%type_pkg[python],g" setup.py
perl -pi -e "s/, 'dreampie'/, 'dreampie-py%type_pkg[python]'/g" dreampielib/gui/__init__.py dreampielib/gui/subprocess_handler.py
mv share/dreampie share/dreampie-py%type_pkg[python]
<<

CompileScript: %p/bin/python%type_raw[python] setup.py build

InstallScript: <<
%p/bin/python%type_raw[python] setup.py install --root=%d
mv %i/bin/dreampie %i/bin/dreampie-py%type_pkg[python]
mv %i/share/man/man1/dreampie.1 %i/share/man/man1/dreampie.1-py%type_pkg[python]
mv %i/share/applications/dreampie.desktop %i/share/applications/dreampie.desktop-py%type_pkg[python]
mv %i/share/pixmaps/dreampie.png %i/share/pixmaps/dreampie.png-py%type_pkg[python]
mv %i/share/pixmaps/dreampie.svg %i/share/pixmaps/dreampie.svg-py%type_pkg[python]
<<

PostInstScript: <<
update-alternatives --install %p/bin/dreampie dreampie %p/bin/dreampie-py%type_pkg[python] %type_pkg[python] --slave %p/share/dreampie dreampie.1 %p/share/man/man1/dreampie.1-py%type_pkg[python] --slave %p/share/applications/dreampie.desktop dreampie.desktop %p/share/applications/dreampie.desktop-py%type_pkg[python] --slave %p/share/pixmaps/dreampie.png dreampie.png %p/share/pixmaps/dreampie.png-py%type_pkg[python] --slave %p/share/pixmaps/dreampie.svg dreampie.svg %p/share/pixmaps/dreampie.svg-py%type_pkg[python]
<<

PreRmScript: <<
if [ $1 != "upgrade" ]; then
update-alternatives --remove dreampie %p/bin/dreampie-py%type_pkg[python]
fi
<<

DocFiles: COPYING LICENSE-PSF PKG-INFO README
<<