wok-current annotate python-httplib2/receipt @ rev 14405

edbus-dev: update deps
author Dominique Corbex <domcox@slitaz.org>
date Tue Apr 23 18:26:59 2013 +0200 (2013-04-23)
parents 7a3395dc2e96
children 24aee5c78b9f
rev   line source
claudinei@3811 1 # SliTaz package receipt.
claudinei@3811 2
claudinei@3811 3 PACKAGE="python-httplib2"
claudinei@3811 4 SOURCE="httplib2"
paul@13220 5 VERSION="0.7.4"
claudinei@3811 6 CATEGORY="development"
claudinei@3811 7 SHORT_DESC="A comprehensive HTTP client library for python"
claudinei@3811 8 MAINTAINER="claudinei@slitaz.org"
claudinei@3811 9 DEPENDS="python"
claudinei@3811 10 BUILD_DEPENDS="python python-dev"
claudinei@3811 11 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@3811 12 WEB_SITE="http://code.google.com/p/httplib2"
claudinei@3811 13 WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL"
claudinei@3811 14
claudinei@3811 15 # Rules to configure and make the package.
claudinei@3811 16 compile_rules()
claudinei@3811 17 {
claudinei@3811 18 cd $src
claudinei@3811 19 python setup.py install --root=$PWD/_pkg
claudinei@3811 20 }
claudinei@3811 21
claudinei@3811 22 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3811 23 genpkg_rules()
claudinei@3811 24 {
claudinei@3811 25 for file in `find $_pkg | grep 'pyc$'`; do
claudinei@3811 26 rm $file
claudinei@3811 27 done
claudinei@3811 28 mkdir -p $fs/usr
claudinei@3811 29 cp -a $_pkg/usr $fs
claudinei@3811 30 }
claudinei@3811 31