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 Mar 15 09:30:18 UTC 2018

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

Log Message:
py-cython: updated to 0.28

0.28:
Cdef classes can now multiply inherit from ordinary Python classes.
Type inference is now supported for Pythran compiled NumPy expressions.
The const modifier can be applied to memoryview declarations to allow read-only buffers as input.
C code in the docstring of a cdef extern block is copied verbatimly into the generated file. Patch by Jeroen Demeyer.
When compiling with gcc, the module init function is now tuned for small code size instead of whatever compile flags were provided externally. Cython now also disables some code intensive 
optimisations in that function to further reduce the code size.
Decorating an async coroutine with @cython.iterable_coroutine changes its type at compile time to make it iterable. While this is not strictly in line with PEP-492, it improves the interoperability 
with old-style coroutines that use yield from instead of await.
The IPython magic has preliminary support for JupyterLab.
The new TSS C-API in CPython 3.7 is supported and has been backported. Patch by Naotoshi Seo.
Cython knows the new Py_tss_t type defined in PEP-539 and automatically initialises variables declared with that type to Py_tss_NEEDS_INIT, a value which cannot be used outside of static assignments.
The set methods .remove() and .discard() are optimised. Patch by Antoine Pitrou.
dict.pop() is optimised. Original patch by Antoine Pitrou.
Iteration over sets and frozensets is optimised.
Safe integer loops (< range(2^30)) are automatically optimised into C loops.
alist.extend([a,b,c]) is optimised into sequential list.append() calls for short literal sequences.
Calls to builtin methods that are not specifically optimised into C-API calls now use a cache that avoids repeated lookups of the underlying C function.
Single argument function calls can avoid the argument tuple creation in some cases.
Some redundant extension type checks are avoided.
Formatting C enum values in f-strings is faster, as well as some other special cases.
String formatting with the ‘%’ operator is optimised into f-strings in simple cases.
Subscripting (item access) is faster in some cases.
Some bytearray operations have been optimised similar to bytes.
Some PEP-484/526 container type declarations are now considered for loop optimisations.
Indexing into memoryview slices with view[i][j] is now optimised into view[i, j].
Python compatible cython.* types can now be mixed with type declarations in Cython syntax.
Name lookups in the module and in classes are faster.
Python attribute lookups on extension types without instance dict are faster.
Some missing signals were added to libc/signal.pxd. Patch by Jeroen Demeyer.
The warning about repeated extern declarations is now visible by default.
The exception handling of the function types used by CPython’s type slot functions was corrected to match the de-facto standard behaviour, so that code that uses them directly benefits from automatic 
and correct exception propagation. Patch by Jeroen Demeyer.
Defining the macro CYTHON_NO_PYINIT_EXPORT will prevent the module init function from being exported as symbol, e.g. when linking modules statically in an embedding setup. Patch by AraHaan.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/devel/py-cython/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/py-cython/PLIST
cvs rdiff -u -r1.33 -r1.34 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.41 pkgsrc/devel/py-cython/Makefile:1.42
--- pkgsrc/devel/py-cython/Makefile:1.41        Mon Nov  6 10:12:29 2017
+++ pkgsrc/devel/py-cython/Makefile     Thu Mar 15 09:30:18 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.41 2017/11/06 10:12:29 adam Exp $
+# $NetBSD: Makefile,v 1.42 2018/03/15 09:30:18 adam Exp $
 
-DISTNAME=      Cython-0.27.3
+DISTNAME=      Cython-0.28
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    lang python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cython/}
@@ -10,8 +10,6 @@ HOMEPAGE=     http://cython.org/
 COMMENT=       C-Extensions for Python
 LICENSE=       apache-1.1
 
-USE_LANGUAGES= c
-
 PLIST_VARS=    cygdb
 
 REPLACE_PYTHON+=       Cython/Build/Cythonize.py

