wok view psyco/receipt @ rev 23840
Up libsdl2-image (2.0.5), radare2 (4.4.0), screen (4.8.0), sleuthkit (4.9.0), thunderbird-bin (68.9.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 04 16:22:12 2020 +0000 (2020-06-04) |
parents | bf4a09ef1d2e |
children | 080c1dff8494 |
line source
1 # SliTaz package receipt.
3 PACKAGE="psyco"
4 VERSION="1.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="Module which can massively speed up the execution of any Python code."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
10 WEB_SITE="http://psyco.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Fix opcodes for python 2.7
20 sed -i -e 's/JUMP_IF_FALSE\([: )]\)/JUMP_IF_FALSE_OR_POP\1/' \
21 -e 's/JUMP_IF_TRUE\([: )]\)/JUMP_IF_TRUE_OR_POP\1/' \
22 c/Python/pycompiler.c c/mergepoints.c
23 python setup.py install --root=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }