pkgsrc/devel/py-cython/Makefile
adam ccb724cbbe py-cython: updated to 0.27.3
0.27.3:

Bugs fixed

* String forward references to extension types like ``@cython.locals(x="ExtType")``
  failed to find the named type.

* NumPy slicing generated incorrect results when compiled with Pythran.

* Fix "undefined reference" linker error for generators on Windows in Py3.3-3.5.

* Adapt to recent C-API change of ``PyThreadState`` in CPython 3.7.

* Fix signature of ``PyWeakref_GetObject()`` API declaration.
2017-11-06 10:12:29 +00:00

37 lines
953 B
Makefile

# $NetBSD: Makefile,v 1.41 2017/11/06 10:12:29 adam Exp $
DISTNAME= Cython-0.27.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= lang python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cython/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cython.org/
COMMENT= C-Extensions for Python
LICENSE= apache-1.1
USE_LANGUAGES= c
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} || ${TRUE}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
# for test only
#.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"