# HG changeset patch # User Claudinei Pereira # Date 1244857222 0 # Node ID 455a65a0bf1297828fe726b75bab075d8b488bf1 # Parent 6f0c6dbd2e3a6522521f579c760a04b539a9d41b Add: python-bpython (0.9.3) diff -r 6f0c6dbd2e3a -r 455a65a0bf12 python-bpython/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-bpython/receipt Sat Jun 13 01:40:22 2009 +0000 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="python-bpython" +SOURCE="bpython" +VERSION="0.9.3" +CATEGORY="development" +SHORT_DESC="A fancy interface to the Python interpreter." +MAINTAINER="claudinei@slitaz.org" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.bpython-interpreter.org" +WGET_URL="$WEB_SITE/releases/$TARBALL" +DEPENDS="python python-pygments setuptools" +BUILD_DEPENDS="$DEPENDS python-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + rm -rf $_pkg/usr/share/applications + mkdir -p $fs/usr $fs/usr/share/applications + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib $fs/usr + cp -a $WOK/$PACKAGE/stuff/* $fs/usr/share/applications +} + diff -r 6f0c6dbd2e3a -r 455a65a0bf12 python-bpython/stuff/bpython.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-bpython/stuff/bpython.desktop Sat Jun 13 01:40:22 2009 +0000 @@ -0,0 +1,9 @@ +[Desktop Entry] +Icon=python.png +Name=bpython +Comment=A fancy interface to the python interpreter! +Exec=xterm -e bpython +Terminal=true +Type=Application +Categories=Development;Utility;ConsoleOnly; +StartupNotify=true