wok view python-bpython/receipt @ rev 16761
Up: isomaster (1.3.11)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 17 04:55:00 2014 +0300 (2014-06-17) |
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 }