Sun Feb 21 12:50:44 2021 UTC ()
py-cython: updated to 0.29.22

0.29.22 (2021-02-20)
====================

Features added
--------------
* Some declarations were added to the provided pxd includes.

Bugs fixed
----------
* A crash when calling certain functions in Py3.9 and later was resolved.

* ``const`` memory views of structs failed to compile.

* ``const`` template declarations could not be nested.

* The declarations in the ``cpython.pycapsule`` module were missing their
  ``const`` modifiers and generated incorrect C code.

* Casts to memory views failed for fused dtypes.

* ``repr()`` was assumed to return ``str`` instead of ``unicode`` with ``language_level=3``.

* Calling ``cpdef`` functions from cimported modules crashed the compiler.

* Cython no longer validates the ABI size of the NumPy classes it compiled against.
  See the discussion in https://github.com/numpy/numpy/pull/432

* A C compiler warning about enum value casting was resolved in GCC.

* Coverage reporting in the annotated HTML file failed in Py3.9.

* The embedding code now reports Python errors as exit status.

* Long type declarations could lead to (harmless) random changes in the
  C file when used in auto-generated Python wrappers or pickled classes.

Other changes
-------------
* Variables defined as ``cpdef`` now generate a warning since this
  is currently useless and thus does not do what users would expect.


(adam)
diff -r1.69 -r1.70 pkgsrc/devel/py-cython/Makefile
diff -r1.27 -r1.28 pkgsrc/devel/py-cython/PLIST
diff -r1.61 -r1.62 pkgsrc/devel/py-cython/distinfo

cvs diff -r1.69 -r1.70 pkgsrc/devel/py-cython/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-cython/Makefile 2020/07/09 07:21:45 1.69
+++ pkgsrc/devel/py-cython/Makefile 2021/02/21 12:50:44 1.70
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.69 2020/07/09 07:21:45 adam Exp $ 1# $NetBSD: Makefile,v 1.70 2021/02/21 12:50:44 adam Exp $
2 2
3DISTNAME= Cython-0.29.21 3DISTNAME= Cython-0.29.22
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=C/Cython/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=C/Cython/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://cython.org/ 9HOMEPAGE= https://cython.org/
10COMMENT= C-Extensions for Python 10COMMENT= C-Extensions for Python
11LICENSE= apache-1.1 11LICENSE= apache-1.1
12 12
13REPLACE_PYTHON+= Cython/Build/Cythonize.py 13REPLACE_PYTHON+= Cython/Build/Cythonize.py
14REPLACE_PYTHON+= Cython/Debugger/Cygdb.py 14REPLACE_PYTHON+= Cython/Debugger/Cygdb.py
15REPLACE_PYTHON+= Cython/Debugger/libpython.py 15REPLACE_PYTHON+= Cython/Debugger/libpython.py
16REPLACE_PYTHON+= cython.py 16REPLACE_PYTHON+= cython.py

