wok-next view python-couchdbkit/receipt @ rev 4094
Add: libcroco (CSS parsing and manipulation toolkit)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Sep 17 16:17:09 2009 +0200 (2009-09-17) |
parents | |
children | 7f316625be78 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-couchdbkit"
4 SOURCE="couchdbkit"
5 VERSION="0.1.8"
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 src="$SOURCE"
19 cd $src
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 _pkg="$SOURCE/_pkg"
27 for file in `find $_pkg | grep 'pyc$'`; do
28 rm $file
29 done
30 mkdir -p $fs/usr
31 rm -f $_pkg/usr/lib/python2.5/site-packages/tests/*
32 rmdir $_pkg/usr/lib/python2.5/site-packages/tests
33 cp -a $_pkg/usr $fs
34 }