wok-current view python-bpython/receipt @ rev 15960
Up: tazpanel (1.8)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Feb 24 01:10:12 2014 +0100 (2014-02-24) |
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 }