wok diff python-couchdbkit/receipt @ rev 14355
Update some TARBALL name
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 17 09:19:04 2013 +0200 (2013-04-17) |
parents | be13f25e790b |
children | 44eacb6d3864 |
line diff
1.1 --- a/python-couchdbkit/receipt Sun Feb 20 06:53:59 2011 +0000 1.2 +++ b/python-couchdbkit/receipt Wed Apr 17 09:19:04 2013 +0200 1.3 @@ -6,17 +6,18 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="A framework for python applications to access and manage CouchDB" 1.6 MAINTAINER="claudinei@slitaz.org" 1.7 +TARBALL="$PACKAGE-$VERSION.gz" 1.8 +WEB_SITE="http://www.couchdbkit.org" 1.9 +WGET_URL="http://bitbucket.org/benoitc/$SOURCE/get/$VERSION.gz" 1.10 + 1.11 DEPENDS="python couchdb python-simplejson python-restclient" 1.12 BUILD_DEPENDS="python python-dev setuptools" 1.13 -TARBALL="$VERSION.gz" 1.14 -WEB_SITE="http://www.couchdbkit.org" 1.15 -WGET_URL="http://bitbucket.org/benoitc/$SOURCE/get/$TARBALL" 1.16 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 cd $src 1.21 - python setup.py install --root=$PWD/_pkg 1.22 + python setup.py install --root=$DESTDIR 1.23 } 1.24 1.25 # Rules to gen a SliTaz package suitable for Tazpkg. 1.26 @@ -24,8 +25,8 @@ 1.27 { 1.28 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 1.29 mkdir -p $fs/usr 1.30 - rm -f $_pkg/usr/lib/$PYTHON_LIB/site-packages/tests/* 1.31 - rmdir $_pkg/usr/lib/$PYTHON_LIB/site-packages/tests 1.32 - cp -a $_pkg/usr $fs 1.33 + rm -f $install/usr/lib/$PYTHON_LIB/site-packages/tests/* 1.34 + rmdir $install/usr/lib/$PYTHON_LIB/site-packages/tests 1.35 + cp -a $install/usr $fs 1.36 } 1.37