cvs diff -r1.27 -r1.28 pkgsrc/devel/py-cython/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-cython/PLIST 2020/07/09 07:21:45 1.27
+++ pkgsrc/devel/py-cython/PLIST 2021/02/21 12:50:44 1.28
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.27 2020/07/09 07:21:45 adam Exp $ 1@comment $NetBSD: PLIST,v 1.28 2021/02/21 12:50:44 adam Exp $
2bin/cygdb-${PYVERSSUFFIX} 2bin/cygdb-${PYVERSSUFFIX}
3bin/cython-${PYVERSSUFFIX} 3bin/cython-${PYVERSSUFFIX}
4bin/cythonize-${PYVERSSUFFIX} 4bin/cythonize-${PYVERSSUFFIX}
5${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 5${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
6${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 6${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
7${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 7${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
8${PYSITELIB}/${EGG_INFODIR}/entry_points.txt 8${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
9${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 9${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
10${PYSITELIB}/${EGG_INFODIR}/top_level.txt 10${PYSITELIB}/${EGG_INFODIR}/top_level.txt
11${PYSITELIB}/Cython/Build/BuildExecutable.py 11${PYSITELIB}/Cython/Build/BuildExecutable.py
12${PYSITELIB}/Cython/Build/BuildExecutable.pyc 12${PYSITELIB}/Cython/Build/BuildExecutable.pyc
13${PYSITELIB}/Cython/Build/BuildExecutable.pyo 13${PYSITELIB}/Cython/Build/BuildExecutable.pyo
14${PYSITELIB}/Cython/Build/Cythonize.py 14${PYSITELIB}/Cython/Build/Cythonize.py
@@ -301,29 +301,32 @@ ${PYSITELIB}/Cython/Includes/Deprecated/ @@ -301,29 +301,32 @@ ${PYSITELIB}/Cython/Includes/Deprecated/
301${PYSITELIB}/Cython/Includes/Deprecated/python_type.pxd 301${PYSITELIB}/Cython/Includes/Deprecated/python_type.pxd
302${PYSITELIB}/Cython/Includes/Deprecated/python_unicode.pxd 302${PYSITELIB}/Cython/Includes/Deprecated/python_unicode.pxd
303${PYSITELIB}/Cython/Includes/Deprecated/python_version.pxd 303${PYSITELIB}/Cython/Includes/Deprecated/python_version.pxd
304${PYSITELIB}/Cython/Includes/Deprecated/python_weakref.pxd 304${PYSITELIB}/Cython/Includes/Deprecated/python_weakref.pxd
305${PYSITELIB}/Cython/Includes/Deprecated/stdio.pxd 305${PYSITELIB}/Cython/Includes/Deprecated/stdio.pxd
306${PYSITELIB}/Cython/Includes/Deprecated/stdlib.pxd 306${PYSITELIB}/Cython/Includes/Deprecated/stdlib.pxd
307${PYSITELIB}/Cython/Includes/Deprecated/stl.pxd 307${PYSITELIB}/Cython/Includes/Deprecated/stl.pxd
308${PYSITELIB}/Cython/Includes/cpython/__init__.pxd 308${PYSITELIB}/Cython/Includes/cpython/__init__.pxd
309${PYSITELIB}/Cython/Includes/cpython/array.pxd 309${PYSITELIB}/Cython/Includes/cpython/array.pxd
310${PYSITELIB}/Cython/Includes/cpython/bool.pxd 310${PYSITELIB}/Cython/Includes/cpython/bool.pxd
311${PYSITELIB}/Cython/Includes/cpython/buffer.pxd 311${PYSITELIB}/Cython/Includes/cpython/buffer.pxd
312${PYSITELIB}/Cython/Includes/cpython/bytearray.pxd 312${PYSITELIB}/Cython/Includes/cpython/bytearray.pxd
313${PYSITELIB}/Cython/Includes/cpython/bytes.pxd 313${PYSITELIB}/Cython/Includes/cpython/bytes.pxd
 314${PYSITELIB}/Cython/Includes/cpython/cellobject.pxd
314${PYSITELIB}/Cython/Includes/cpython/ceval.pxd 315${PYSITELIB}/Cython/Includes/cpython/ceval.pxd
315${PYSITELIB}/Cython/Includes/cpython/cobject.pxd 316${PYSITELIB}/Cython/Includes/cpython/cobject.pxd
 317${PYSITELIB}/Cython/Includes/cpython/codecs.pxd
316${PYSITELIB}/Cython/Includes/cpython/complex.pxd 318${PYSITELIB}/Cython/Includes/cpython/complex.pxd
 319${PYSITELIB}/Cython/Includes/cpython/conversion.pxd
317${PYSITELIB}/Cython/Includes/cpython/datetime.pxd 320${PYSITELIB}/Cython/Includes/cpython/datetime.pxd
318${PYSITELIB}/Cython/Includes/cpython/dict.pxd 321${PYSITELIB}/Cython/Includes/cpython/dict.pxd
319${PYSITELIB}/Cython/Includes/cpython/exc.pxd 322${PYSITELIB}/Cython/Includes/cpython/exc.pxd
320${PYSITELIB}/Cython/Includes/cpython/float.pxd 323${PYSITELIB}/Cython/Includes/cpython/float.pxd
321${PYSITELIB}/Cython/Includes/cpython/function.pxd 324${PYSITELIB}/Cython/Includes/cpython/function.pxd
322${PYSITELIB}/Cython/Includes/cpython/genobject.pxd 325${PYSITELIB}/Cython/Includes/cpython/genobject.pxd
323${PYSITELIB}/Cython/Includes/cpython/getargs.pxd 326${PYSITELIB}/Cython/Includes/cpython/getargs.pxd
324${PYSITELIB}/Cython/Includes/cpython/instance.pxd 327${PYSITELIB}/Cython/Includes/cpython/instance.pxd
325${PYSITELIB}/Cython/Includes/cpython/int.pxd 328${PYSITELIB}/Cython/Includes/cpython/int.pxd
326${PYSITELIB}/Cython/Includes/cpython/iterator.pxd 329${PYSITELIB}/Cython/Includes/cpython/iterator.pxd
327${PYSITELIB}/Cython/Includes/cpython/iterobject.pxd 330${PYSITELIB}/Cython/Includes/cpython/iterobject.pxd
328${PYSITELIB}/Cython/Includes/cpython/list.pxd 331${PYSITELIB}/Cython/Includes/cpython/list.pxd
329${PYSITELIB}/Cython/Includes/cpython/long.pxd 332${PYSITELIB}/Cython/Includes/cpython/long.pxd

cvs diff -r1.61 -r1.62 pkgsrc/devel/py-cython/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-cython/distinfo 2020/07/09 07:21:45 1.61
+++ pkgsrc/devel/py-cython/distinfo 2021/02/21 12:50:44 1.62
@@ -1,9 +1,9 @@ @@ -1,9 +1,9 @@
1$NetBSD: distinfo,v 1.61 2020/07/09 07:21:45 adam Exp $ 1$NetBSD: distinfo,v 1.62 2021/02/21 12:50:44 adam Exp $
2 2
3SHA1 (Cython-0.29.21.tar.gz) = 3aafce4489a7bc7a48c843cdfb8dac4677fdac50 3SHA1 (Cython-0.29.22.tar.gz) = aaafd83a8c28e57bfcbf2f85dd67868fa43eff3a
4RMD160 (Cython-0.29.21.tar.gz) = 7cb8cb7d1fc4a8ec74ebbfc800bdc413b9c36771 4RMD160 (Cython-0.29.22.tar.gz) = 75e4160da42d6e3d0008aa26d8d1009e823eb2c8
5SHA512 (Cython-0.29.21.tar.gz) = 6216e63996e83b887cdcee6cd912d42e7da853640336b9190f5115d687848a902ee5a8edd6bfaef645c066b89e17dcd80ca1387688eb80a527ec23a0a4636e8f 5SHA512 (Cython-0.29.22.tar.gz) = 721812b7009049717d907f3b22cc63a28b882a843d3af613ddd5a47a6588fb49ffd4188856ed4a2612f8abe07d35ba29b2143b8ff6d184a99c22328db09e9c27
6Size (Cython-0.29.21.tar.gz) = 2067355 bytes 6Size (Cython-0.29.22.tar.gz) = 2072112 bytes
7SHA1 (patch-Cython_Distutils_old__build__ext.py) = 2bc705192923cc2f40f7c173625b056caa08f666 7SHA1 (patch-Cython_Distutils_old__build__ext.py) = 2bc705192923cc2f40f7c173625b056caa08f666
8SHA1 (patch-ac) = d0e06dd9e4b5a34d0614ec17f51c129eb7724323 8SHA1 (patch-ac) = d0e06dd9e4b5a34d0614ec17f51c129eb7724323
9SHA1 (patch-runtests.py) = d08d3d8e17d6b75a3067f295d3d3eb63ffe97b48 9SHA1 (patch-runtests.py) = d08d3d8e17d6b75a3067f295d3d3eb63ffe97b48