wok-stable diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-turbogears/receipt Fri Jun 12 02:25:10 2009 +0200 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-turbogears" 1.7 +VERSION="1.0.8" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Python web application framework." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +SOURCE="TurboGears" 1.12 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.turbogears.org/" 1.14 +WGET_URL="http://files.turbogears.org/eggs/$TARBALL" 1.15 +DEPENDS="python psycopg sqlobject python-kid python-cheetah python-cherrypy \ 1.16 +python-paste python-pastedeploy python-pastescript python-formencode \ 1.17 +python-decoratortools" 1.18 +BUILD_DEPENDS="$DEPENDS python-dev setuptools" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + # Use tgsetup.py to bootstrap installation with all deps. If this is 1.24 + cd $src/tools 1.25 + DESTDIR="../_pkg/usr/lib/python2.5/site-packages" 1.26 + mkdir -p $DESTDIR 1.27 + PYTHONPATH=$DESTDIR python tgsetup.py -U -d $DESTDIR --prefix="../_pkg/usr" 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + cp -a $_pkg/usr $fs 1.34 + rm $fs/usr/lib/python2.5/site-packages/site.py* 1.35 +}