wok-6.x view python-cheetah/receipt @ rev 18013
Up: slitaz-configs, slitaz-configs-base, tazpanel.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 01 19:34:38 2015 +0300 (2015-05-01) |
parents | fd4f1e692109 |
children | 16df76e1fc6a |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-cheetah"
4 VERSION="2.4.3"
5 CATEGORY="development"
6 SHORT_DESC="Cheetah is a template engine and code generation tool written in Python."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="Cheetah"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.cheetahtemplate.org/"
12 WGET_URL="http://pypi.python.org/packages/source/C/$SOURCE/$TARBALL"
13 TAGS="python"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's/sys.version_info/&[:]/' cheetah/Template.py
23 sed -i 's/\(naoeu.*\\n"\))/\1, convertEOLs=False)/' cheetah/Tests/SyntaxAndOutput.py
24 python setup.py install --root=$DESTDIR
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs
31 }