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