[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-cython

File: [cvs.NetBSD.org] / pkgsrc / devel / py-cython / Makefile (download)

Revision 1.69, Thu Jul 9 07:21:45 2020 UTC (14 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3
Changes since 1.68: +2 -2 lines

py-cython: updated to 0.29.21


Bugs fixed

* Fix a regression in 0.29.20 where ``__div__`` failed to be found in extension types.

* Fix a regression in 0.29.20 where a call inside of a finally clause could fail to compile.

* Zero-sized buffers could fail to validate as C/Fortran-contiguous.

* ``exec()`` did not allow recent Python syntax features in Py3.8+ due to

* Binding staticmethods of Cython functions were not behaving like Python methods in Py3.

* Pythran calls to NumPy methods no longer generate useless method lookup code.

* The ``PyUnicode_GET_LENGTH()`` macro was missing from the ``cpython.*`` declarations.

* The deprecated ``PyUnicode_*()`` C-API functions are no longer used, except for Unicode
  strings that contain lone surrogates.  Unicode strings that contain non-BMP characters
  or surrogate pairs now generate different C code on 16-bit Python 2.x Unicode deployments
  (such as MS-Windows).  Generating the C code on Python 3.x is recommended in this case.

* Some template parameters were missing from the C++ ``std::unordered_map`` declaration.

* Several internal code generation issues regarding temporary variables were resolved.

# $NetBSD: Makefile,v 1.69 2020/07/09 07:21:45 adam Exp $

DISTNAME=	Cython-0.29.21
CATEGORIES=	devel python

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
	cd ${WRKSRC} && ${PYTHONBIN} runtests.py

	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"