pkgsrc-Bugs archive

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

pkg/51914: Update devel/py-cython to 0.25.2



>Number:         51914
>Category:       pkg
>Synopsis:       Update devel/py-cython to 0.25.2 
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 24 12:55:00 +0000 2017
>Originator:     Makoto Fujiwara
>Release:        NetBSD 7.0
>Organization:
ki.nu
	
>Environment:
	
	
System: NetBSD CF-S9 7.0 NetBSD 7.0 (GENERIC) #0: Mon Jan 23 22:43:09 JST 2017 root@h97:/export/O-7-R/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
(packaging confirmed with python 27 34 35)

Updated devel/py-cython to 0.25.2
---------------------------------
0.25.2 (2016-12-08)
Bugs fixed
----------

* Fixes several issues with C++ template deduction.

* Fixes a issue with bound method type inference (Github issue #551).

* Fixes a bug with cascaded tuple assignment (Github issue #1523).

* Fixed or silenced many Clang warnings.

* Fixes bug with powers of pure real complex numbers (Github issue #1538).


0.25.1 (2016-10-26)
===================
Bugs fixed
----------

* Fixes a bug with ``isinstance(o, Exception)`` (Github issue #1496).

* Fixes bug with ``cython.view.array`` missing utility code in some cases
  (Github issue #1502).

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

* The distutils extension ``Cython.Distutils.build_ext`` has been reverted,
  temporarily, to be ``old_build_ext`` to give projects time to migrate.
  The new build_ext is available as ``new_build_ext``.


0.25 (2016-10-25)
=================
Features added
--------------

* def/cpdef methods of cdef classes benefit from Cython's internal function
  implementation, which enables introspection and line profiling for them.
  Implementation sponsored by Turbostream (www.turbostream-cfd.com).

* Calls to Python functions are faster, following the recent "FastCall"
  optimisations that Victor Stinner implemented for CPython 3.6.
  See https://bugs.python.org/issue27128 and related issues.

* The new METH_FASTCALL calling convention for PyCFunctions is supported
  in CPython 3.6.  See https://bugs.python.org/issue27810

* Initial support for using Cython modules in Pyston.  Patch by Daetalus.

* Dynamic Python attributes are allowed on cdef classes if an attribute
  ``cdef dict __dict__`` is declared in the class.  Patch by empyrical.

* Cython implemented C++ classes can make direct calls to base class methods.
  Patch by empyrical.

* C++ classes can now have typedef members. STL containers updated with
  value_type.

* New directive ``cython.no_gc`` to fully disable GC for a cdef class.
  Patch by Claudio Freire.

* Buffer variables are no longer excluded from ``locals()``.
  Patch by da-woods.

* Building f-strings is faster, especially when formatting C integers.

* for-loop iteration over "std::string".

* ``libc/math.pxd`` provides ``e`` and ``pi`` as alias constants to simplify
  usage as a drop-in replacement for Python's math module.

* Speed up cython.inline().

* Binary lshift operations with small constant Python integers are faster.

* Some integer operations on Python long objects are faster in Python 2.7.

* Support for the C++ ``typeid`` operator.

* Support for bazel using a the pyx_library rule in //Tools:rules.bzl.

Significant Bugs fixed
----------------------
* Division of complex numbers avoids overflow by using Smith's method.

* Some function signatures in ``libc.math`` and ``numpy.pxd`` were incorrect.
  Patch by Michael Seifert.

Other changes
-------------
* The "%%cython" IPython/jupyter magic now defaults to the language level of
  the current jupyter kernel.  The language level can be set explicitly with
  "%%cython -2" or "%%cython -3".

* The distutils extension ``Cython.Distutils.build_ext`` has now been updated
  to use cythonize which properly handles dependencies.  The old extension can
  still be found in ``Cython.Distutils.old_build_ext`` and is now deprecated.

* ``directive_defaults`` is no longer available in ``Cython.Compiler.Options``,
  use ``get_directive_defaults()`` instead.

0.24.1 (2016-07-15)
===================
Bugs fixed
----------

* IPython cell magic was lacking a good way to enable Python 3 code semantics.
  It can now be used as "%%cython -3".

* Follow a recent change in `PEP 492 <https://www.python.org/dev/peps/pep-0498/>`_
  and CPython 3.5.2 that now requires the ``__aiter__()`` method of asynchronous
  iterators to be a simple ``def`` method instead of an ``async def`` method.

* Coroutines and generators were lacking the ``__module__`` special attribute.

* C++ ``std::complex`` values failed to auto-convert from and to Python complex
  objects.

* Namespaced C++ types could not be used as memory view types due to lack of
  name mangling.  Patch by Ivan Smirnov.

* Assignments between identical C++ types that were declared with differently
  typedefed template types could fail.

* Rebuilds could fail to evaluate dependency timestamps in C++ mode.
  Patch by Ian Henriksen.

* Macros defined in the ``distutils`` compiler option do not require values
  anymore.  Patch by Ian Henriksen.

* Minor fixes for MSVC, Cygwin and PyPy.
>How-To-Repeat:
	cd /usr/pkgsrc; patch -s -p0 < attached-fix
	make package 
>Fix:

Index: devel/py-cython/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/py-cython/Makefile,v
retrieving revision 1.34
diff -u -r1.34 Makefile
--- devel/py-cython/Makefile	28 Aug 2016 15:48:29 -0000	1.34
+++ devel/py-cython/Makefile	24 Jan 2017 12:39:33 -0000
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.34 2016/08/28 15:48:29 wiz Exp $
 
-DISTNAME=	Cython-0.24
+DISTNAME=	Cython-0.25.2
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/Cy/cy/}
 CATEGORIES=	lang python
 MASTER_SITES=	${MASTER_SITE_PYPI:=c/cython/}
Index: devel/py-cython/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/devel/py-cython/PLIST,v
retrieving revision 1.18
diff -u -r1.18 PLIST
--- devel/py-cython/PLIST	13 Apr 2016 18:13:49 -0000	1.18
+++ devel/py-cython/PLIST	24 Jan 2017 12:39:33 -0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2016/04/13 18:13:49 wiz Exp $
+@comment $NetBSD$
 bin/cygdb${PYVERSSUFFIX}
 bin/cython${PYVERSSUFFIX}
 bin/cythonize${PYVERSSUFFIX}
@@ -17,6 +17,9 @@
 ${PYSITELIB}/Cython/Build/Dependencies.py
 ${PYSITELIB}/Cython/Build/Dependencies.pyc
 ${PYSITELIB}/Cython/Build/Dependencies.pyo
+${PYSITELIB}/Cython/Build/Distutils.py
+${PYSITELIB}/Cython/Build/Distutils.pyc
+${PYSITELIB}/Cython/Build/Distutils.pyo
 ${PYSITELIB}/Cython/Build/Inline.py
 ${PYSITELIB}/Cython/Build/Inline.pyc
 ${PYSITELIB}/Cython/Build/Inline.pyo
@@ -253,6 +256,9 @@
 ${PYSITELIB}/Cython/Distutils/extension.py
 ${PYSITELIB}/Cython/Distutils/extension.pyc
 ${PYSITELIB}/Cython/Distutils/extension.pyo
+${PYSITELIB}/Cython/Distutils/old_build_ext.py
+${PYSITELIB}/Cython/Distutils/old_build_ext.pyc
+${PYSITELIB}/Cython/Distutils/old_build_ext.pyo
 ${PYSITELIB}/Cython/Includes/Deprecated/python.pxd
 ${PYSITELIB}/Cython/Includes/Deprecated/python2.5.pxd
 ${PYSITELIB}/Cython/Includes/Deprecated/python_bool.pxd
@@ -308,6 +314,7 @@
 ${PYSITELIB}/Cython/Includes/cpython/iterator.pxd
 ${PYSITELIB}/Cython/Includes/cpython/list.pxd
 ${PYSITELIB}/Cython/Includes/cpython/long.pxd
+${PYSITELIB}/Cython/Includes/cpython/longintrepr.pxd
 ${PYSITELIB}/Cython/Includes/cpython/mapping.pxd
 ${PYSITELIB}/Cython/Includes/cpython/mem.pxd
 ${PYSITELIB}/Cython/Includes/cpython/method.pxd
@@ -357,6 +364,8 @@
 ${PYSITELIB}/Cython/Includes/libcpp/set.pxd
 ${PYSITELIB}/Cython/Includes/libcpp/stack.pxd
 ${PYSITELIB}/Cython/Includes/libcpp/string.pxd
+${PYSITELIB}/Cython/Includes/libcpp/typeindex.pxd
+${PYSITELIB}/Cython/Includes/libcpp/typeinfo.pxd
 ${PYSITELIB}/Cython/Includes/libcpp/unordered_map.pxd
 ${PYSITELIB}/Cython/Includes/libcpp/unordered_set.pxd
 ${PYSITELIB}/Cython/Includes/libcpp/utility.pxd
@@ -465,6 +474,7 @@
 ${PYSITELIB}/Cython/Utility/CMath.c
 ${PYSITELIB}/Cython/Utility/Capsule.c
 ${PYSITELIB}/Cython/Utility/CommonTypes.c
+${PYSITELIB}/Cython/Utility/Complex.c
 ${PYSITELIB}/Cython/Utility/Coroutine.c
 ${PYSITELIB}/Cython/Utility/CpdefEnums.pyx
 ${PYSITELIB}/Cython/Utility/CppConvert.pyx
Index: devel/py-cython/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/py-cython/distinfo,v
retrieving revision 1.26
diff -u -r1.26 distinfo
--- devel/py-cython/distinfo	13 Apr 2016 18:13:49 -0000	1.26
+++ devel/py-cython/distinfo	24 Jan 2017 12:39:33 -0000
@@ -1,8 +1,8 @@
 $NetBSD: distinfo,v 1.26 2016/04/13 18:13:49 wiz Exp $
 
-SHA1 (Cython-0.24.tar.gz) = 32f12b8dd976111668ef8ba7e716a850869a0bf6
-RMD160 (Cython-0.24.tar.gz) = 897098b87df320dec734d1832ac967064b0ce782
-SHA512 (Cython-0.24.tar.gz) = 9ac22934a4f344b02246538d8317cbecc66236e9c84d782f8121ef2e2c100de2a21cbfb55de3defcab294c71847467870e56fdb5bc38c0db0de7acd560d16e96
-Size (Cython-0.24.tar.gz) = 1671837 bytes
+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 (patch-ac) = d0e06dd9e4b5a34d0614ec17f51c129eb7724323
 SHA1 (patch-runtests.py) = 788ff593da9ce447af368957f1a8be562e2d40da

>Unformatted:
 Update devel/py-cython to 0.25.2 
 	
 	


Home | Main Index | Thread Index | Old Index