wok-current annotate python-bpython/receipt @ 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
children 83e2c1cabb15
rev   line source
claudinei@3421 1 # SliTaz package receipt.
claudinei@3421 2
claudinei@3421 3 PACKAGE="python-bpython"
claudinei@3421 4 SOURCE="bpython"
claudinei@3421 5 VERSION="0.9.3"
claudinei@3421 6 CATEGORY="development"
claudinei@3421 7 SHORT_DESC="A fancy interface to the Python interpreter."
claudinei@3421 8 MAINTAINER="claudinei@slitaz.org"
claudinei@3421 9 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@3421 10 WEB_SITE="http://www.bpython-interpreter.org"
claudinei@3421 11 WGET_URL="$WEB_SITE/releases/$TARBALL"
claudinei@3421 12 DEPENDS="python python-pygments setuptools"
claudinei@3421 13 BUILD_DEPENDS="$DEPENDS python-dev"
claudinei@3421 14
claudinei@3421 15 # Rules to configure and make the package.
claudinei@3421 16 compile_rules()
claudinei@3421 17 {
claudinei@3421 18 cd $src
claudinei@3421 19 python setup.py install --root=$PWD/_pkg
claudinei@3421 20 }
claudinei@3421 21
claudinei@3421 22 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3421 23 genpkg_rules()
claudinei@3421 24 {
claudinei@3421 25 rm -rf $_pkg/usr/share/applications
claudinei@3421 26 mkdir -p $fs/usr $fs/usr/share/applications
claudinei@3421 27 cp -a $_pkg/usr/bin $fs/usr
claudinei@3421 28 cp -a $_pkg/usr/lib $fs/usr
claudinei@3421 29 cp -a $WOK/$PACKAGE/stuff/* $fs/usr/share/applications
claudinei@3421 30 }
claudinei@3421 31