Hello community,

here is the log from the commit of package python3-Cython for openSUSE:Factory 
checked in at 2015-08-07 00:21:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-Cython (Old)
 and      /work/SRC/openSUSE:Factory/.python3-Cython.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-Cython"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-Cython/python3-Cython.changes    
2015-01-10 23:07:06.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python3-Cython.new/python3-Cython.changes       
2015-08-07 00:21:48.000000000 +0200
@@ -1,0 +2,102 @@
+Wed Jul 29 16:09:38 UTC 2015 - toddrme2...@gmail.com
+
+- Enable tests except on SLES 12 and openSUSE 13.2.
+
+-------------------------------------------------------------------
+Wed Jul 29 11:47:46 UTC 2015 - toddrme2...@gmail.com
+
+- Remove unneeded numpy dependency to avoid dependency loop.
+
+-------------------------------------------------------------------
+Tue Jul 21 07:47:31 UTC 2015 - co...@suse.com
+
+- create dummy alternative to avoid 13.1's post-build-check bug
+
+-------------------------------------------------------------------
+Tue Jul 21 04:04:43 UTC 2015 - a...@gmx.de
+
+- specfile:
+  * fixing update_alternatives
+
+-------------------------------------------------------------------
+Sun Jul 19 15:35:48 UTC 2015 - a...@gmx.de
+
+- specfile:  (adapted from 2.7 version)
+  * updated use of update_alternatives
+  * added dependencies needed for test gcc-c++, numpy, numpy-devel
+  * added dependency xml
+  * (tried running tests, but for some distributions one test still
+    failed, so didn't enable the tests)
+
+-------------------------------------------------------------------
+Sun Jun 21 02:42:59 UTC 2015 - a...@gmx.de
+
+- update to version 0.22.1:
+  * Crash when returning values on generator termination.
+  * In some cases, exceptions raised during internal isinstance()
+    checks were not propagated.
+  * Runtime reported file paths of source files (e.g for profiling and
+    tracing) are now relative to the build root directory instead of
+    the main source file.
+  * Tracing exception handling code could enter the trace function
+    with an active exception set.
+  * The internal generator function type was not shared across
+    modules.
+  * Comparisons of (inferred) ctuples failed to compile.
+  * Closures inside of cdef functions returning void failed to
+    compile.
+  * Using const C++ references in intermediate parts of longer
+    expressions could fail to compile.
+  * C++ exception declarations with mapping functions could fail to
+    compile when pre-declared in .pxd files.
+  * C++ compilation could fail with an ambiguity error in recent
+    MacOS-X Xcode versions.
+  * C compilation could fail in pypy3.
+  * Fixed a memory leak in the compiler when compiling multiple
+    modules.
+  * When compiling multiple modules, external library dependencies
+    could leak into later compiler runs. Fix by Jeroen Demeyer. This
+    fixes ticket 845.
+
+-------------------------------------------------------------------
+Sat Feb 14 16:33:14 UTC 2015 - a...@gmx.de
+
+- specfile:
+  * Cython->cython in tar ball name on pypi
+  * fix update alternatives
+
+- update to version 0.22:
+  * 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.
+  * 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.
+  * 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.
+
+-------------------------------------------------------------------

Old:
----
  Cython-0.21.2.tar.gz

New:
----
  Cython-0.22.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-Cython.spec ++++++
--- /var/tmp/diff_new_pack.njaq6u/_old  2015-08-07 00:21:49.000000000 +0200
+++ /var/tmp/diff_new_pack.njaq6u/_new  2015-08-07 00:21:49.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python3-Cython
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           python3-Cython
-Version:        0.21.2
+Version:        0.22.1
 Release:        0
 Url:            http://www.cython.org
 Summary:        The Cython compiler for writing C extensions for the Python 
language
@@ -27,8 +27,11 @@
 Source1:        python3-Cython-rpmlintrc
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  fdupes
+BuildRequires:  gcc-c++
 BuildRequires:  python3
 BuildRequires:  python3-devel
+BuildRequires:  python3-xml
+Requires:       python3-xml
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 
@@ -50,13 +53,8 @@
 %prep
 %setup -q -n Cython-%{version}
 sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py # Fix 
non-executable scripts
+# Fix EOL encoding
 sed -i "s|\r||" Demos/callback/{README.txt,cheesefinder.h} 
Demos/embed/Makefile.{unix,msc.static} Doc/primes.c # Fix EOL encoding
-mv bin/cython bin/cython-%{py3_ver}
-mv bin/cythonize bin/cythonize-%{py3_ver}
-mv bin/cygdb bin/cygdb-%{py3_ver}
-sed -i "s|bin/cython|bin/cython-%{py3_ver}|" setup.py
-sed -i "s|bin/cythonize|bin/cythonize-%{py3_ver}|" setup.py
-sed -i "s|bin/cygdb|bin/cygdb-%{py3_ver}|" setup.py
 
 %build
 CFLAGS="%{optflags}" python3 setup.py build
@@ -64,28 +62,33 @@
 %install
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
-# setup up update-alternatives
+# Prepare for update-alternatives usage
 mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-ln -sf %{_sysconfdir}/alternatives/cython %{buildroot}/%{_bindir}/cython
-ln -sf %{_sysconfdir}/alternatives/cythonize %{buildroot}/%{_bindir}/cythonize
-ln -sf %{_sysconfdir}/alternatives/cygdb %{buildroot}/%{_bindir}/cygdb
+for p in cython cythonize cygdb ; do
+    mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py3_ver}
+    ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
+    # create a dummy target for /etc/alternatives/$p
+    touch %{buildroot}%{_sysconfdir}/alternatives/$p
+done
 
-%fdupes -s %{buildroot}%{python_sitearch} %{buildroot}%{_docdir}
+%fdupes -s %{buildroot}%{python3_sitearch} %{buildroot}%{_docdir}
+rm -rf %{buildroot}%{python3_sitearch}/__pycache__/
 
 %post
-update-alternatives \
+"%_sbindir/update-alternatives" \
    --install %{_bindir}/cython cython %{_bindir}/cython-%{py3_ver} 30 \
    --slave %{_bindir}/cythonize cythonize %{_bindir}/cythonize-%{py3_ver} \
    --slave %{_bindir}/cygdb cygdb %{_bindir}/cygdb-%{py3_ver}
 
-%preun
+%postun
 if [ $1 -eq 0 ] ; then
-    update-alternatives --remove cython %{_bindir}/cython-%{py3_ver}
+    "%_sbindir/update-alternatives" --remove cython 
%{_bindir}/cython-%{py3_ver}
 fi
 
-# Disabled testsuite as it takes a long time:
-#%%check
-#python runtests.py
+%if 0%{?suse_version} != 1315  && 0%{?suse_version} != 1320
+%check
+python3 runtests.py -vv
+%endif
 
 %files
 %defattr(-,root,root,-)
@@ -100,9 +103,8 @@
 %ghost %{_sysconfdir}/alternatives/cython
 %ghost %{_sysconfdir}/alternatives/cythonize
 %{python3_sitearch}/Cython/
-%{python3_sitearch}/Cython-%{version}-py%{py3_ver}.egg-info
-%{python3_sitearch}/pyximport/
+%{python3_sitearch}/Cython-%{version}-py*.egg-info
 %{python3_sitearch}/cython.py*
-%{python3_sitearch}/__pycache__/
+%{python3_sitearch}/pyximport/
 
 %changelog

++++++ Cython-0.21.2.tar.gz -> Cython-0.22.1.tar.gz ++++++
++++ 15608 lines of diff (skipped)


Reply via email to