# HG changeset patch # User Claudinei Pereira # Date 1374618579 10800 # Node ID d13abbbfc743539a37fc7e36d8ca32af1abccf03 # Parent ca4495712bef2fda56129aa9583d769f96253ec3 Up: python-bpython (0.9.7.1) diff -r ca4495712bef -r d13abbbfc743 python-bpython/receipt --- a/python-bpython/receipt Tue Jul 23 19:28:00 2013 -0300 +++ b/python-bpython/receipt Tue Jul 23 19:29:39 2013 -0300 @@ -2,7 +2,7 @@ PACKAGE="python-bpython" SOURCE="bpython" -VERSION="0.9.5.2" +VERSION="0.9.7.1" CATEGORY="development" SHORT_DESC="A fancy interface to the Python interpreter." MAINTAINER="claudinei@slitaz.org" @@ -16,19 +16,19 @@ compile_rules() { cd $src - python setup.py install --root=$PWD/_pkg + python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - for file in `find $_pkg | grep 'pyc$'`; do + for file in `find $install | grep 'pyc$'`; do rm $file done - rm -rf $_pkg/usr/share/applications + rm -rf $install/usr/share/applications mkdir -p $fs/usr $fs/usr/share/applications - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/lib $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib $fs/usr cp -a $stuff/* $fs/usr/share/applications }