wok-current view python-turbogears/receipt @ rev 16929
Add dooble (Qt4 web browser)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Jul 19 17:27:59 2014 +0200 (2014-07-19) |
parents | 0846c0130529 |
children | 7390f8de9846 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-turbogears"
4 VERSION="1.1.1"
5 CATEGORY="network"
6 SHORT_DESC="Python web application framework."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="TurboGears"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.turbogears.org/"
12 WGET_URL="http://files.turbogears.org/eggs/$TARBALL"
14 DEPENDS="python psycopg sqlobject python-kid python-cheetah python-cherrypy \
15 python-paste python-pastedeploy python-pastescript python-formencode \
16 python-decoratortools python-extremes python-simplejson"
17 BUILD_DEPENDS="$DEPENDS python-dev setuptools"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
23 # Tgsetup dont build TurboGearsKid and friends if there are already
24 # installed, so remove python-turbogears before building.
25 if [ -d /var/lib/tazpkg/installed/python-turbogears ]; then
26 yes | tazpkg remove python-turbogears
27 fi
28 # Use tgsetup.py to bootstrap installation with all deps. It will
29 # build: TurbuGears, TurboCheetah, TurboJson and TurboKid.
30 cd $src/tools
31 DESTDIR="../_pkg/usr/lib/$PYTHON_LIB/site-packages"
32 mkdir -p $DESTDIR
33 PYTHONPATH=$DESTDIR python tgsetup.py -U -d $DESTDIR --prefix="../_pkg/usr"
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
40 cp -a $install/usr $fs
41 rm $fs/usr/lib/$PYTHON_LIB/site-packages/site.py*
42 }