pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/py-psyco Intial import of py-psyco 1.1.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/47130a8f47c6
branches:  trunk
changeset: 462395:47130a8f47c6
user:      recht <recht%pkgsrc.org@localhost>
date:      Wed Oct 01 22:39:06 2003 +0000

description:
Intial import of py-psyco 1.1.1
from the pkgsrc-wip pkg by Michal Pasternak

Psyco is a specializing compiler. In a few words let us first see:

What you can do with it

In short: run your existing Python software much faster, with no change in
your source.
Think of Psyco as a kind of just-in-time (JIT) compiler, a little bit like
Java's, that emit machine code on the fly instead of interpreting your Python
program step by step. 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 quite 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.

diffstat:

 lang/py-psyco/DESCR    |  20 ++++++++++++++++++++
 lang/py-psyco/Makefile |  22 ++++++++++++++++++++++
 lang/py-psyco/PLIST    |  21 +++++++++++++++++++++
 lang/py-psyco/distinfo |   4 ++++
 4 files changed, 67 insertions(+), 0 deletions(-)

diffs (83 lines):

diff -r dbd83e37fe14 -r 47130a8f47c6 lang/py-psyco/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-psyco/DESCR       Wed Oct 01 22:39:06 2003 +0000
@@ -0,0 +1,20 @@
+Psyco is a specializing compiler. In a few words let us first see:
+
+What you can do with it
+
+In short: run your existing Python software much faster, with no change in
+your source.
+Think of Psyco as a kind of just-in-time (JIT) compiler, a little bit like 
+Java's, that emit machine code on the fly instead of interpreting your Python
+program step by step. 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 quite 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.
diff -r dbd83e37fe14 -r 47130a8f47c6 lang/py-psyco/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-psyco/Makefile    Wed Oct 01 22:39:06 2003 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/10/01 22:39:06 recht Exp $
+
+DISTNAME=       psyco-1.1.1-src
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/-src//}
+WRKSRC=                ${WRKDIR}/${DISTNAME:S/-src//}
+CATEGORIES=     lang
+MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE:=psyco/}
+
+MAINTAINER=     dotz%irc.pl@localhost
+HOMEPAGE=       http://psyco.sf.net/
+COMMENT=        Python JIT and execution accelerator
+
+USE_BUILDLINK2=        YES
+PYDISTUTILSPKG=        YES
+PYBINMODULE=   YES
+PY_PATCHPLIST= YES
+
+ONLY_FOR_PLATFORM=             *-*-i386
+PYTHON_VERSIONS_ACCEPTED=      23 23pth 22 22pth 21 21pth
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r dbd83e37fe14 -r 47130a8f47c6 lang/py-psyco/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-psyco/PLIST       Wed Oct 01 22:39:06 2003 +0000
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/10/01 22:39:06 recht Exp $
+${PYSITELIB}/psyco/__init__.py
+${PYSITELIB}/psyco/__init__.pyc
+${PYSITELIB}/psyco/__init__.pyo
+${PYSITELIB}/psyco/_psyco.so
+${PYSITELIB}/psyco/classes.py
+${PYSITELIB}/psyco/classes.pyc
+${PYSITELIB}/psyco/classes.pyo
+${PYSITELIB}/psyco/core.py
+${PYSITELIB}/psyco/core.pyc
+${PYSITELIB}/psyco/core.pyo
+${PYSITELIB}/psyco/logger.py
+${PYSITELIB}/psyco/logger.pyc
+${PYSITELIB}/psyco/logger.pyo
+${PYSITELIB}/psyco/profiler.py
+${PYSITELIB}/psyco/profiler.pyc
+${PYSITELIB}/psyco/profiler.pyo
+${PYSITELIB}/psyco/support.py
+${PYSITELIB}/psyco/support.pyc
+${PYSITELIB}/psyco/support.pyo
+@dirrm ${PYSITELIB}/psyco
diff -r dbd83e37fe14 -r 47130a8f47c6 lang/py-psyco/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-psyco/distinfo    Wed Oct 01 22:39:06 2003 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/10/01 22:39:06 recht Exp $
+
+SHA1 (psyco-1.1.1-src.tar.gz) = 1c1e59622238c9f93574ecc7e97088dd3afc4771
+Size (psyco-1.1.1-src.tar.gz) = 277671 bytes



Home | Main Index | Thread Index | Old Index