wok-next view python-cheetah/receipt @ rev 20970
Typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Sep 14 08:02:55 2018 +0300 (2018-09-14) |
parents | 9b3461bf373c |
children | c9a7a7b42a86 |
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 WEB_SITE="http://www.cheetahtemplate.org/"
10 REPOLOGY="python:cheetah"
12 SOURCE="Cheetah"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://files.pythonhosted.org/packages/source/C/$SOURCE/$TARBALL"
15 TAGS="python"
17 DEPENDS="python"
18 BUILD_DEPENDS="python python-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i 's/sys.version_info/&[:]/' cheetah/Template.py
24 sed -i 's/\(naoeu.*\\n"\))/\1, convertEOLs=False)/' cheetah/Tests/SyntaxAndOutput.py
25 python setup.py install --root=$DESTDIR
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/usr $fs
32 }