0.29.24 Bugs fixed * Inline functions in pxd files that used memory views could lead to invalid C code if the module that imported from them does not use memory views. * Several declarations in ``libcpp.string`` were added and corrected. * Pickling unbound Cython compiled methods failed. * The tracing code was adapted to work with CPython 3.10. * The optimised ``in`` operator failed on unicode strings in Py3.9 and later that were constructed from an external ``wchar_t`` source. Also, related C compiler warnings about deprecated C-API usage were resolved. * Some compiler crashes were resolved. * An incorrect warning about 'unused' generator expressions was removed. * The attributes ``gen.gi_frame`` and ``coro.cr_frame`` of Cython compiled generators and coroutines now return an actual frame object for introspection, instead of ``None``.
33 lines
920 B
Makefile
33 lines
920 B
Makefile
# $NetBSD: Makefile,v 1.72 2021/07/14 08:07:26 adam Exp $
|
|
|
|
DISTNAME= Cython-0.29.24
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
|
CATEGORIES= devel 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"
|