wok-current annotate python-couchdbkit/receipt @ rev 4520

Up: transmission (1.76) and --disable-libnotify
author Christophe Lincoln <pankso@slitaz.org>
date Fri Nov 27 17:13:04 2009 +0100 (2009-11-27)
parents
children 7f316625be78
rev   line source
claudinei@3813 1 # SliTaz package receipt.
claudinei@3813 2
claudinei@3813 3 PACKAGE="python-couchdbkit"
claudinei@3813 4 SOURCE="couchdbkit"
claudinei@3813 5 VERSION="0.1.8"
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"
claudinei@3813 9 DEPENDS="python couchdb python-simplejson python-restclient"
claudinei@3813 10 BUILD_DEPENDS="python python-dev setuptools"
claudinei@3813 11 TARBALL="$VERSION.gz"
claudinei@3813 12 WEB_SITE="http://www.couchdbkit.org"
claudinei@3813 13 WGET_URL="http://bitbucket.org/benoitc/$SOURCE/get/$TARBALL"
claudinei@3813 14
claudinei@3813 15 # Rules to configure and make the package.
claudinei@3813 16 compile_rules()
claudinei@3813 17 {
claudinei@3813 18 src="$SOURCE"
claudinei@3813 19 cd $src
claudinei@3813 20 python setup.py install --root=$PWD/_pkg
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 {
claudinei@3813 26 _pkg="$SOURCE/_pkg"
claudinei@3813 27 for file in `find $_pkg | grep 'pyc$'`; do
claudinei@3813 28 rm $file
claudinei@3813 29 done
claudinei@3813 30 mkdir -p $fs/usr
claudinei@3813 31 rm -f $_pkg/usr/lib/python2.5/site-packages/tests/*
claudinei@3813 32 rmdir $_pkg/usr/lib/python2.5/site-packages/tests
claudinei@3813 33 cp -a $_pkg/usr $fs
claudinei@3813 34 }
claudinei@3813 35