pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-cython



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jul 20 08:37:09 UTC 2017

Modified Files:
        pkgsrc/devel/py-cython: Makefile PLIST distinfo

Log Message:
0.26:

Features added

* Pythran can be used as a backend for evaluating NumPy array expressions.

* cdef classes now support pickling by default when possible.
  This can be disabled with the ``auto_pickle`` directive.

* Speed up comparisons of strings if their hash value is available.

* Support pyximport from zip files.

* IPython magic now respects the ``__all__`` variable and ignores
  names with leading-underscore (like ``import *`` does).

* ``abs()`` is optimised for C complex numbers.

* The display of C lines in Cython tracebacks can now be enabled at runtime
  via ``import cython_runtime; cython_runtime.cline_in_traceback=True``.
  The default has been changed to False.

* The overhead of calling fused types generic functions was reduced.

* "cdef extern" include files are now also searched relative to the current file.

* Optional optimization for re-aquiring the GIL, controlled by the
  `fast_gil` directive.

Bugs fixed
----------

* Item lookup/assignment with a unicode character as index that is typed
  (explicitly or implicitly) as ``Py_UCS4`` or ``Py_UNICODE`` used the
  integer value instead of the Unicode string value. Code that relied on
  the previous behaviour now triggers a warning that can be disabled by
  applying an explicit cast. (Github issue 1602)

* f-string processing was adapted to changes in PEP 498 and CPython 3.6.

* Invalid C code when decoding from UTF-16(LE/BE) byte strings.

* Unicode escapes in 'ur' raw-unicode strings were not resolved in Py2 code.

* File paths of code objects are now relative.

* Decorators of cdef class methods could be executed twice.

* Several warnings in the generated coder are now suppressed.

Other changes
-------------

* The ``unraisable_tracebacks`` option now defaults to ``True``.

* Coercion of C++ containers to Python is no longer automatic on attribute
  access (Github issue 1521).

* Access to Python attributes of cimported modules without the corresponding
  import is now a compile-time (rather than runtime) error.

* Do not use special dll linkage for "cdef public" functions.

* cdef/cpdef methods must match their declarations.  See Github Issue 1732.
  This is now a warning and will be an error in future releases.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/devel/py-cython/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/py-cython/PLIST
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/py-cython/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-cython/Makefile
diff -u pkgsrc/devel/py-cython/Makefile:1.35 pkgsrc/devel/py-cython/Makefile:1.36
--- pkgsrc/devel/py-cython/Makefile:1.35        Wed Jan 25 16:09:06 2017
+++ pkgsrc/devel/py-cython/Makefile     Thu Jul 20 08:37:09 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.35 2017/01/25 16:09:06 adam Exp $
+# $NetBSD: Makefile,v 1.36 2017/07/20 08:37:09 adam Exp $
 
-DISTNAME=      Cython-0.25.2
+DISTNAME=      Cython-0.26
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    lang python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cython/}
@@ -22,13 +22,13 @@ REPLACE_PYTHON+=    cython.py
 # for test only
 #USE_LANGUAGES+= c++
 do-test:
-       (cd ${WRKSRC} && ${PYTHONBIN} runtests.py)
+       cd ${WRKSRC} && ${PYTHONBIN} runtests.py
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
                ${MV} cython cython${PYVERSSUFFIX} && \
                ${MV} cythonize cythonize${PYVERSSUFFIX} && \
