wok rev 16356
python-cheetah: add python 2.7 fixes
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 13 16:52:40 2014 +0000 (2014-04-13) |
parents | 106b0d0555d0 |
children | c9be5d5dedf9 |
files | python-cheetah/receipt |
line diff
1.1 --- a/python-cheetah/receipt Sun Apr 13 17:41:38 2014 +0100 1.2 +++ b/python-cheetah/receipt Sun Apr 13 16:52:40 2014 +0000 1.3 @@ -19,6 +19,8 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 + sed -i 's/sys.version_info/&[:]/' cheetah/Template.py 1.8 + sed -i 's/\(naoeu.*\\n"\))/\1, convertEOLs=False)/' cheetah/Tests/SyntaxAndOutput.py 1.9 python setup.py install --root=$DESTDIR 1.10 } 1.11