Hello community,

here is the log from the commit of package python-Cython for openSUSE:Factory 
checked in at 2015-01-10 23:07:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Cython (Old)
 and      /work/SRC/openSUSE:Factory/.python-Cython.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Cython"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Cython/python-Cython.changes      
2014-11-15 12:25:06.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-Cython.new/python-Cython.changes 
2015-01-10 23:07:09.000000000 +0100
@@ -1,0 +2,48 @@
+Fri Jan  9 15:20:31 UTC 2015 - [email protected]
+
+- Re-enable test-suite.
+- Add gcc-c++ BuildRequires: needed for the test-suite to be able
+  to pass.
+
+-------------------------------------------------------------------
+Thu Jan  8 12:22:10 UTC 2015 - [email protected]
+
+- Fix usage of update-alternatives.
+
+-------------------------------------------------------------------
+Thu Dec 18 10:48:28 UTC 2014 - [email protected]
+
+- Improve update-alternatives.
+- Remove Cython-fix-version-detection.patch 
+  (got fixed upstream)
+- update to version 0.21.1:
+  * Features added
+    - New cythonize option -a to generate the annotated HTML source view.
+    - Missing C-API declarations in cpython.unicode were added.
+    - Passing language='c++' into cythonize() globally enables C++ mode
+      for all modules that were not passed as Extension objects
+      (i.e. only source files and file patterns).
+    - Py_hash_t is a known type (used in CPython for hash values).
+    - PySlice_*() C-API functions are available from the cpython.slice module.
+    - Allow arrays of C++ classes.
+  * Bugs fixed
+    - Reference leak for non-simple Python expressions in boolean and/or 
expressions.
+    - To fix a name collision and to reflect availability on host
+      platforms, standard C declarations [ clock(), time(), struct tm
+      and tm* functions ] were moved from posix/time.pxd to a new
+      libc/time.pxd. Patch by Charles Blake.
+    - Rerunning unmodified modules in IPython's cython support
+      failed. Patch by Matthias Bussonier.
+    - Casting C++ std::string to Python byte strings failed when
+      auto-decoding was enabled.
+    - Fatal exceptions in global module init code could lead to
+      crashes if the already created module was used later on
+      (e.g. through a stale reference in sys.modules or elsewhere).
+    - cythonize.py script was not installed on MS-Windows.
+  * Other changes
+    - Compilation no longer fails hard when unknown compilation
+      options are passed. Instead, it raises a warning and ignores
+      them (as it did silently before 0.21). This will be changed back
+      to an error in a future release.
+
+-------------------------------------------------------------------

Old:
----
  Cython-0.21.tar.gz
  Cython-fix-version-detection.patch

New:
----
  Cython-0.21.1.tar.gz

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

Other differences:
------------------
++++++ python-Cython.spec ++++++
--- /var/tmp/diff_new_pack.mFpkQh/_old  2015-01-10 23:07:09.000000000 +0100
+++ /var/tmp/diff_new_pack.mFpkQh/_new  2015-01-10 23:07:09.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Cython
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products 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:           python-Cython
-Version:        0.21
+Version:        0.21.1
 Release:        0
 Url:            http://www.cython.org
 Summary:        The Cython compiler for writing C extensions for the Python 
language
@@ -25,10 +25,9 @@
 Group:          Development/Languages/Python
 Source:         
http://pypi.python.org/packages/source/C/Cython/Cython-%{version}.tar.gz
 Source1:        python-Cython-rpmlintrc
-#PATCH-FIX-UPSTREAM Cython-fix-version-detection.patch 
https://github.com/cython/cython/commit/43342ab90704f5f850733544288485048160003d
-Patch0:         Cython-fix-version-detection.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  fdupes
+BuildRequires:  gcc-c++
 BuildRequires:  python-devel
 BuildRequires:  python-xml
 Provides:       python-cython = %{version}
@@ -57,7 +56,6 @@
 
 %prep
 %setup -q -n Cython-%{version}
-%patch0 -p1
 sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py # Fix 
non-executable scripts
 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-%{py_ver}
@@ -72,17 +70,18 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-ln -s  %{_bindir}/cython-%{py_ver} %{buildroot}%{_bindir}/cython
-ln -s  %{_bindir}/cythonize-%{py_ver} %{buildroot}%{_bindir}/cythonize
-ln -s  %{_bindir}/cygdb-%{py_ver} %{buildroot}%{_bindir}/cygdb
+# Prepare for update-alternatives usage
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+ln -s -f %{_sysconfdir}/alternatives/cython %{buildroot}%{_bindir}/cython
+ln -s -f %{_sysconfdir}/alternatives/cythonize %{buildroot}%{_bindir}/cythonize
+ln -s -f %{_sysconfdir}/alternatives/cygdb %{buildroot}%{_bindir}/cygdb
+
 %fdupes -s %{buildroot}%{python_sitearch} %{buildroot}%{_docdir}
+rm -rf %{buildroot}%{python_sitearch}/__pycache__/
+# avoid conflicts with python 2 version
 
-%pre
-# Since /usr/bin/cython and /usr/bin/cygdb became ghosted to be used with 
update-alternatives, we have to get rid
-# of the old binary resulting from the non-update-alternativies-ified package:
-[ -h %{_bindir}/cygdb ] || rm -f %{_bindir}/cygdb
-[ -h %{_bindir}/cythonize ] || rm -f %{_bindir}/cythonize
-[ -h %{_bindir}/cython ] || rm -f %{_bindir}/cython
+%check
+python runtests.py
 
 %post
 update-alternatives \
@@ -102,12 +101,15 @@
 %files
 %defattr(-,root,root,-)
 %doc COPYING.txt LICENSE.txt README.txt ToDo.txt USAGE.txt Doc Demos
-%ghost %{_bindir}/cygdb
+%{_bindir}/cygdb
+%{_bindir}/cython
+%{_bindir}/cythonize
 %{_bindir}/cygdb-%{py_ver}
-%ghost %{_bindir}/cython
 %{_bindir}/cython-%{py_ver}
-%ghost %{_bindir}/cythonize
 %{_bindir}/cythonize-%{py_ver}
+%ghost %{_sysconfdir}/alternatives/cygdb
+%ghost %{_sysconfdir}/alternatives/cython
+%ghost %{_sysconfdir}/alternatives/cythonize
 %{python_sitearch}/Cython/
 %{python_sitearch}/Cython-%{version}-py%{py_ver}.egg-info
 %{python_sitearch}/cython.py*

++++++ Cython-0.21.tar.gz -> Cython-0.21.1.tar.gz ++++++
++++ 267795 lines of diff (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to