wok-6.x diff psyco/receipt @ rev 12531
kmod: install in /sbin /bin /lib, do symlinks and use xz/lzma compression
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 25 11:15:08 2012 +0200 (2012-04-25) |
parents | 15950b83bce6 |
children | bf4a09ef1d2e |
line diff
1.1 --- a/psyco/receipt Mon May 25 01:25:17 2009 +0200 1.2 +++ b/psyco/receipt Wed Apr 25 11:15:08 2012 +0200 1.3 @@ -15,6 +15,10 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 + # Fix opcodes for python 2.7 1.8 + sed -i -e 's/JUMP_IF_FALSE\([: )]\)/JUMP_IF_FALSE_OR_POP\1/' \ 1.9 + -e 's/JUMP_IF_TRUE\([: )]\)/JUMP_IF_TRUE_OR_POP\1/' \ 1.10 + c/Python/pycompiler.c c/mergepoints.c 1.11 python setup.py install --root=$PWD/_pkg 1.12 } 1.13