wok view python-turbogears/receipt @ rev 22708

updated eudev and eudev-dev (1.9 -> 3.2.9)
author Hans-G?nter Theisgen
date Tue Jan 21 17:49:56 2020 +0100 (2020-01-21)
parents 02335b48dae1
children 1df6fa555414
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 python-peak-rules"
17 BUILD_DEPENDS="$DEPENDS python-dev python-setuptools"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i -e 's|http://pypi|https://pypi|' -e \
23 's|sys, os|&, ssl\nssl._create_default_https_context = ssl._create_unverified_context|' \
24 tools/tgsetup.py ez_setup.py
25 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
26 # Tgsetup dont build TurboGearsKid and friends if there are already
27 # installed, so remove python-turbogears before building.
28 if [ -d /var/lib/tazpkg/installed/python-turbogears ]; then
29 yes | tazpkg remove python-turbogears
30 fi
31 # Use tgsetup.py to bootstrap installation with all deps. It will
32 # build: TurbuGears, TurboCheetah, TurboJson and TurboKid.
33 cd $src/tools
34 DESTDIR="../_pkg/usr/lib/$PYTHON_LIB/site-packages"
35 mkdir -p $DESTDIR
36 PYTHONPATH=$DESTDIR python tgsetup.py -U -d $DESTDIR --prefix="../_pkg/usr"
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
43 cp -a $install/usr $fs
44 rm $fs/usr/lib/$PYTHON_LIB/site-packages/site.py*
45 }