-               ${MV} cygdb cygdb${PYVERSSUFFIX}
+               ${MV} cygdb cygdb${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"

Index: pkgsrc/devel/py-cython/PLIST
diff -u pkgsrc/devel/py-cython/PLIST:1.19 pkgsrc/devel/py-cython/PLIST:1.20
--- pkgsrc/devel/py-cython/PLIST:1.19   Wed Jan 25 16:09:06 2017
+++ pkgsrc/devel/py-cython/PLIST        Thu Jul 20 08:37:09 2017
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.19 2017/01/25 16:09:06 adam Exp $
+@comment $NetBSD: PLIST,v 1.20 2017/07/20 08:37:09 adam Exp $
 bin/cygdb${PYVERSSUFFIX}
 bin/cython${PYVERSSUFFIX}
 bin/cythonize${PYVERSSUFFIX}
@@ -136,6 +136,9 @@ ${PYSITELIB}/Cython/Compiler/Pipeline.py
 ${PYSITELIB}/Cython/Compiler/PyrexTypes.py
 ${PYSITELIB}/Cython/Compiler/PyrexTypes.pyc
 ${PYSITELIB}/Cython/Compiler/PyrexTypes.pyo
+${PYSITELIB}/Cython/Compiler/Pythran.py
+${PYSITELIB}/Cython/Compiler/Pythran.pyc
+${PYSITELIB}/Cython/Compiler/Pythran.pyo
 ${PYSITELIB}/Cython/Compiler/Scanning.pxd
 ${PYSITELIB}/Cython/Compiler/Scanning.py
 ${PYSITELIB}/Cython/Compiler/Scanning.pyc
@@ -354,6 +357,7 @@ ${PYSITELIB}/Cython/Includes/libcpp/algo
 ${PYSITELIB}/Cython/Includes/libcpp/cast.pxd
 ${PYSITELIB}/Cython/Includes/libcpp/complex.pxd
 ${PYSITELIB}/Cython/Includes/libcpp/deque.pxd
+${PYSITELIB}/Cython/Includes/libcpp/functional.pxd
 ${PYSITELIB}/Cython/Includes/libcpp/iterator.pxd
 ${PYSITELIB}/Cython/Includes/libcpp/limits.pxd
 ${PYSITELIB}/Cython/Includes/libcpp/list.pxd
@@ -473,7 +477,7 @@ ${PYSITELIB}/Cython/Utility/Builtins.c
 ${PYSITELIB}/Cython/Utility/CConvert.pyx
 ${PYSITELIB}/Cython/Utility/CMath.c
 ${PYSITELIB}/Cython/Utility/Capsule.c
-${PYSITELIB}/Cython/Utility/CommonTypes.c
+${PYSITELIB}/Cython/Utility/CommonStructures.c
 ${PYSITELIB}/Cython/Utility/Complex.c
 ${PYSITELIB}/Cython/Utility/Coroutine.c
 ${PYSITELIB}/Cython/Utility/CpdefEnums.pyx

Index: pkgsrc/devel/py-cython/distinfo
diff -u pkgsrc/devel/py-cython/distinfo:1.27 pkgsrc/devel/py-cython/distinfo:1.28
--- pkgsrc/devel/py-cython/distinfo:1.27        Wed Jan 25 16:09:06 2017
+++ pkgsrc/devel/py-cython/distinfo     Thu Jul 20 08:37:09 2017
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.27 2017/01/25 16:09:06 adam Exp $
+$NetBSD: distinfo,v 1.28 2017/07/20 08:37:09 adam Exp $
 
-SHA1 (Cython-0.25.2.tar.gz) = e73f5afe89792df3467cc7bccd29fc01467fc28b
-RMD160 (Cython-0.25.2.tar.gz) = c66145ced4fc6c66b151b26915ce29220b3ac3d5
-SHA512 (Cython-0.25.2.tar.gz) = 1974b9374aeedb030307dc95aa6560ce9d5e1652783cd4552e96ef11663c73dd263e3521b68e7712abbb31628011e2e66320c5ee2577968684e2679eb80726e1
-Size (Cython-0.25.2.tar.gz) = 1703315 bytes
+SHA1 (Cython-0.26.tar.gz) = 61e15492c1057d5b6c76d8090e8ebaa47ce25d2b
+RMD160 (Cython-0.26.tar.gz) = 68953645c0ca07a4ed8114d3babceeba499c99d9
+SHA512 (Cython-0.26.tar.gz) = 58b7dbdca3b1bdfcb8b968cb1b59826b793656bb7f1203a80b59b3fae2d3174cc99f19f88fc2ec175aa98c9daeca0eb3c52674a7889ba1e914fd20d19ef92aed
+Size (Cython-0.26.tar.gz) = 1692039 bytes
 SHA1 (patch-ac) = d0e06dd9e4b5a34d0614ec17f51c129eb7724323
 SHA1 (patch-runtests.py) = 788ff593da9ce447af368957f1a8be562e2d40da



Home | Main Index | Thread Index | Old Index