wok-current annotate python-turbogears/receipt @ rev 3379

Add: python-paste*
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jun 12 02:25:10 2009 +0200 (2009-06-12)
parents
children ec9ebf2a2c46
rev   line source
pankso@3379 1 # SliTaz package receipt.
pankso@3379 2
pankso@3379 3 PACKAGE="python-turbogears"
pankso@3379 4 VERSION="1.0.8"
pankso@3379 5 CATEGORY="network"
pankso@3379 6 SHORT_DESC="Python web application framework."
pankso@3379 7 MAINTAINER="pankso@slitaz.org"
pankso@3379 8 SOURCE="TurboGears"
pankso@3379 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@3379 10 WEB_SITE="http://www.turbogears.org/"
pankso@3379 11 WGET_URL="http://files.turbogears.org/eggs/$TARBALL"
pankso@3379 12 DEPENDS="python psycopg sqlobject python-kid python-cheetah python-cherrypy \
pankso@3379 13 python-paste python-pastedeploy python-pastescript python-formencode \
pankso@3379 14 python-decoratortools"
pankso@3379 15 BUILD_DEPENDS="$DEPENDS python-dev setuptools"
pankso@3379 16
pankso@3379 17 # Rules to configure and make the package.
pankso@3379 18 compile_rules()
pankso@3379 19 {
pankso@3379 20 # Use tgsetup.py to bootstrap installation with all deps. If this is
pankso@3379 21 cd $src/tools
pankso@3379 22 DESTDIR="../_pkg/usr/lib/python2.5/site-packages"
pankso@3379 23 mkdir -p $DESTDIR
pankso@3379 24 PYTHONPATH=$DESTDIR python tgsetup.py -U -d $DESTDIR --prefix="../_pkg/usr"
pankso@3379 25 }
pankso@3379 26
pankso@3379 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3379 28 genpkg_rules()
pankso@3379 29 {
pankso@3379 30 cp -a $_pkg/usr $fs
pankso@3379 31 rm $fs/usr/lib/python2.5/site-packages/site.py*
pankso@3379 32 }