openbsd-ports/lang/cython/Makefile
rpointel 91fe494c92 Import cython, from James Turner, with few tweaks by me and landry@.
ok landry@, benoit@. 
Cython is a language that makes writing C extensions for the Python
language as easy as Python itself. Cython is based on the well-known
Pyrex, but supports more cutting edge functionality and optimizations.
The Cython language is very close to the Python language, but Cython
additionally supports calling C functions and declaring C types on
variables and class attributes. This allows the compiler to generate
very efficient C code from Cython code.
This makes Cython a language for wrapping external C libraries, and for
fast C modules that speed up the execution of Python code.
2011-06-29 08:27:26 +00:00

31 lines
680 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/06/29 08:27:26 rpointel Exp $
COMMENT = C-Extensions for Python
MODPY_EGG_VERSION = 0.14.1
DISTNAME = Cython-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:L}
CATEGORIES = lang
HOMEPAGE = http://www.cython.org/
MASTER_SITES = ${HOMEPAGE}release/ \
${MASTER_SITE_PYPI:=C/Cython/}
# Apache 2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/python
WANTLIB += ${MODPY_WANTLIB}
REGRESS_TARGET = test
do-regress:
@cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
${ALL_REGRESS_FLAGS} -f ${MAKE_FILE} ${REGRESS_TARGET}
.include <bsd.port.mk>