wok-4.x rev 3421

Add: python-bpython (0.9.3)
author Claudinei Pereira <claudinei@slitaz.org>
date Sat Jun 13 01:40:22 2009 +0000 (2009-06-13)
parents 6f0c6dbd2e3a
children 61cef885b185
files python-bpython/receipt python-bpython/stuff/bpython.desktop
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-bpython/receipt	Sat Jun 13 01:40:22 2009 +0000
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python-bpython"
     1.7 +SOURCE="bpython"
     1.8 +VERSION="0.9.3"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="A fancy interface to the Python interpreter."
    1.11 +MAINTAINER="claudinei@slitaz.org"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.bpython-interpreter.org"
    1.14 +WGET_URL="$WEB_SITE/releases/$TARBALL"
    1.15 +DEPENDS="python python-pygments setuptools"
    1.16 +BUILD_DEPENDS="$DEPENDS python-dev"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	python setup.py install --root=$PWD/_pkg
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	rm -rf $_pkg/usr/share/applications
    1.29 +	mkdir -p $fs/usr $fs/usr/share/applications
    1.30 +	cp -a $_pkg/usr/bin $fs/usr
    1.31 +	cp -a $_pkg/usr/lib $fs/usr
    1.32 +	cp -a $WOK/$PACKAGE/stuff/* $fs/usr/share/applications
    1.33 +}
    1.34 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/python-bpython/stuff/bpython.desktop	Sat Jun 13 01:40:22 2009 +0000
     2.3 @@ -0,0 +1,9 @@
     2.4 +[Desktop Entry]
     2.5 +Icon=python.png
     2.6 +Name=bpython 
     2.7 +Comment=A fancy interface to the python interpreter!
     2.8 +Exec=xterm -e bpython
     2.9 +Terminal=true
    2.10 +Type=Application
    2.11 +Categories=Development;Utility;ConsoleOnly;
    2.12 +StartupNotify=true