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

mv pdfgrep to wok-undigest
author Paul Issott <paul@slitaz.org>
date Mon Aug 29 17:25:51 2016 +0100 (2016-08-29)
parents d13abbbfc743
children 8cad5edc1a45
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"
pascal@15378 9 LICENSE="MIT"
claudinei@3421 10 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@3421 11 WEB_SITE="http://www.bpython-interpreter.org"
claudinei@3421 12 WGET_URL="$WEB_SITE/releases/$TARBALL"
pascal@15378 13
claudinei@3421 14 DEPENDS="python python-pygments setuptools"
claudinei@3421 15 BUILD_DEPENDS="$DEPENDS python-dev"
claudinei@3421 16
claudinei@3421 17 # Rules to configure and make the package.
claudinei@3421 18 compile_rules()
claudinei@3421 19 {
claudinei@3421 20 cd $src
claudinei@14876 21 python setup.py install --root=$DESTDIR
claudinei@3421 22 }
claudinei@3421 23
claudinei@3421 24 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3421 25 genpkg_rules()
claudinei@3421 26 {
claudinei@14876 27 for file in `find $install | grep 'pyc$'`; do
claudinei@3788 28 rm $file
claudinei@3788 29 done
claudinei@14876 30 rm -rf $install/usr/share/applications
claudinei@3421 31 mkdir -p $fs/usr $fs/usr/share/applications
claudinei@14876 32 cp -a $install/usr/bin $fs/usr
claudinei@14876 33 cp -a $install/usr/lib $fs/usr
slaxemulator@9701 34 cp -a $stuff/* $fs/usr/share/applications
claudinei@3421 35 }
claudinei@3421 36