wok annotate python-cheetah/receipt @ rev 21239
updated libidn and libidn-dev (1.21 -> 1.35)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 11 14:17:59 2019 +0100 (2019-04-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 } |