wok view python-cheetah/receipt @ rev 23471

updated python-cheetah (2.4.3 -> 2.4.4)
author Hans-G?nter Theisgen
date Sun Apr 05 14:34:55 2020 +0100 (2020-04-05)
parents 16df76e1fc6a
children de3280120146
line source
1 # SliTaz package receipt.
3 PACKAGE="python-cheetah"
4 VERSION="2.4.4"
5 CATEGORY="development"
6 TAGS="python"
7 SHORT_DESC="A template engine and code generation tool written in Python."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.cheetahtemplate.org/"
12 SOURCE="Cheetah"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://files.pythonhosted.org/packages/source/C/$SOURCE/$TARBALL"
16 DEPENDS="python"
17 BUILD_DEPENDS="python python-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's/sys.version_info/&[:]/' \
23 cheetah/Template.py
24 sed -i 's/\(naoeu.*\\n"\))/\1, convertEOLs=False)/' \
25 cheetah/Tests/SyntaxAndOutput.py
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }