From dd7ece96e5c9ec6ef50109b99377db2b3cc33641 Mon Sep 17 00:00:00 2001 From: recht Date: Wed, 1 Oct 2003 22:39:06 +0000 Subject: 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. --- lang/py-psyco/Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 lang/py-psyco/Makefile (limited to 'lang/py-psyco/Makefile') 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" -- cgit v1.2.3