SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "psyco"

# SliTaz package receipt.

PACKAGE="psyco"
VERSION="1.6"
CATEGORY="system-tools"
SHORT_DESC="Module which can massively speed up the execution of any Python code."
MAINTAINER="pankso@slitaz.org"
DEPENDS="python"
BUILD_DEPENDS="python-dev"
TARBALL="$PACKAGE-$VERSION-src.tar.gz"
WEB_SITE="http://psyco.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    # Fix opcodes for python 2.7
    sed -i -e 's/JUMP_IF_FALSE\([: )]\)/JUMP_IF_FALSE_OR_POP\1/' \
       -e 's/JUMP_IF_TRUE\([: )]\)/JUMP_IF_TRUE_OR_POP\1/' \
        c/Python/pycompiler.c c/mergepoints.c
    python setup.py install --root=$PWD/_pkg
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $_pkg/usr/lib $fs/usr
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)