extension module to speed up the execution of Python code

ok and help from alek@ and xsa@. ta!
this time with the right name (doh!). thanks dug for pointing it out.
This commit is contained in:
fgsch 2005-01-09 22:59:06 +00:00
parent 705a779ae7
commit 9dd6ef7e92
5 changed files with 56 additions and 0 deletions

29
dev/py-psyco/Makefile Normal file
View File

@ -0,0 +1,29 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/01/09 22:59:06 fgsch Exp $
COMMENT= "extension module to speed up the execution of Python code"
SHARED_ONLY= Yes
ONLY_FOR_ARCHS= i386
DISTNAME= psyco-1.3-src
PKGNAME= py-${DISTNAME:S/-src//}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=psyco/}
HOMEPAGE= http://psyco.sourceforge.net/
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/python
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
do-regress: fake
@cd ${WRKSRC}/test && env PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./basetests.py
.include <bsd.port.mk>

4
dev/py-psyco/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (psyco-1.3-src.tar.gz) = ef2dd14e933c40b420693d0cf5bb2aff
RMD160 (psyco-1.3-src.tar.gz) = aa91716f19d333756b8fbd78620321c67218e0d5
SHA1 (psyco-1.3-src.tar.gz) = dadb3833456f84c1e5216b27cdbc5ba2034c3597
SIZE (psyco-1.3-src.tar.gz) = 1099318

6
dev/py-psyco/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
Psyco is a Python extension module which can massively speed up the
execution of any Python code.
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.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2005/01/09 22:59:06 fgsch Exp $
lib/python${MODPY_VERSION}/site-packages/psyco/_psyco.so

15
dev/py-psyco/pkg/PLIST Normal file
View File

@ -0,0 +1,15 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/01/09 22:59:06 fgsch Exp $
%%SHARED%%
lib/python${MODPY_VERSION}/site-packages/psyco/
lib/python${MODPY_VERSION}/site-packages/psyco/__init__.py
lib/python${MODPY_VERSION}/site-packages/psyco/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/psyco/classes.py
lib/python${MODPY_VERSION}/site-packages/psyco/classes.pyc
lib/python${MODPY_VERSION}/site-packages/psyco/core.py
lib/python${MODPY_VERSION}/site-packages/psyco/core.pyc
lib/python${MODPY_VERSION}/site-packages/psyco/logger.py
lib/python${MODPY_VERSION}/site-packages/psyco/logger.pyc
lib/python${MODPY_VERSION}/site-packages/psyco/profiler.py
lib/python${MODPY_VERSION}/site-packages/psyco/profiler.pyc
lib/python${MODPY_VERSION}/site-packages/psyco/support.py
lib/python${MODPY_VERSION}/site-packages/psyco/support.pyc