Hello community,

here is the log from the commit of package python3-numpy for openSUSE:Factory 
checked in at 2014-09-10 18:51:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-numpy (Old)
 and      /work/SRC/openSUSE:Factory/.python3-numpy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-numpy"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-numpy/python3-numpy-doc.changes  
2014-08-13 08:49:12.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-numpy.new/python3-numpy-doc.changes     
2014-09-10 18:51:35.000000000 +0200
@@ -1,0 +2,20 @@
+Mon Sep  8 10:01:09 UTC 2014 - [email protected]
+
+- Update to 1.9.0
+  Highlights
+  * Numerous performance improvements in various areas, most 
+    notably indexing and operations on small arrays are 
+    significantly faster. Indexing operations now also release the
+    GIL.
+  * Addition of nanmedian and nanpercentile rounds out the 
+    nanfunction set.
+- Remove upstreamed numpy-double-double-le.patch
+- Add numpy-1.9.0-remove-__declspec.patch
+  Fixes spurious warnings during build.  These warnings are related
+  to a windows-specific function that is not built, so the patch
+  just removed the function.
+  See: 
+  http://lists.opensuse.org/opensuse-packaging/2014-09/msg00004.html
+- Added patch tag for numpy-buildfix.patch
+
+-------------------------------------------------------------------
python3-numpy.changes: same change

Old:
----
  numpy-1.8.2.tar.gz
  numpy-double-double-le.patch

New:
----
  numpy-1.9.0-remove-__declspec.patch
  numpy-1.9.0.tar.gz

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

Other differences:
------------------
++++++ python3-numpy-doc.spec ++++++
--- /var/tmp/diff_new_pack.S4VJWD/_old  2014-09-10 18:51:37.000000000 +0200
+++ /var/tmp/diff_new_pack.S4VJWD/_new  2014-09-10 18:51:37.000000000 +0200
@@ -17,14 +17,17 @@
 
 
 Name:           python3-numpy-doc
-Version:        1.8.2
+Version:        1.9.0
 Release:        0
 Url:            http://www.numpy.org/
 Summary:        Documentation for python3-numpy
 License:        BSD-3-Clause
 Group:          Development/Libraries/Python
 Source:         
https://pypi.python.org/packages/source/n/numpy/numpy-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE numpy-buildfix.patch -- openSUSE-specific build fixes
 Patch0:         numpy-buildfix.patch
+# PATCH-FIX-OPENSUSE numpy-1.9.0-remove-__declspec.patch -- fix for spurious 
compiler warnings that cause build failure
+Patch1:         numpy-1.9.0-remove-__declspec.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} == 1220
 BuildRequires:  python3-2to3
@@ -60,6 +63,7 @@
 %prep
 %setup -q -n numpy-%{version}
 %patch0 -p1
+%patch1 -p1
 # Patch in intersphinx file from pytho3-doc:
 sed -i "s|'http://docs.python.org/dev': None|'http://docs.python.org/dev': 
'/usr/share/doc/packages/python3/html/objects.inv'|" doc/source/conf.py
 # Avoid autosummary extensions, summaries are incomplete and it would fail:

++++++ python3-numpy.spec ++++++
--- /var/tmp/diff_new_pack.S4VJWD/_old  2014-09-10 18:51:37.000000000 +0200
+++ /var/tmp/diff_new_pack.S4VJWD/_new  2014-09-10 18:51:37.000000000 +0200
@@ -19,15 +19,17 @@
 %define with_atlas 0
 
 Name:           python3-numpy
-Version:        1.8.2
+Version:        1.9.0
 Release:        0
 Url:            http://www.numpy.org/
 Summary:        NumPy array processing for numbers, strings, records and 
objects
 License:        BSD-3-Clause
 Group:          Development/Libraries/Python
 Source:         
https://pypi.python.org/packages/source/n/numpy/numpy-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE numpy-buildfix.patch -- openSUSE-specific build fixes
 Patch0:         numpy-buildfix.patch
-Patch1:         numpy-double-double-le.patch
+# PATCH-FIX-OPENSUSE numpy-1.9.0-remove-__declspec.patch -- fix for spurious 
compiler warnings that cause build failure
+Patch1:         numpy-1.9.0-remove-__declspec.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  blas-devel
 BuildRequires:  lapack-devel
