From bc363783108243caf87826a4798029e1feb526b73d18f3b8c7a87d79372a47c7 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 21 Sep 2017 10:27:39 +0000 Subject: [PATCH] Accepting request 527258 from devel:languages:python 1 OBS-URL: https://build.opensuse.org/request/show/527258 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=56 --- numpy-1.12.1.zip | 3 --- numpy-1.13.1.zip | 3 +++ python-numpy-doc.changes | 29 +++++++++++++++++++++++++++++ python-numpy-doc.spec | 5 +---- python-numpy.changes | 29 +++++++++++++++++++++++++++++ python-numpy.spec | 7 ++----- xlocale.patch | 12 ------------ 7 files changed, 64 insertions(+), 24 deletions(-) delete mode 100644 numpy-1.12.1.zip create mode 100644 numpy-1.13.1.zip delete mode 100644 xlocale.patch diff --git a/numpy-1.12.1.zip b/numpy-1.12.1.zip deleted file mode 100644 index 9bdfeaa..0000000 --- a/numpy-1.12.1.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a65266a4ad6ec8936a1bc85ce51f8600634a31a258b722c9274a80ff189d9542 -size 4824784 diff --git a/numpy-1.13.1.zip b/numpy-1.13.1.zip new file mode 100644 index 0000000..f53f811 --- /dev/null +++ b/numpy-1.13.1.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9b0283776085cb2804efff73e9955ca279ba4edafd58d3ead70b61d209c4fbb +size 5012881 diff --git a/python-numpy-doc.changes b/python-numpy-doc.changes index 0f50632..06c6fb4 100644 --- a/python-numpy-doc.changes +++ b/python-numpy-doc.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Mon Sep 18 14:40:26 UTC 2017 - hsk17@mail.de + +- Update to version 1.13.1 + * bugfix release for problems found in 1.13.0; major changes: + + fixes for the new memory overlap detection and temporary + elision + + reversion of the removal of the boolean binary - operator + * 1.13.0 Highlights: + + Operations like a + b + c will reuse temporaries on some + platforms + + Inplace operations check if inputs overlap outputs and + create temporaries + + New __array_ufunc__ attribute provides improved ability for + classes to override default ufunc behavior. + + New np.block function for creating blocked arrays. + * 1.13.0 New functions: + + New np.positive ufunc. + + New np.divmod ufunc provides more efficient divmod. + + New np.isnat ufunc tests for NaT special values. + + New np.heaviside ufunc computes the Heaviside function. + + New np.isin function, improves on in1d. + + New np.block function for creating blocked arrays. + + New PyArray_MapIterArrayCopyIfOverlap added to NumPy C-API. + * deprecations, compatibility notes, etc see full changelog at + https://github.com/numpy/numpy/blob/master/doc/changelog/1.13.0-changelog.rst +- dropped xlocale.patch (now upstream) +- do not apply 'sed 1d' command to exec_command.py + ------------------------------------------------------------------- Wed Jul 5 14:24:59 UTC 2017 - schwab@suse.de diff --git a/python-numpy-doc.spec b/python-numpy-doc.spec index fac480d..e81cc36 100644 --- a/python-numpy-doc.spec +++ b/python-numpy-doc.spec @@ -17,7 +17,7 @@ Name: python-numpy-doc -Version: 1.12.1 +Version: 1.13.1 Release: 0 Summary: Documentation for python-numpy License: BSD-3-Clause @@ -28,8 +28,6 @@ Source: https://pypi.io/packages/source/n/numpy/numpy-%{version}.zip 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 -# PATCH-FIX-UPSTREAM don't use obsolete -Patch2: xlocale.patch BuildRequires: python3-Sphinx BuildRequires: python3-devel BuildRequires: python3-matplotlib @@ -73,7 +71,6 @@ This package provides the documentation for NumPy %setup -q -n numpy-%{version} %patch0 -p1 %patch1 -p1 -%patch2 -p1 # drop build date from doc to fix build-compare sed -i "s/\(html_last_updated_fmt = \).*/\\1None/" doc/source/conf.py diff --git a/python-numpy.changes b/python-numpy.changes index 7b87108..95b8af1 100644 --- a/python-numpy.changes +++ b/python-numpy.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Mon Sep 18 14:40:26 UTC 2017 - hsk17@mail.de + +- Update to version 1.13.1 + * bugfix release for problems found in 1.13.0; major changes: + + fixes for the new memory overlap detection and temporary + elision + + reversion of the removal of the boolean binary - operator + * 1.13.0 Highlights: + + Operations like a + b + c will reuse temporaries on some + platforms + + Inplace operations check if inputs overlap outputs and + create temporaries + + New __array_ufunc__ attribute provides improved ability for + classes to override default ufunc behavior. + + New np.block function for creating blocked arrays. + * 1.13.0 New functions: + + New np.positive ufunc. + + New np.divmod ufunc provides more efficient divmod. + + New np.isnat ufunc tests for NaT special values. + + New np.heaviside ufunc computes the Heaviside function. + + New np.isin function, improves on in1d. + + New np.block function for creating blocked arrays. + + New PyArray_MapIterArrayCopyIfOverlap added to NumPy C-API. + * deprecations, compatibility notes, etc see full changelog at + https://github.com/numpy/numpy/blob/master/doc/changelog/1.13.0-changelog.rst +- dropped xlocale.patch (now upstream) +- do not apply 'sed 1d' command to exec_command.py + ------------------------------------------------------------------- Wed Jul 5 14:24:59 UTC 2017 - schwab@suse.de diff --git a/python-numpy.spec b/python-numpy.spec index 6e8ce51..7429745 100644 --- a/python-numpy.spec +++ b/python-numpy.spec @@ -41,7 +41,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-numpy -Version: 1.12.1 +Version: 1.13.1 Release: 0 Summary: NumPy array processing for numbers, strings, records and objects License: BSD-3-Clause @@ -52,8 +52,6 @@ Source: https://pypi.io/packages/source/n/numpy/numpy-%{version}.zip 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 -# PATCH-FIX-UPSTREAM don't use obsolete -Patch2: xlocale.patch BuildRequires: blas-devel %if 0%{?suse_version} BuildRequires: fdupes @@ -113,9 +111,8 @@ This package contains files for developing applications using numpy. %setup -q -n numpy-%{version} %patch0 -p1 %patch1 -p1 -%patch2 -p1 # Fix non-executable scripts -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 +sed -i "1d" numpy/{compat/setup,distutils/{conv_template,cpuinfo,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 diff --git a/xlocale.patch b/xlocale.patch deleted file mode 100644 index b76d97e..0000000 --- a/xlocale.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: numpy-1.12.1/numpy/core/src/multiarray/numpyos.c -=================================================================== ---- numpy-1.12.1.orig/numpy/core/src/multiarray/numpyos.c -+++ numpy-1.12.1/numpy/core/src/multiarray/numpyos.c -@@ -15,7 +15,6 @@ - - #ifdef HAVE_STRTOLD_L - #include --#include - #endif - -