wok annotate python-turbogears/receipt @ rev 6992

Added glib-dev and libpng-dev to gdk-pixbuf-dev depends. Needed for pkg-config to work right with gdk-pixbuf-dev .pc files.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 30 17:55:45 2010 +0000 (2010-10-30)
parents d0fa681cee8d
children bf4a09ef1d2e
rev   line source
pankso@3379 1 # SliTaz package receipt.
pankso@3379 2
pankso@3379 3 PACKAGE="python-turbogears"
slaxemulator@6604 4 VERSION="1.1.1"
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 \
claudinei@3395 14 python-decoratortools python-extremes python-simplejson"
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 {
pascal@6594 20 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
pankso@3423 21 # Tgsetup dont build TurboGearsKid and friends if there are already
pankso@3423 22 # installed, so remove python-turbogears before building.
pankso@3423 23 if [ -d /var/lib/tazpkg/installed/python-turbogears ]; then
pankso@3423 24 yes | tazpkg remove python-turbogears
pankso@3423 25 fi
pankso@3382 26 # Use tgsetup.py to bootstrap installation with all deps. It will
pankso@3382 27 # build: TurbuGears, TurboCheetah, TurboJson and TurboKid.
pankso@3379 28 cd $src/tools
pascal@6592 29 DESTDIR="../_pkg/usr/lib/$PYTHON_LIB/site-packages"
pankso@3379 30 mkdir -p $DESTDIR
pankso@3379 31 PYTHONPATH=$DESTDIR python tgsetup.py -U -d $DESTDIR --prefix="../_pkg/usr"
pankso@3379 32 }
pankso@3379 33
pankso@3379 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3379 35 genpkg_rules()
pankso@3379 36 {
pascal@6594 37 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
pankso@3379 38 cp -a $_pkg/usr $fs
pascal@6592 39 rm $fs/usr/lib/$PYTHON_LIB/site-packages/site.py*
pankso@3379 40 }