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