wok view psyco/receipt @ rev 20283

security fixes from 0.3.1.9 (2017 Dec 1) and 0.3.1.10 (March 3)... further info: https://blog.torproject.org/new-stable-tor-releases-security-fixes-and-dos-prevention-03210-03110-02915
author Erkan Yilmaz <erkan@slitaz.org>
date Tue Mar 27 11:09:07 2018 +0000 (2018-03-27)
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 }