Index: pkgsrc/devel/py-cython/PLIST
diff -u pkgsrc/devel/py-cython/PLIST:1.22 pkgsrc/devel/py-cython/PLIST:1.23
--- pkgsrc/devel/py-cython/PLIST:1.22   Sat Sep 30 09:53:23 2017
+++ pkgsrc/devel/py-cython/PLIST        Thu Mar 15 09:30:18 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.22 2017/09/30 09:53:23 adam Exp $
+@comment $NetBSD: PLIST,v 1.23 2018/03/15 09:30:18 adam Exp $
 bin/cygdb${PYVERSSUFFIX}
 bin/cython${PYVERSSUFFIX}
 bin/cythonize${PYVERSSUFFIX}
@@ -90,6 +90,7 @@ ${PYSITELIB}/Cython/Compiler/FlowControl
 ${PYSITELIB}/Cython/Compiler/FusedNode.py
 ${PYSITELIB}/Cython/Compiler/FusedNode.pyc
 ${PYSITELIB}/Cython/Compiler/FusedNode.pyo
+${PYSITELIB}/Cython/Compiler/FusedNode.so
 ${PYSITELIB}/Cython/Compiler/Future.py
 ${PYSITELIB}/Cython/Compiler/Future.pyc
 ${PYSITELIB}/Cython/Compiler/Future.pyo
@@ -445,6 +446,7 @@ ${PYSITELIB}/Cython/Shadow.pyo
 ${PYSITELIB}/Cython/StringIOTree.py
 ${PYSITELIB}/Cython/StringIOTree.pyc
 ${PYSITELIB}/Cython/StringIOTree.pyo
+${PYSITELIB}/Cython/StringIOTree.so
 ${PYSITELIB}/Cython/Tempita/__init__.py
 ${PYSITELIB}/Cython/Tempita/__init__.pyc
 ${PYSITELIB}/Cython/Tempita/__init__.pyo

Index: pkgsrc/devel/py-cython/distinfo
diff -u pkgsrc/devel/py-cython/distinfo:1.33 pkgsrc/devel/py-cython/distinfo:1.34
--- pkgsrc/devel/py-cython/distinfo:1.33        Mon Nov  6 10:12:29 2017
+++ pkgsrc/devel/py-cython/distinfo     Thu Mar 15 09:30:18 2018
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.33 2017/11/06 10:12:29 adam Exp $
+$NetBSD: distinfo,v 1.34 2018/03/15 09:30:18 adam Exp $
 
-SHA1 (Cython-0.27.3.tar.gz) = 688aa815301dd9e710cd847528de31099f3b52c4
-RMD160 (Cython-0.27.3.tar.gz) = c6fa763137e0c000beff0898e3af0f6c23c9d9bc
-SHA512 (Cython-0.27.3.tar.gz) = 3c91d3be063cea4a03420a4ef2d9485453d5aa8f1a605d6157b2456b71ab53601c27a5df9cb5337ac14345b09fc86063d1cc613abe9bcbb0e8257f93181a79cf
-Size (Cython-0.27.3.tar.gz) = 1776789 bytes
+SHA1 (Cython-0.28.tar.gz) = 4303ea0e18f9b1c07082a246edee1de0e310e69a
+RMD160 (Cython-0.28.tar.gz) = ef74ec7c90e68f828d7f59551b35059954e6375d
+SHA512 (Cython-0.28.tar.gz) = 5194a1bba34087ef6c09d7e85a8faedf99c4b3e49363b3c1c8032f8f58fdff6481f392d1e3c542f5f4277c07d9d3a9852c39b54859fe3af1ef4e809dab4a063b
+Size (Cython-0.28.tar.gz) = 1796177 bytes
 SHA1 (patch-ac) = d0e06dd9e4b5a34d0614ec17f51c129eb7724323
 SHA1 (patch-runtests.py) = 788ff593da9ce447af368957f1a8be562e2d40da



Home | Main Index | Thread Index | Old Index