Hello community, here is the log from the commit of package python-numpy for openSUSE:Factory checked in at 2014-09-10 17:02:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-numpy (Old) and /work/SRC/openSUSE:Factory/.python-numpy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-numpy" Changes: -------- --- /work/SRC/openSUSE:Factory/python-numpy/python-numpy-doc.changes 2014-08-13 17:19:58.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-numpy.new/python-numpy-doc.changes 2014-09-10 17:02:30.000000000 +0200 @@ -1,0 +2,20 @@ +Mon Sep 8 10:01:09 UTC 2014 - toddrme2178@gmail.com + +- 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 + +------------------------------------------------------------------- python-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: ------------------ ++++++ python-numpy-doc.spec ++++++ --- /var/tmp/diff_new_pack.1awl8n/_old 2014-09-10 17:02:33.000000000 +0200 +++ /var/tmp/diff_new_pack.1awl8n/_new 2014-09-10 17:02:33.000000000 +0200 @@ -19,7 +19,7 @@ %define modname numpy Name: python-numpy-doc %define docname numpydoc -Version: 1.8.2 +Version: 1.9.0 Release: 0 %define docvers 0.4 Url: http://www.numpy.org/ @@ -27,8 +27,10 @@ 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 ++++++ python-numpy.spec ++++++ --- /var/tmp/diff_new_pack.1awl8n/_old 2014-09-10 17:02:33.000000000 +0200 +++ /var/tmp/diff_new_pack.1awl8n/_new 2014-09-10 17:02:33.000000000 +0200 @@ -19,15 +19,17 @@ %define with_atlas 0 Name: python-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 @@ -88,16 +90,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" python setup.py build %install python setup.py install --root="%{buildroot}" --prefix="%{_prefix}" -rm -rf %{buildroot}%{python_sitearch}/numpy/{,core,distutils,f2py,fft,ma,matrixlib,oldnumeric,polynomial,random,testing}/tests # Don't package testsuite +rm -rf %{buildroot}%{python_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: toddrme2178@gmail.com 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.1awl8n/_old 2014-09-10 17:02:34.000000000 +0200 +++ /var/tmp/diff_new_pack.1awl8n/_new 2014-09-10 17:02:34.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: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org