wok diff python-bpython/receipt @ rev 15226

goffice: remove wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 22 18:06:29 2013 +0200 (2013-09-22)
parents 7b13b3b4b836
children fd4f1e692109
line diff
     1.1 --- a/python-bpython/receipt	Sun May 08 09:40:48 2011 +0000
     1.2 +++ b/python-bpython/receipt	Sun Sep 22 18:06:29 2013 +0200
     1.3 @@ -2,7 +2,7 @@
     1.4  
     1.5  PACKAGE="python-bpython"
     1.6  SOURCE="bpython"
     1.7 -VERSION="0.9.5.2"
     1.8 +VERSION="0.9.7.1"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="A fancy interface to the Python interpreter."
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12 @@ -16,19 +16,19 @@
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src
    1.16 -	python setup.py install --root=$PWD/_pkg
    1.17 +	python setup.py install --root=$DESTDIR
    1.18  }
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23 -	for file in `find $_pkg | grep 'pyc$'`; do
    1.24 +	for file in `find $install | grep 'pyc$'`; do
    1.25  		rm $file
    1.26  	done
    1.27 -	rm -rf $_pkg/usr/share/applications
    1.28 +	rm -rf $install/usr/share/applications
    1.29  	mkdir -p $fs/usr $fs/usr/share/applications
    1.30 -	cp -a $_pkg/usr/bin $fs/usr
    1.31 -	cp -a $_pkg/usr/lib $fs/usr
    1.32 +	cp -a $install/usr/bin $fs/usr
    1.33 +	cp -a $install/usr/lib $fs/usr
    1.34  	cp -a $stuff/* $fs/usr/share/applications
    1.35  }
    1.36