wok-stable view python-couchdbkit/receipt @ rev 10439

Add: sylpheed-full (with GPG, splell and ldap support)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 25 01:32:05 2011 +0200 (2011-05-25)
parents d0fa681cee8d
children
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 DEPENDS="python couchdb python-simplejson python-restclient"
10 BUILD_DEPENDS="python python-dev setuptools"
11 TARBALL="$VERSION.gz"
12 WEB_SITE="http://www.couchdbkit.org"
13 WGET_URL="http://bitbucket.org/benoitc/$SOURCE/get/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
26 mkdir -p $fs/usr
27 rm -f $_pkg/usr/lib/$PYTHON_LIB/site-packages/tests/*
28 rmdir $_pkg/usr/lib/$PYTHON_LIB/site-packages/tests
29 cp -a $_pkg/usr $fs
30 }