psyco-py stable port information

Info2: <<
Package: psyco-py%type_pkg[python]
Version: 1.6
Revision: 1
Type: python (2.3 2.4 2.5 2.6)
Distribution: (%type_pkg[python] = 23) 10.4, (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5
Architecture: i386
Source: mirror:sourceforge:psyco/psyco-%v-src.tar.gz
Source-MD5: 8816fca8ba521e05d18dde3e1a11b0bd
Depends: python%type_pkg[python]
SourceDirectory: psyco-%v

BuildDepends: fink (>= 0.24.12)

CompileScript: <<
python%type_raw[python] setup.py build
<<
InstallScript: <<

python%type_raw[python] setup.py install --prefix %p --root %d
<<

InfoTest: <<
TestScript: <<
#!/bin/sh -e -x
cd test/
MACOSVER=`/usr/bin/sw_vers | grep ProductVersion: | cut -f 2 | cut -d. -f1,2`
cp -Rv ../build/lib.macosx-$MACOSVER-%m-%type_raw[python]/psyco .

python%type_raw[python] test_base.py
if [ "$?" != "0" ]; then exit 2; fi;

N=10; n=0;
while [ $n -lt $N ]
do
python%type_raw[python] regrtester2.py "$n/$N"
if [ "$?" != "0" ]; then exit 2; fi;
n=`expr $n + 1`
done
exit 0
<<
<<

DocFiles: README.txt COPYING.txt

Description: Specializing compiler for Python
DescDetail: <<
Think of Psyco as a kind of just-in-time (JIT) compiler, a little bit like
what exists for other languages, that emit machine code on the fly instead of
interpreting your Python program step by step. The difference with the
traditional approach to JIT compilers is that Psyco writes several version of
the same blocks (a block is a bit of a function), which are optimized by being
specialized to some kinds of variables (a "kind" can mean a type, but it is
more general). The result is that your unmodified Python programs run faster.

Benefits
2x to 100x speed-ups, typically 4x, with an unmodified Python interpreter and
unmodified source code, just a dynamically loadable C extension module.

Drawbacks
Psyco currently uses a lot of memory. It only runs on Intel 386-compatible
processors (under any OS) right now. There are some subtle semantic
differences (i.e. bugs) with the way Python works; they should not be apparent
in most programs.
<<

License: BSD
Homepage: http://psyco.sourceforge.net/
Maintainer: None
DescPort: Initial port by Pepe Barbe
<<