wok-current annotate python-couchdbkit/receipt @ rev 14810
Up: apr-util* (1.5.2)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jul 17 13:35:05 2013 +0200 (2013-07-17) |
parents | 99b42fdb85c9 |
children | 8cc37d7e9609 |
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@14356 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
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 |