# HG changeset patch # User Claudinei Pereira # Date 1374703354 10800 # Node ID 24aee5c78b9f9c0d0a3c8f05ee4a53dd550e148a # Parent d66b9f197cdfffb73de81d64c1f205580d414bdc Up: python-httplib2 (0.8) diff -r d66b9f197cdf -r 24aee5c78b9f python-httplib2/receipt --- a/python-httplib2/receipt Wed Jul 24 19:01:54 2013 -0300 +++ b/python-httplib2/receipt Wed Jul 24 19:02:34 2013 -0300 @@ -2,12 +2,12 @@ PACKAGE="python-httplib2" SOURCE="httplib2" -VERSION="0.7.4" +VERSION="0.8" CATEGORY="development" SHORT_DESC="A comprehensive HTTP client library for python" MAINTAINER="claudinei@slitaz.org" DEPENDS="python" -BUILD_DEPENDS="python python-dev" +BUILD_DEPENDS="python-dev" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://code.google.com/p/httplib2" WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL" @@ -16,16 +16,12 @@ 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 - rm $file - done - mkdir -p $fs/usr - cp -a $_pkg/usr $fs + cp -a $install/usr $fs }