wok-next annotate python-bpython/receipt @ rev 15275

clipit: remove icon (sorry, guys), move autostart item back to /etc/...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Sep 25 19:03:47 2013 +0300 (2013-09-25)
parents 7b13b3b4b836
children fd4f1e692109
rev   line source
claudinei@3421 1 # SliTaz package receipt.
claudinei@3421 2
claudinei@3421 3 PACKAGE="python-bpython"
claudinei@3421 4 SOURCE="bpython"
claudinei@14876 5 VERSION="0.9.7.1"
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@14876 19 python setup.py install --root=$DESTDIR
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@14876 25 for file in `find $install | grep 'pyc$'`; do
claudinei@3788 26 rm $file
claudinei@3788 27 done
claudinei@14876 28 rm -rf $install/usr/share/applications
claudinei@3421 29 mkdir -p $fs/usr $fs/usr/share/applications
claudinei@14876 30 cp -a $install/usr/bin $fs/usr
claudinei@14876 31 cp -a $install/usr/lib $fs/usr
slaxemulator@9701 32 cp -a $stuff/* $fs/usr/share/applications
claudinei@3421 33 }
claudinei@3421 34