wok diff psyco/receipt @ rev 21769
sane-backends: enlarge preview image
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 01 12:04:05 2019 +0200 (2019-07-01) |
parents | bf4a09ef1d2e |
children | 080c1dff8494 |
line diff
1.1 --- a/psyco/receipt Fri Oct 18 22:13:53 2013 +0000 1.2 +++ b/psyco/receipt Mon Jul 01 12:04:05 2019 +0200 1.3 @@ -16,17 +16,16 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 - # Fix opcodes for python 2.7 1.9 - sed -i -e 's/JUMP_IF_FALSE\([: )]\)/JUMP_IF_FALSE_OR_POP\1/' \ 1.10 - -e 's/JUMP_IF_TRUE\([: )]\)/JUMP_IF_TRUE_OR_POP\1/' \ 1.11 + # Fix opcodes for python 2.7 1.12 + sed -i -e 's/JUMP_IF_FALSE\([: )]\)/JUMP_IF_FALSE_OR_POP\1/' \ 1.13 + -e 's/JUMP_IF_TRUE\([: )]\)/JUMP_IF_TRUE_OR_POP\1/' \ 1.14 c/Python/pycompiler.c c/mergepoints.c 1.15 - python setup.py install --root=$DESTDIR 1.16 + python setup.py install --root=$DESTDIR 1.17 } 1.18 1.19 # Rules to gen a SliTaz package suitable for Tazpkg. 1.20 genpkg_rules() 1.21 { 1.22 - mkdir -p $fs/usr 1.23 - cp -a $install/usr/lib $fs/usr 1.24 + mkdir -p $fs/usr 1.25 + cp -a $install/usr/lib $fs/usr 1.26 }