wok-next diff psyco/receipt @ rev 20491
More packing...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Mar 13 02:04:32 2018 +0200 (2018-03-13) |
parents | 16df76e1fc6a |
children | d5aab818505e |
line diff
1.1 --- a/psyco/receipt Fri May 22 17:34:18 2015 +0300 1.2 +++ b/psyco/receipt Tue Mar 13 02:04:32 2018 +0200 1.3 @@ -1,21 +1,20 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="psyco" 1.8 VERSION="1.6" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="Module which can massively speed up the execution of any Python code." 1.11 +SHORT_DESC="Module which can massively speed up the execution of any Python code" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="MIT" 1.14 +WEB_SITE="http://psyco.sourceforge.net/" 1.15 +HOST_ARCH="i486" # error: Sorry, non-32-bit platforms are not supported at all. 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION-src.tar.gz" 1.18 -WEB_SITE="http://psyco.sourceforge.net/" 1.19 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.20 1.21 -DEPENDS="python" 1.22 BUILD_DEPENDS="python-dev" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 +compile_rules() { 1.28 # Fix opcodes for python 2.7 1.29 sed -i -e 's/JUMP_IF_FALSE\([: )]\)/JUMP_IF_FALSE_OR_POP\1/' \ 1.30 -e 's/JUMP_IF_TRUE\([: )]\)/JUMP_IF_TRUE_OR_POP\1/' \ 1.31 @@ -23,9 +22,8 @@ 1.32 python setup.py install --root=$DESTDIR 1.33 } 1.34 1.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 -genpkg_rules() 1.37 -{ 1.38 +genpkg_rules() { 1.39 mkdir -p $fs/usr 1.40 cp -a $install/usr/lib $fs/usr 1.41 + DEPENDS="python" 1.42 }