diff options
author | wiz <wiz> | 2012-12-16 16:07:53 +0000 |
---|---|---|
committer | wiz <wiz> | 2012-12-16 16:07:53 +0000 |
commit | 1d66367dbbb0b253eb6476508ccfe51f614e86fa (patch) | |
tree | 171a58e1c5b9d35daee79fcf8e34446368880770 | |
parent | f06c0e567761aa6b0e9d6b7a7f0a297685a5602d (diff) | |
download | pkgsrc-1d66367dbbb0b253eb6476508ccfe51f614e86fa.tar.gz |
Update to 0.17.3:
0.17.3:
Bugs fixed
----------
* During final interpreter cleanup (with types cleanup enabled at compile
time), extension types that inherit from base types over more than one
level that were cimported from other modules could lead to a crash.
* Weak-reference support in extension types (with a "cdef __weakref__"
attribute) generated incorrect deallocation code.
* In CPython 3.3, converting a Unicode character to the Py_UNICODE type
could fail to raise an overflow for non-BMP characters that do not fit
into a wchar_t on the current platform.
* Negative C integer constants lost their longness suffix in the generated
C code.
0.17.2:
Features added
--------------
* ``cythonize()`` gained a best effort compile mode that can be used to
simply ignore .py files that fail to compile.
Bugs fixed
----------
* Replacing an object reference with the value of one of its cdef
attributes could generate incorrect C code that accessed the object after
deleting its last reference.
* C-to-Python type coercions during cascaded comparisons could generate
invalid C code, specifically when using the 'in' operator.
* "obj[1,]" passed a single integer into the item getter instead of a tuple.
* Cyclic imports at module init time did not work in Py3.
* The names of C++ destructors for template classes were built incorrectly.
* In pure mode, type casts in Cython syntax and the C ampersand operator
are now rejected. Use the pure mode replacements instead.
* In pure mode, C type names and the sizeof() function are no longer
recognised as such and can be used as normal Python names.
* The extended C level support for the CPython array type was declared too
late to be used by user defined classes.
* C++ class nesting was broken.
* Better checking for required nullary constructors for stack-allocated C++
instances.
* Remove module docstring in no-docstring mode.
* Fix specialization for varargs function signatures.
* Fix several compiler crashes.
-rw-r--r-- | devel/py-cython/Makefile | 6 | ||||
-rw-r--r-- | devel/py-cython/distinfo | 10 | ||||
-rw-r--r-- | devel/py-cython/patches/patch-ac | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/devel/py-cython/Makefile b/devel/py-cython/Makefile index 83842dd83b1..360c08430b3 100644 --- a/devel/py-cython/Makefile +++ b/devel/py-cython/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.10 2012/10/31 11:19:29 asau Exp $ +# $NetBSD: Makefile,v 1.11 2012/12/16 16:07:53 wiz Exp $ # -DISTNAME= Cython-0.17.1 -PKGNAME= ${PYPKGPREFIX}-cython-0.17.1 +DISTNAME= Cython-0.17.3 +PKGNAME= ${PYPKGPREFIX}-cython-0.17.3 CATEGORIES= lang python MASTER_SITES= http://cython.org/release/ diff --git a/devel/py-cython/distinfo b/devel/py-cython/distinfo index d753fd7525b..3b8de6b8e1c 100644 --- a/devel/py-cython/distinfo +++ b/devel/py-cython/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.4 2012/10/07 21:28:34 wiz Exp $ +$NetBSD: distinfo,v 1.5 2012/12/16 16:07:53 wiz Exp $ -SHA1 (Cython-0.17.1.tar.gz) = 171512192d815f9b67ba74177bb3afc7bc55a249 -RMD160 (Cython-0.17.1.tar.gz) = 6128b3ef97fba7e2c37fae657af9b2c5a53538c6 -Size (Cython-0.17.1.tar.gz) = 1283146 bytes +SHA1 (Cython-0.17.3.tar.gz) = 5d7db24caba43157ec891b2b5468817e58469d4f +RMD160 (Cython-0.17.3.tar.gz) = d1651e83ce0e2195f06b4c9de61d28234d26cbe3 +Size (Cython-0.17.3.tar.gz) = 1287899 bytes SHA1 (patch-aa) = b66269a12ff43be9b7ea980d5245b5fdbbe41e64 SHA1 (patch-ab) = de923488eb3f08f7e048c35c57bd60cbfb2b4c53 -SHA1 (patch-ac) = 1caa956748f9fa221f9ef263d1d695e6565f36d8 +SHA1 (patch-ac) = 79b421be9b4b72c57df9907533c4732fec9458f9 diff --git a/devel/py-cython/patches/patch-ac b/devel/py-cython/patches/patch-ac index 5985c0642ae..e7d52bf190c 100644 --- a/devel/py-cython/patches/patch-ac +++ b/devel/py-cython/patches/patch-ac @@ -1,10 +1,10 @@ -$NetBSD: patch-ac,v 1.3 2012/08/12 21:08:46 wiz Exp $ +$NetBSD: patch-ac,v 1.4 2012/12/16 16:07:53 wiz Exp $ Add missing rpath. ---- Demos/embed/Makefile.orig 2012-04-21 11:34:22.000000000 +0000 +--- Demos/embed/Makefile.orig 2012-12-14 08:53:21.000000000 +0000 +++ Demos/embed/Makefile -@@ -14,7 +14,7 @@ LIBS=$(shell $(PYTHON) -c "import distut +@@ -15,7 +15,7 @@ LIBS=$(shell $(PYTHON) -c "import distut SYSLIBS= $(shell $(PYTHON) -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('SYSLIBS'))") embedded: embedded.o @@ -12,4 +12,4 @@ Add missing rpath. + $(LINKCC) -o $@ $^ -L$(LIBDIR1) -L$(LIBDIR2) -l$(PYLIB) $(LIBS) $(SYSLIBS) $(LINKFORSHARED) -Wl,-R$(LIBDIR1) embedded.o: embedded.c - $(CC) -c $^ -I$(INCDIR) + $(CC) -c $^ -I$(INCDIR) -I$(PLATINCDIR) |