cfb2b4ecc6
0.29.15: * Crash when returning a temporary Python object from an async-def function. * Crash when using ``**kwargs`` in generators. * Double reference free in ``__class__`` cell handling for ``super()`` calls. * Compile error when using ``*args`` as Python class bases. * Import failure in IPython 7.11. * Fixed C name collision in the auto-pickle code. * Deprecated import failed in Python 3.9.
33 lines
919 B
Makefile
33 lines
919 B
Makefile
# $NetBSD: Makefile,v 1.63 2020/02/18 16:44:22 adam Exp $
|
|
|
|
DISTNAME= Cython-0.29.15
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
|
CATEGORIES= lang python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=C/Cython/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://cython.org/
|
|
COMMENT= C-Extensions for Python
|
|
LICENSE= apache-1.1
|
|
|
|
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 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"
|