@@ -71,16 +73,16 @@
 %prep
 %setup -q -n numpy-%{version}
 %patch0 -p1
-%patch1
+%patch1 -p1
 # Fix non-executable scripts
-sed -i "1d" 
numpy/{compat/setup,distutils/{conv_template,cpuinfo,exec_command,from_template,setup,system_info},f2py/{auxfuncs,capi_maps,cb_rules,cfuncs,common_rules,crackfortran,diagnose,docs/usersguide/setup_example,f2py2e,f90mod_rules,func2subr,__init__,rules,setup,use_rules},ma/setup,matrixlib/setup,setup,testing/{print_coercion_tables,setup}}.py
+sed -i "1d" 
numpy/{compat/setup,distutils/{conv_template,cpuinfo,exec_command,from_template,setup,system_info},f2py/{__init__,auxfuncs,capi_maps,cb_rules,cfuncs,common_rules,crackfortran,diagnose,f2py2e,f90mod_rules,func2subr,rules,setup,use_rules},ma/setup,matrixlib/setup,setup,testing/{print_coercion_tables,setup}}.py
 
 %build
 CFLAGS="%{optflags} -fno-strict-aliasing" python3 setup.py build
 
 %install
 python3 setup.py install --root="%{buildroot}" --prefix="%{_prefix}"
-rm -rf 
%{buildroot}%{python3_sitearch}/numpy/{,core,distutils,f2py,fft,ma,matrixlib,oldnumeric,polynomial,random,testing}/tests
 # Don't package testsuite
+rm -rf 
%{buildroot}%{python3_sitearch}/numpy/{,core,distutils,f2py,fft,lib,linalg,ma,matrixlib,oldnumeric,polynomial,random,testing}/tests
 # Don't package testsuite
 %if 0%{?suse_version}
 %fdupes -s %{buildroot}%{_prefix}
 %endif

++++++ numpy-1.9.0-remove-__declspec.patch ++++++
From: [email protected]
Date: 2014-09-09 04:45:00 +0000
Subject: Remove windows-specific function
Upstream: openSUSE Fix
References: 
    http://lists.opensuse.org/opensuse-packaging/2014-09/msg00004.html
    http://lists.opensuse.org/opensuse-packaging/2014-09/msg00005.html

__declspec(thread) is a windows-specific function that is causing
spurious compiler warnings.  These warnings can be safely ignored,
but are being falsely flagged as serious problems that cause the
build to fail.  Since this is windows-specific, it can be 
safely removed.


--- a/numpy/core/setup_common.py
+++ b/numpy/core/setup_common.py
@@ -134,7 +134,7 @@
                                ]
 
 # variable attributes tested via "int %s a" % attribute
-OPTIONAL_VARIABLE_ATTRIBUTES = ["__thread", "__declspec(thread)"]
+OPTIONAL_VARIABLE_ATTRIBUTES = ["__thread"]
 
 # Subset of OPTIONAL_STDFUNCS which may alreay have HAVE_* defined by Python.h
 OPTIONAL_STDFUNCS_MAYBE = ["expm1", "log1p", "acosh", "atanh", "asinh", 
"hypot",
++++++ numpy-1.8.2.tar.gz -> numpy-1.9.0.tar.gz ++++++
++++ 145662 lines of diff (skipped)

++++++ numpy-buildfix.patch ++++++
--- /var/tmp/diff_new_pack.S4VJWD/_old  2014-09-10 18:51:38.000000000 +0200
+++ /var/tmp/diff_new_pack.S4VJWD/_new  2014-09-10 18:51:38.000000000 +0200
@@ -8,11 +8,11 @@
 +void
  main()
  {
- #ifndef __GNUC__ && (__GNUC__ >= 4)
+ #if (! defined __GNUC__) || (__GNUC__ < 4)
 
 --- a/numpy/distutils/command/install.py
 +++ b/numpy/distutils/command/install.py
-@@ -66,7 +66,7 @@
+@@ -69,7 +69,7 @@
              need_rewrite = False
              for l in f:
                  l = l.rstrip()

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

Reply via email to