[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.79, Wed May 18 11:37:44 2022 UTC (21 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Changes since 1.78: +2 -2 lines

py-cython: updated to 0.29.30

0.29.30 (2022-05-16)
====================

Bugs fixed
----------
* The GIL handling changes in 0.29.29 introduced a regression where
  objects could be deallocated without holding the GIL.


0.29.29 (2022-05-16)
====================

Features added
--------------
* Avoid acquiring the GIL at the end of nogil functions.
  This change was backported in order to avoid generating wrong C code
  that would trigger C compiler warnings with tracing support enabled.

Bugs fixed
----------
* Function definitions in ``finally:`` clauses were not correctly generated.
* A case where C-API functions could be called with a live exception set was fixed.
* Pickles can now be exchanged again with those generated from Cython 3.0 modules.
* Cython now correctly generates Python methods for both the provided regular and
  reversed special numeric methods of extension types.
* Calling unbound extension type methods without arguments could raise an
  ``IndexError`` instead of a ``TypeError``.
* Calling unbound ``.__contains__()`` super class methods on some builtin base
  types could trigger an infinite recursion.
* The C union type in pure Python mode mishandled some field names.
* Allow users to overwrite the C macro ``_USE_MATH_DEFINES``.
* Improved compatibility with CPython 3.10/11.
* Docstrings of descriptors are now provided in PyPy 7.3.9.

# $NetBSD: Makefile,v 1.79 2022/05/18 11:37:44 adam Exp $

DISTNAME=	Cython-0.29.30
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

USE_PKG_RESOURCES=	yes

# 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"