wok-6.x annotate python-turbogears/receipt @ rev 3382
python-turbogears: Fix comments
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 12 02:31:41 2009 +0200 (2009-06-12) |
parents | 67863a5bedd0 |
children | 104071ce98fc |
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@3382 | 20 # Use tgsetup.py to bootstrap installation with all deps. It will |
pankso@3382 | 21 # build: TurbuGears, TurboCheetah, TurboJson and TurboKid. |
pankso@3379 | 22 cd $src/tools |
pankso@3379 | 23 DESTDIR="../_pkg/usr/lib/python2.5/site-packages" |
pankso@3379 | 24 mkdir -p $DESTDIR |
pankso@3379 | 25 PYTHONPATH=$DESTDIR python tgsetup.py -U -d $DESTDIR --prefix="../_pkg/usr" |
pankso@3379 | 26 } |
pankso@3379 | 27 |
pankso@3379 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3379 | 29 genpkg_rules() |
pankso@3379 | 30 { |
pankso@3379 | 31 cp -a $_pkg/usr $fs |
pankso@3379 | 32 rm $fs/usr/lib/python2.5/site-packages/site.py* |
pankso@3379 | 33 } |