wok view python-couchdbkit/receipt @ rev 14450
Up: geany* (1.23)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Apr 27 02:42:11 2013 +0200 (2013-04-27) |
parents | 99b42fdb85c9 |
children | 8cc37d7e9609 |
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.tgz"
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 }