wok-next view python-turbogears/receipt @ rev 4795

Add: libkrb5support.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Jan 16 23:36:05 2010 +0100 (2010-01-16)
parents 25c18407eac2
children 5921dc28d8c6
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 python-extremes python-simplejson"
15 BUILD_DEPENDS="$DEPENDS python-dev setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Tgsetup dont build TurboGearsKid and friends if there are already
21 # installed, so remove python-turbogears before building.
22 if [ -d /var/lib/tazpkg/installed/python-turbogears ]; then
23 yes | tazpkg remove python-turbogears
24 fi
25 # Use tgsetup.py to bootstrap installation with all deps. It will
26 # build: TurbuGears, TurboCheetah, TurboJson and TurboKid.
27 cd $src/tools
28 DESTDIR="../_pkg/usr/lib/python2.5/site-packages"
29 mkdir -p $DESTDIR
30 PYTHONPATH=$DESTDIR python tgsetup.py -U -d $DESTDIR --prefix="../_pkg/usr"
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $_pkg/usr $fs
37 rm $fs/usr/lib/python2.5/site-packages/site.py*
38 }