Import pyrex 0.9.4.1
Pyrex is a language specially designed for writing Python extension modules. It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python and the messy, low-level world of C.
This commit is contained in:
parent
26cb2d82c9
commit
fdda5d4300
43
devel/pyrex/Makefile
Normal file
43
devel/pyrex/Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/16 01:09:38 alek Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= "Python-alike language for writing Python extension modules"
|
||||
|
||||
DISTNAME= Pyrex-0.9.4.1
|
||||
PKGNAME= ${DISTNAME:L}
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
|
||||
|
||||
MAINTAINER= Aleksander Piotrowski <alek@openbsd.org>
|
||||
|
||||
# Free, check README.txt for details
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
#USE_GMAKE= Yes
|
||||
MODULES= lang/python
|
||||
|
||||
REGRESS_DEPENDS=:py-Numeric-*:math/py-Numeric
|
||||
|
||||
pre-build:
|
||||
@perl -pi -e "s,/usr/bin/env python,${MODPY_BIN}," \
|
||||
${WRKSRC}/bin/pyrexc
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pyrex
|
||||
${INSTALL_DATA} ${WRKSRC}/Doc/* ${PREFIX}/share/doc/pyrex/
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pyrex
|
||||
@cd ${WRKSRC}/Demos && tar cvf - . | \
|
||||
(cd ${PREFIX}/share/examples/pyrex && tar xf -)
|
||||
|
||||
do-regress:
|
||||
@cd ${WRKSRC}/Demos && \
|
||||
make test PYTHON="PYTHONPATH=${WRKSRC} ${MODPY_BIN}"
|
||||
|
||||
.include <bsd.port.mk>
|
4
devel/pyrex/distinfo
Normal file
4
devel/pyrex/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (Pyrex-0.9.4.1.tar.gz) = 425f0543c634bc7a86fe4fce02e0e882
|
||||
RMD160 (Pyrex-0.9.4.1.tar.gz) = c6474bfdab3ed7df745b83aba89a47c6482d7d0a
|
||||
SHA1 (Pyrex-0.9.4.1.tar.gz) = cafd221d75bacd411d8f0ca8dabc450a58466ba5
|
||||
SIZE (Pyrex-0.9.4.1.tar.gz) = 181507
|
18
devel/pyrex/patches/patch-Demos_Makefile
Normal file
18
devel/pyrex/patches/patch-Demos_Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-Demos_Makefile,v 1.1.1.1 2006/11/16 01:09:38 alek Exp $
|
||||
--- Demos/Makefile.orig Sun Nov 12 22:04:13 2006
|
||||
+++ Demos/Makefile Sun Nov 12 22:04:14 2006
|
||||
@@ -1,10 +1,10 @@
|
||||
all:
|
||||
- python Setup.py build_ext --inplace
|
||||
+ ${PYTHON} Setup.py build_ext --inplace
|
||||
|
||||
test: all
|
||||
- python run_primes.py 20
|
||||
- python run_numeric_demo.py
|
||||
- python run_spam.py
|
||||
+ ${PYTHON} run_primes.py 20
|
||||
+ ${PYTHON} run_numeric_demo.py
|
||||
+ ${PYTHON} run_spam.py
|
||||
cd callback; $(MAKE) test
|
||||
|
||||
clean:
|
14
devel/pyrex/patches/patch-Demos_callback_Makefile
Normal file
14
devel/pyrex/patches/patch-Demos_callback_Makefile
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-Demos_callback_Makefile,v 1.1.1.1 2006/11/16 01:09:38 alek Exp $
|
||||
--- Demos/callback/Makefile.orig Sun Nov 12 22:04:08 2006
|
||||
+++ Demos/callback/Makefile Sun Nov 12 22:04:09 2006
|
||||
@@ -1,8 +1,8 @@
|
||||
all:
|
||||
- python Setup.py build_ext --inplace
|
||||
+ ${PYTHON} Setup.py build_ext --inplace
|
||||
|
||||
test: all
|
||||
- python run_cheese.py
|
||||
+ ${PYTHON} run_cheese.py
|
||||
|
||||
clean:
|
||||
@echo Cleaning Demos/callback
|
3
devel/pyrex/pkg/DESCR
Normal file
3
devel/pyrex/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
Pyrex is a language specially designed for writing Python extension
|
||||
modules. It's designed to bridge the gap between the nice, high-level,
|
||||
easy-to-use world of Python and the messy, low-level world of C.
|
133
devel/pyrex/pkg/PLIST
Normal file
133
devel/pyrex/pkg/PLIST
Normal file
@ -0,0 +1,133 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/16 01:09:38 alek Exp $
|
||||
bin/pyrexc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/CmdLine.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/CmdLine.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Code.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Code.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/DebugFlags.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/DebugFlags.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Errors.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Errors.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/ExprNodes.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/ExprNodes.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Lexicon.pickle
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Lexicon.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Lexicon.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Main.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Main.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Naming.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Naming.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Nodes.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Nodes.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Options.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Options.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Parsing.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Parsing.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/PyrexTypes.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/PyrexTypes.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Scanning.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Scanning.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Symtab.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Symtab.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/TypeSlots.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/TypeSlots.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Version.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/Version.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Compiler/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Debugging.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Debugging.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Distutils/
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Distutils/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Distutils/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Distutils/build_ext.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Distutils/build_ext.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/DarwinSystem.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/DarwinSystem.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/Finder_Std_Suite.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/Finder_Std_Suite.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/MPW_Misc_Suite.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/MPW_Misc_Suite.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/MacSystem.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/MacSystem.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/MacUtils.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/MacUtils.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/PS_Misc_Suite.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/PS_Misc_Suite.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/PyServerMain.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/PyServerMain.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/TS_Misc_Suite.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/TS_Misc_Suite.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Mac/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/Actions.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/Actions.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/DFA.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/DFA.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/Errors.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/Errors.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/Lexicons.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/Lexicons.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/Machines.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/Machines.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/Regexps.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/Regexps.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/Scanners.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/Scanners.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/Timing.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/Timing.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/Traditional.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/Traditional.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/Transitions.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/Transitions.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/test_tm.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Plex/test_tm.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Utils.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/Utils.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/Pyrex/__init__.pyc
|
||||
share/doc/pyrex/
|
||||
share/doc/pyrex/About.html
|
||||
share/doc/pyrex/FAQ.html
|
||||
share/doc/pyrex/extension_types.html
|
||||
share/doc/pyrex/index.html
|
||||
share/doc/pyrex/overview.html
|
||||
share/doc/pyrex/primes.c
|
||||
share/doc/pyrex/sharing.html
|
||||
share/doc/pyrex/special_methods.html
|
||||
share/examples/pyrex/
|
||||
share/examples/pyrex/Makefile
|
||||
share/examples/pyrex/Makefile.nodistutils
|
||||
@comment share/examples/pyrex/Makefile.orig
|
||||
share/examples/pyrex/Setup.py
|
||||
share/examples/pyrex/callback/
|
||||
share/examples/pyrex/callback/Makefile
|
||||
share/examples/pyrex/callback/Makefile.nodistutils
|
||||
@comment share/examples/pyrex/callback/Makefile.orig
|
||||
share/examples/pyrex/callback/README.txt
|
||||
share/examples/pyrex/callback/Setup.py
|
||||
share/examples/pyrex/callback/cheese.pyx
|
||||
share/examples/pyrex/callback/cheesefinder.c
|
||||
share/examples/pyrex/callback/cheesefinder.h
|
||||
share/examples/pyrex/callback/run_cheese.py
|
||||
share/examples/pyrex/embed/
|
||||
share/examples/pyrex/embed/Makefile
|
||||
share/examples/pyrex/embed/Makefile.msc
|
||||
share/examples/pyrex/embed/Makefile.msc.static
|
||||
share/examples/pyrex/embed/Makefile.unix
|
||||
share/examples/pyrex/embed/README
|
||||
share/examples/pyrex/embed/embedded.pyx
|
||||
share/examples/pyrex/embed/main.c
|
||||
share/examples/pyrex/numeric_demo.pyx
|
||||
share/examples/pyrex/primes.pyx
|
||||
share/examples/pyrex/pyprimes.py
|
||||
share/examples/pyrex/run_numeric_demo.py
|
||||
share/examples/pyrex/run_primes.py
|
||||
share/examples/pyrex/run_spam.py
|
||||
share/examples/pyrex/spam.pyx
|
Loading…
Reference in New Issue
Block a user