wok-current annotate python-cheetah/receipt @ rev 18124

Add xorg-presentproto
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 11 12:34:25 2015 +0200 (2015-06-11)
parents 06fa248c42f5
children 6d80c16e55a1
rev   line source
pankso@3375 1 # SliTaz package receipt.
pankso@3375 2
pankso@3375 3 PACKAGE="python-cheetah"
slaxemulator@6603 4 VERSION="2.4.3"
pankso@3375 5 CATEGORY="development"
pankso@3375 6 SHORT_DESC="Cheetah is a template engine and code generation tool written in Python."
pankso@3375 7 MAINTAINER="pankso@slitaz.org"
pascal@15378 8 LICENSE="MIT"
pankso@3375 9 SOURCE="Cheetah"
pankso@3375 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@3375 11 WEB_SITE="http://www.cheetahtemplate.org/"
slaxemulator@6603 12 WGET_URL="http://pypi.python.org/packages/source/C/$SOURCE/$TARBALL"
pascal@15378 13 TAGS="python"
pascal@15378 14
pankso@3375 15 DEPENDS="python"
pankso@3375 16 BUILD_DEPENDS="python python-dev"
pankso@3375 17
pankso@3375 18 # Rules to configure and make the package.
pankso@3375 19 compile_rules()
pankso@3375 20 {
pascal@16356 21 sed -i 's/sys.version_info/&[:]/' cheetah/Template.py
pascal@16356 22 sed -i 's/\(naoeu.*\\n"\))/\1, convertEOLs=False)/' cheetah/Tests/SyntaxAndOutput.py
pascal@15378 23 python setup.py install --root=$DESTDIR
pankso@3375 24 }
pankso@3375 25
pankso@3375 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3375 27 genpkg_rules()
pankso@3375 28 {
pascal@15378 29 cp -a $install/usr $fs
pankso@3375 30 }