wok-6.x annotate python-cheetah/receipt @ rev 24323
updated aria2 (1.35.0 -> 1.36.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 27 09:00:40 2022 +0100 (2022-01-27) |
parents | 6bab837a85ec |
children | 2f230197370e |
rev | line source |
---|---|
pankso@3375 | 1 # SliTaz package receipt. |
pankso@3375 | 2 |
pankso@3375 | 3 PACKAGE="python-cheetah" |
Hans-G?nter@23471 | 4 VERSION="2.4.4" |
pankso@3375 | 5 CATEGORY="development" |
Hans-G?nter@23471 | 6 TAGS="python" |
Hans-G?nter@23471 | 7 SHORT_DESC="A template engine and code generation tool written in Python." |
pankso@3375 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15378 | 9 LICENSE="MIT" |
pascal@23513 | 10 WEB_SITE="https://cheetahtemplate.org/" |
Hans-G?nter@23471 | 11 |
pankso@3375 | 12 SOURCE="Cheetah" |
pankso@3375 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23471 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/C/$SOURCE/$TARBALL" |
pascal@15378 | 15 |
pankso@3375 | 16 DEPENDS="python" |
Hans-G?nter@23472 | 17 BUILD_DEPENDS="python python-dev python-setuptools" |
pankso@3375 | 18 |
pankso@3375 | 19 # Rules to configure and make the package. |
pankso@3375 | 20 compile_rules() |
pankso@3375 | 21 { |
Hans-G?nter@23471 | 22 sed -i 's/sys.version_info/&[:]/' \ |
Hans-G?nter@23471 | 23 cheetah/Template.py |
Hans-G?nter@23471 | 24 sed -i 's/\(naoeu.*\\n"\))/\1, convertEOLs=False)/' \ |
Hans-G?nter@23471 | 25 cheetah/Tests/SyntaxAndOutput.py |
Hans-G?nter@23471 | 26 |
pascal@15378 | 27 python setup.py install --root=$DESTDIR |
pankso@3375 | 28 } |
pankso@3375 | 29 |
pankso@3375 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3375 | 31 genpkg_rules() |
pankso@3375 | 32 { |
Hans-G?nter@23471 | 33 cp -a $install/usr $fs |
pankso@3375 | 34 } |