diff options
author | wiz <wiz@pkgsrc.org> | 2015-02-17 14:00:01 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-02-17 14:00:01 +0000 |
commit | 12c432844c3318009c1774a2db8de516f7926829 (patch) | |
tree | 5f69f371ced2b57c18df0e4b7b01a3c91246f791 | |
parent | 9b5c8ea1dfaf1445db59186b67b766611678eae4 (diff) | |
download | pkgsrc-12c432844c3318009c1774a2db8de516f7926829.tar.gz |
Update to 0.22:
0.22 (2015-02-11)
=================
Features added
--------------
* C functions can coerce to Python functions, which allows passing them
around as callable objects.
* C arrays can be assigned by value and auto-coerce from Python iterables
and to Python lists (and tuples).
* Extern C functions can now be declared as cpdef to export them to
the module's Python namespace. Extern C functions in pxd files export
their values to their own module, iff it exists.
* Anonymous C tuple types can be declared as (ctype1, ctype2, ...).
* PEP 479: turn accidental StopIteration exceptions that exit generators
into a RuntimeError, activated with future import "generator_stop".
See http://legacy.python.org/dev/peps/pep-0479/
* Looping over ``reversed(range())`` is optimised in the same way as
``range()``. Patch by Favian Contreras.
Bugs fixed
----------
* Mismatching 'except' declarations on signatures in .pxd and .pyx files failed
to produce a compile error.
* Failure to find any files for the path pattern(s) passed into ``cythonize()``
is now an error to more easily detect accidental typos.
* The ``logaddexp`` family of functions in ``numpy.math`` now has correct
declarations.
* In Py2.6/7 and Py3.2, simple Cython memory views could accidentally be
interpreted as non-contiguous by CPython, which could trigger a CPython
bug when copying data from them, thus leading to data corruption.
See CPython issues 12834 and 23349.
Other changes
-------------
* Preliminary support for defining the Cython language with a formal grammar.
To try parsing your files against this grammar, use the --formal_grammar directive.
Experimental.
* ``_`` is no longer considered a cacheable builtin as it could interfere with
gettext.
* Cythonize-computed metadata now cached in the generated C files.
* Several corrections and extensions in numpy, cpython, and libcpp pxd files.
-rw-r--r-- | devel/py-cython/Makefile | 4 | ||||
-rw-r--r-- | devel/py-cython/PLIST | 4 | ||||
-rw-r--r-- | devel/py-cython/distinfo | 8 |
3 files changed, 9 insertions, 7 deletions
diff --git a/devel/py-cython/Makefile b/devel/py-cython/Makefile index 8154b88b44a..36b91ddb44c 100644 --- a/devel/py-cython/Makefile +++ b/devel/py-cython/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.25 2014/12/30 14:23:48 wiz Exp $ +# $NetBSD: Makefile,v 1.26 2015/02/17 14:00:01 wiz Exp $ -DISTNAME= Cython-0.21.2 +DISTNAME= Cython-0.22 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Cy/cy/} CATEGORIES= lang python MASTER_SITES= http://cython.org/release/ diff --git a/devel/py-cython/PLIST b/devel/py-cython/PLIST index 3216a6820bf..30958a38209 100644 --- a/devel/py-cython/PLIST +++ b/devel/py-cython/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.15 2014/10/23 10:09:49 wiz Exp $ +@comment $NetBSD: PLIST,v 1.16 2015/02/17 14:00:01 wiz Exp $ bin/cygdb${PYVERSSUFFIX} bin/cython${PYVERSSUFFIX} bin/cythonize${PYVERSSUFFIX} @@ -357,6 +357,7 @@ ${PYSITELIB}/Cython/Includes/posix/resource.pxd ${PYSITELIB}/Cython/Includes/posix/signal.pxd ${PYSITELIB}/Cython/Includes/posix/stat.pxd ${PYSITELIB}/Cython/Includes/posix/stdlib.pxd +${PYSITELIB}/Cython/Includes/posix/strings.pxd ${PYSITELIB}/Cython/Includes/posix/time.pxd ${PYSITELIB}/Cython/Includes/posix/types.pxd ${PYSITELIB}/Cython/Includes/posix/unistd.pxd @@ -442,6 +443,7 @@ ${PYSITELIB}/Cython/Tests/xmlrunner.pyc ${PYSITELIB}/Cython/Tests/xmlrunner.pyo ${PYSITELIB}/Cython/Utility/Buffer.c ${PYSITELIB}/Cython/Utility/Builtins.c +${PYSITELIB}/Cython/Utility/CConvert.pyx ${PYSITELIB}/Cython/Utility/Capsule.c ${PYSITELIB}/Cython/Utility/CommonTypes.c ${PYSITELIB}/Cython/Utility/CppConvert.pyx diff --git a/devel/py-cython/distinfo b/devel/py-cython/distinfo index f804ecee451..574daf91ced 100644 --- a/devel/py-cython/distinfo +++ b/devel/py-cython/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.17 2014/12/30 14:23:48 wiz Exp $ +$NetBSD: distinfo,v 1.18 2015/02/17 14:00:01 wiz Exp $ -SHA1 (Cython-0.21.2.tar.gz) = c3fe3dd5693aa09719ee4a3bcec898068c82592d -RMD160 (Cython-0.21.2.tar.gz) = 7fd6312786729390f3b0bb92618a1fba320aee81 -Size (Cython-0.21.2.tar.gz) = 1549443 bytes +SHA1 (Cython-0.22.tar.gz) = a80bd1462ca5e99934908f030549d204951f8da6 +RMD160 (Cython-0.22.tar.gz) = 05a2841d356a256d2ec76ea197eec57b2c6bcc32 +Size (Cython-0.22.tar.gz) = 1584483 bytes SHA1 (patch-ac) = d0e06dd9e4b5a34d0614ec17f51c129eb7724323 SHA1 (patch-runtests.py) = 788ff593da9ce447af368957f1a8be562e2d40da |