forked from pool/python-numpy
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
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a65266a4ad6ec8936a1bc85ce51f8600634a31a258b722c9274a80ff189d9542
|
|
||||||
size 4824784
|
|
3
numpy-1.13.1.zip
Normal file
3
numpy-1.13.1.zip
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c9b0283776085cb2804efff73e9955ca279ba4edafd58d3ead70b61d209c4fbb
|
||||||
|
size 5012881
|
@@ -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
|
Wed Jul 5 14:24:59 UTC 2017 - schwab@suse.de
|
||||||
|
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-numpy-doc
|
Name: python-numpy-doc
|
||||||
Version: 1.12.1
|
Version: 1.13.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Documentation for python-numpy
|
Summary: Documentation for python-numpy
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@@ -28,8 +28,6 @@ Source: https://pypi.io/packages/source/n/numpy/numpy-%{version}.zip
|
|||||||
Patch0: numpy-buildfix.patch
|
Patch0: numpy-buildfix.patch
|
||||||
# PATCH-FIX-OPENSUSE numpy-1.9.0-remove-__declspec.patch -- fix for spurious compiler warnings that cause build failure
|
# 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
|
Patch1: numpy-1.9.0-remove-__declspec.patch
|
||||||
# PATCH-FIX-UPSTREAM don't use obsolete <xlocale.h>
|
|
||||||
Patch2: xlocale.patch
|
|
||||||
BuildRequires: python3-Sphinx
|
BuildRequires: python3-Sphinx
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-matplotlib
|
BuildRequires: python3-matplotlib
|
||||||
@@ -73,7 +71,6 @@ This package provides the documentation for NumPy
|
|||||||
%setup -q -n numpy-%{version}
|
%setup -q -n numpy-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
|
||||||
# drop build date from doc to fix build-compare
|
# drop build date from doc to fix build-compare
|
||||||
sed -i "s/\(html_last_updated_fmt = \).*/\\1None/" doc/source/conf.py
|
sed -i "s/\(html_last_updated_fmt = \).*/\\1None/" doc/source/conf.py
|
||||||
|
|
||||||
|
@@ -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
|
Wed Jul 5 14:24:59 UTC 2017 - schwab@suse.de
|
||||||
|
|
||||||
|
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-numpy
|
Name: python-numpy
|
||||||
Version: 1.12.1
|
Version: 1.13.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: NumPy array processing for numbers, strings, records and objects
|
Summary: NumPy array processing for numbers, strings, records and objects
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@@ -52,8 +52,6 @@ Source: https://pypi.io/packages/source/n/numpy/numpy-%{version}.zip
|
|||||||
Patch0: numpy-buildfix.patch
|
Patch0: numpy-buildfix.patch
|
||||||
# PATCH-FIX-OPENSUSE numpy-1.9.0-remove-__declspec.patch -- fix for spurious compiler warnings that cause build failure
|
# 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
|
Patch1: numpy-1.9.0-remove-__declspec.patch
|
||||||
# PATCH-FIX-UPSTREAM don't use obsolete <xlocale.h>
|
|
||||||
Patch2: xlocale.patch
|
|
||||||
BuildRequires: blas-devel
|
BuildRequires: blas-devel
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -113,9 +111,8 @@ This package contains files for developing applications using numpy.
|
|||||||
%setup -q -n numpy-%{version}
|
%setup -q -n numpy-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
|
||||||
# Fix non-executable scripts
|
# 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
|
%build
|
||||||
|
@@ -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 <stdlib.h>
|
|
||||||
-#include <xlocale.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user