wok-current view python-bpython/receipt @ rev 17247

Add gringotts
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 19 11:40:30 2014 +0200 (2014-10-19)
parents d13abbbfc743
children 6135577f4d08
line source
1 # SliTaz package receipt.
3 PACKAGE="python-bpython"
4 SOURCE="bpython"
5 VERSION="0.9.7.1"
6 CATEGORY="development"
7 SHORT_DESC="A fancy interface to the Python interpreter."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.bpython-interpreter.org"
12 WGET_URL="$WEB_SITE/releases/$TARBALL"
14 DEPENDS="python python-pygments setuptools"
15 BUILD_DEPENDS="$DEPENDS python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 for file in `find $install | grep 'pyc$'`; do
28 rm $file
29 done
30 rm -rf $install/usr/share/applications
31 mkdir -p $fs/usr $fs/usr/share/applications
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 cp -a $stuff/* $fs/usr/share/applications
35 }