8b7017d546
0.21.2 (2014-12-27) =================== Bugs fixed ---------- * Crash when assigning a C value to both a Python and C target at the same time. * Automatic coercion from C++ strings to ``str`` generated incomplete code that failed to compile. * Declaring a constructor in a C++ child class erroneously required a default constructor declaration in the super class. * ``resize_smart()`` in ``cpython.array`` was broken. * Functions in ``libcpp.cast`` are now declared as ``nogil``. * Some missing C-API declarations were added. * Py3 main code in embedding program code was lacking casts. * Exception related to distutils "Distribution" class type in pyximport under latest CPython 2.7 and 3.4 releases when setuptools is being imported later.
38 lines
990 B
Makefile
38 lines
990 B
Makefile
# $NetBSD: Makefile,v 1.25 2014/12/30 14:23:48 wiz Exp $
|
|
|
|
DISTNAME= Cython-0.21.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Cy/cy/}
|
|
CATEGORIES= lang python
|
|
MASTER_SITES= http://cython.org/release/
|
|
|
|
MAINTAINER= jihbed.research@gmail.com
|
|
HOMEPAGE= http://cython.org/
|
|
COMMENT= C-Extensions for Python
|
|
LICENSE= apache-1.1
|
|
|
|
USE_LANGUAGES= c
|
|
|
|
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
|
|
PLIST_VARS= cygdb
|
|
|
|
REPLACE_PYTHON+= Cython/Build/Cythonize.py
|
|
REPLACE_PYTHON+= Cython/Debugger/Cygdb.py
|
|
REPLACE_PYTHON+= Cython/Debugger/libpython.py
|
|
REPLACE_PYTHON+= cython.py
|
|
|
|
# for test only
|
|
#USE_LANGUAGES+= c++
|
|
do-test:
|
|
(cd ${WRKSRC} && ${PYTHONBIN} runtests.py)
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} cython cython${PYVERSSUFFIX} && \
|
|
${MV} cythonize cythonize${PYVERSSUFFIX} && \
|
|
${MV} cygdb cygdb${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
# for test only
|
|
#.include "../../math/py-numpy/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|