py-cython: updated to 0.29.18 0.29.18 Bugs fixed * Exception position reporting could run into race conditions on threaded code. It now uses function-local variables again. * Error handling early in the module init code could lead to a crash. * Error handling in ``cython.array`` creation was improved to avoid calling C-API functions with an error held. * A memory corruption was fixed when garbage collection was triggered during calls to ``PyType_Ready()`` of extension type subclasses. * Memory view slicing generated unused error handling code which could negatively impact the C compiler optimisations for parallel OpenMP code etc. Also, it is now helped by static branch hints. * Cython's built-in OpenMP functions were not translated inside of call arguments. * Complex buffer item types of structs of arrays could fail to validate. * Decorators were not allowed on nested `async def` functions. * C-tuples could use invalid C struct casting. * Optimised ``%d`` string formatting into f-strings failed on float values. * Optimised aligned string formatting (``%05s``, ``%-5s``) failed. * When importing the old Cython ``build_ext`` integration with distutils, the additional command line arguments leaked into the regular command. * When using the ``CYTHON_NO_PYINIT_EXPORT`` option in C++, the module init function was not declared as ``extern "C"``. * Three missing timedelta access macros were added in ``cpython.datetime``.diff -r1.65 -r1.66 pkgsrc/devel/py-cython/Makefile
(adam)
@@ -1,33 +1,33 @@ | @@ -1,33 +1,33 @@ | |||
1 | # $NetBSD: Makefile,v 1.65 2020/04/27 07:22:17 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.66 2020/05/19 09:21:43 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= Cython-0.29.17 | 3 | DISTNAME= Cython-0.29.18 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} | |
5 | CATEGORIES= lang python | 5 | CATEGORIES= devel python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=C/Cython/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=C/Cython/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://cython.org/ | 9 | HOMEPAGE= https://cython.org/ | |
10 | COMMENT= C-Extensions for Python | 10 | COMMENT= C-Extensions for Python | |
11 | LICENSE= apache-1.1 | 11 | LICENSE= apache-1.1 | |
12 | 12 | |||
13 | REPLACE_PYTHON+= Cython/Build/Cythonize.py | 13 | REPLACE_PYTHON+= Cython/Build/Cythonize.py | |
14 | REPLACE_PYTHON+= Cython/Debugger/Cygdb.py | 14 | REPLACE_PYTHON+= Cython/Debugger/Cygdb.py | |
15 | REPLACE_PYTHON+= Cython/Debugger/libpython.py | 15 | REPLACE_PYTHON+= Cython/Debugger/libpython.py | |
16 | REPLACE_PYTHON+= cython.py | 16 | REPLACE_PYTHON+= cython.py | |
17 | 17 | |||
18 | # for test only | 18 | # for test only | |
19 | #USE_LANGUAGES= c c++ | 19 | #USE_LANGUAGES= c c++ | |
20 | do-test: | 20 | do-test: | |
21 | cd ${WRKSRC} && ${PYTHONBIN} runtests.py | 21 | cd ${WRKSRC} && ${PYTHONBIN} runtests.py | |
22 | 22 | |||
23 | post-install: | 23 | post-install: | |
24 | cd ${DESTDIR}${PREFIX}/bin && \ | 24 | cd ${DESTDIR}${PREFIX}/bin && \ | |
25 | ${MV} cython cython-${PYVERSSUFFIX} && \ | 25 | ${MV} cython cython-${PYVERSSUFFIX} && \ | |
26 | ${MV} cythonize cythonize-${PYVERSSUFFIX} && \ | 26 | ${MV} cythonize cythonize-${PYVERSSUFFIX} && \ | |
27 | ${MV} cygdb cygdb-${PYVERSSUFFIX} || ${TRUE} | 27 | ${MV} cygdb cygdb-${PYVERSSUFFIX} || ${TRUE} | |
28 | 28 | |||
29 | .include "../../lang/python/application.mk" | 29 | .include "../../lang/python/application.mk" | |
30 | .include "../../lang/python/egg.mk" | 30 | .include "../../lang/python/egg.mk" | |
31 | # for test only | 31 | # for test only | |
32 | #.include "../../math/py-numpy/buildlink3.mk" | 32 | #.include "../../math/py-numpy/buildlink3.mk" | |
33 | .include "../../mk/bsd.pkg.mk" | 33 | .include "../../mk/bsd.pkg.mk" |
@@ -1,9 +1,9 @@ | @@ -1,9 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.57 2020/04/27 07:22:17 adam Exp $ | 1 | $NetBSD: distinfo,v 1.58 2020/05/19 09:21:43 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (Cython-0.29.17.tar.gz) = 02278e5a972ffc4856451f507903db68d08cfd6e | 3 | SHA1 (Cython-0.29.18.tar.gz) = 7d7dff4967ff66c048ee3625f1f732e55c5510df | |
4 | RMD160 (Cython-0.29.17.tar.gz) = 130804bc375318396f2bd47073bd1d514acbdcdb | 4 | RMD160 (Cython-0.29.18.tar.gz) = f41a848fd26d204bb08fbb53a84ef737368aa062 | |
5 | SHA512 (Cython-0.29.17.tar.gz) = f40a70754883e8e63304f0c5f1012b7cffd1581bce436ad1485a0b42b242b4456081df3b0904b14c70645a3db45242191e9c3d7ff587ca5e091bc3d4e21ea703 | 5 | SHA512 (Cython-0.29.18.tar.gz) = d7baf17ece2e15179ddf5636d9035619f1e1225a24c71b984732f4250d107507519f4c29aec02f6b572b0f41fe1fc41086656735ffb8688a2f42ef1be639bf9d | |
6 | Size (Cython-0.29.17.tar.gz) = 2060265 bytes | 6 | Size (Cython-0.29.18.tar.gz) = 2062434 bytes | |
7 | SHA1 (patch-Cython_Distutils_old__build__ext.py) = 2bc705192923cc2f40f7c173625b056caa08f666 | 7 | SHA1 (patch-Cython_Distutils_old__build__ext.py) = 2bc705192923cc2f40f7c173625b056caa08f666 | |
8 | SHA1 (patch-ac) = d0e06dd9e4b5a34d0614ec17f51c129eb7724323 | 8 | SHA1 (patch-ac) = d0e06dd9e4b5a34d0614ec17f51c129eb7724323 | |
9 | SHA1 (patch-runtests.py) = d08d3d8e17d6b75a3067f295d3d3eb63ffe97b48 | 9 | SHA1 (patch-runtests.py) = d08d3d8e17d6b75a3067f295d3d3eb63ffe97b48 |