wok-6.x annotate 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 |
rev | line source |
---|---|
claudinei@3813 | 1 # SliTaz package receipt. |
claudinei@3813 | 2 |
claudinei@3813 | 3 PACKAGE="python-couchdbkit" |
claudinei@3813 | 4 SOURCE="couchdbkit" |
claudinei@4685 | 5 VERSION="0.3.1" |
claudinei@3813 | 6 CATEGORY="development" |
claudinei@3813 | 7 SHORT_DESC="A framework for python applications to access and manage CouchDB" |
claudinei@3813 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@14355 | 9 TARBALL="$PACKAGE-$VERSION.gz" |
pascal@14355 | 10 WEB_SITE="http://www.couchdbkit.org" |
pascal@14355 | 11 WGET_URL="http://bitbucket.org/benoitc/$SOURCE/get/$VERSION.gz" |
pascal@14355 | 12 |
claudinei@3813 | 13 DEPENDS="python couchdb python-simplejson python-restclient" |
claudinei@3813 | 14 BUILD_DEPENDS="python python-dev setuptools" |
claudinei@3813 | 15 |
claudinei@3813 | 16 # Rules to configure and make the package. |
claudinei@3813 | 17 compile_rules() |
claudinei@3813 | 18 { |
claudinei@3813 | 19 cd $src |
pascal@14355 | 20 python setup.py install --root=$DESTDIR |
claudinei@3813 | 21 } |
claudinei@3813 | 22 |
claudinei@3813 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3813 | 24 genpkg_rules() |
claudinei@3813 | 25 { |
pascal@6594 | 26 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
claudinei@3813 | 27 mkdir -p $fs/usr |
pascal@14355 | 28 rm -f $install/usr/lib/$PYTHON_LIB/site-packages/tests/* |
pascal@14355 | 29 rmdir $install/usr/lib/$PYTHON_LIB/site-packages/tests |
pascal@14355 | 30 cp -a $install/usr $fs |
claudinei@3813 | 31 } |
claudinei@3813 | 32 |