wok rev 14889

Up: python-httplib2 (0.8)
author Claudinei Pereira <claudinei@slitaz.org>
date Wed Jul 24 19:02:34 2013 -0300 (2013-07-24)
parents d66b9f197cdf
children 28e39e49b41a
files python-httplib2/receipt
line diff
     1.1 --- a/python-httplib2/receipt	Wed Jul 24 19:01:54 2013 -0300
     1.2 +++ b/python-httplib2/receipt	Wed Jul 24 19:02:34 2013 -0300
     1.3 @@ -2,12 +2,12 @@
     1.4  
     1.5  PACKAGE="python-httplib2"
     1.6  SOURCE="httplib2"
     1.7 -VERSION="0.7.4"
     1.8 +VERSION="0.8"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="A comprehensive HTTP client library for python"
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12  DEPENDS="python"
    1.13 -BUILD_DEPENDS="python python-dev"
    1.14 +BUILD_DEPENDS="python-dev"
    1.15  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.16  WEB_SITE="http://code.google.com/p/httplib2"
    1.17  WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL"
    1.18 @@ -16,16 +16,12 @@
    1.19  compile_rules()
    1.20  {
    1.21  	cd $src
    1.22 -	python setup.py install --root=$PWD/_pkg
    1.23 +	python setup.py install --root=$DESTDIR
    1.24  }
    1.25  
    1.26  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.27  genpkg_rules()
    1.28  {
    1.29 -	for file in `find $_pkg | grep 'pyc$'`; do
    1.30 -		rm $file
    1.31 -	done
    1.32 -	mkdir -p $fs/usr
    1.33 -	cp -a $_pkg/usr $fs
    1.34 +	cp -a $install/usr $fs
    1.35  }
    1.36