wok view python-bpython/receipt @ rev 14909

slitaz-i18n: add slitaz-configs as bdep; slitaz-configs: back openbox menu; locale-el, locale-ru: add keyboard layout icons; locale-fr, locale-hu, locale-pt_BR: recook with openbox menu.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Aug 05 11:40:01 2013 +0300 (2013-08-05)
parents 7b13b3b4b836
children fd4f1e692109
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 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.bpython-interpreter.org"
11 WGET_URL="$WEB_SITE/releases/$TARBALL"
12 DEPENDS="python python-pygments setuptools"
13 BUILD_DEPENDS="$DEPENDS python-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$DESTDIR
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 for file in `find $install | grep 'pyc$'`; do
26 rm $file
27 done
28 rm -rf $install/usr/share/applications
29 mkdir -p $fs/usr $fs/usr/share/applications
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 cp -a $stuff/* $fs/usr/share/applications
33 }