summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/py-psyco/DESCR20
-rw-r--r--lang/py-psyco/Makefile22
-rw-r--r--lang/py-psyco/PLIST21
-rw-r--r--lang/py-psyco/distinfo4
4 files changed, 67 insertions, 0 deletions
diff --git a/lang/py-psyco/DESCR b/lang/py-psyco/DESCR
new file mode 100644
index 00000000000..9304fd92ce7
--- /dev/null
+++ b/lang/py-psyco/DESCR
@@ -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 --git a/lang/py-psyco/Makefile b/lang/py-psyco/Makefile
new file mode 100644
index 00000000000..5307a0df4dc
--- /dev/null
+++ b/lang/py-psyco/Makefile
@@ -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
+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 --git a/lang/py-psyco/PLIST b/lang/py-psyco/PLIST
new file mode 100644
index 00000000000..4f7d54c4c6d
--- /dev/null
+++ b/lang/py-psyco/PLIST
@@ -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 --git a/lang/py-psyco/distinfo b/lang/py-psyco/distinfo
new file mode 100644
index 00000000000..2a169682f91
--- /dev/null
+++ b/lang/py-psyco/distinfo
@@ -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