Accepting request 686968 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/686968
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=76
This commit is contained in:
Dominique Leuenberger 2019-03-22 13:54:06 +00:00 committed by Git OBS Bridge
commit be2c2ff31f
6 changed files with 18 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:31d3fe5b673e99d33d70cfee2ea8fe8dccd60f265c3ed990873a88647e3dd288
size 5070040

3
numpy-1.16.2.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c692e3879dde0b67a9dc78f9bfb6f61c666b4562fd8619632d7043fb5b691b0
size 5072757

View File

@ -15,7 +15,7 @@ safely removed.
--- a/numpy/core/setup_common.py --- a/numpy/core/setup_common.py
+++ b/numpy/core/setup_common.py +++ b/numpy/core/setup_common.py
@@ -166,7 +166,7 @@ @@ -168,7 +168,7 @@ OPTIONAL_FUNCTION_ATTRIBUTES = [('__attr
] ]
# variable attributes tested via "int %s a" % attribute # variable attributes tested via "int %s a" % attribute

2
python-numpy-rpmlintrc Normal file
View File

@ -0,0 +1,2 @@
# This file is required for testing
addFilter("devel-file-in-non-devel-package.*/usr/lib.*/python.*/site-packages/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c")

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Mar 12 21:03:43 CET 2019 - Matej Cepl <mcepl@suse.com>
- Update to 1.16.2:
- Primarily focused on fixing on Windows-related bugs
- regression fix correcting signed zeros produced by divmod
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 1 21:42:38 CET 2019 - Matej Cepl <mcepl@suse.com> Fri Mar 1 21:42:38 CET 2019 - Matej Cepl <mcepl@suse.com>

View File

@ -18,7 +18,7 @@
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%define _ver 1_16_1 %define _ver 1_16_2
%define pname python-numpy %define pname python-numpy
%bcond_with ringdisabled %bcond_with ringdisabled
@ -77,13 +77,14 @@ ExclusiveArch: do_not_build
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: %{package_name} Name: %{package_name}
Version: 1.16.1 Version: 1.16.2
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
Group: Development/Libraries/Python Group: Development/Libraries/Python
Url: http://www.numpy.org/ Url: http://www.numpy.org/
Source: https://pypi.io/packages/source/n/numpy/numpy-%{version}.zip Source: https://pypi.io/packages/source/n/numpy/numpy-%{version}.zip
Source99: python-numpy-rpmlintrc
# PATCH-FIX-OPENSUSE numpy-buildfix.patch -- openSUSE-specific build fixes # PATCH-FIX-OPENSUSE numpy-buildfix.patch -- openSUSE-specific build fixes
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
@ -100,7 +101,7 @@ BuildRequires: gcc-fortran
BuildRequires: gcc-gfortran BuildRequires: gcc-gfortran
%endif %endif
%if %{with openblas} %if %{with openblas}
BuildRequires: openblas-devel BuildRequires: openblas-devel > 0.3.4
%else %else
BuildRequires: blas-devel BuildRequires: blas-devel
BuildRequires: lapack-devel BuildRequires: lapack-devel
@ -112,7 +113,7 @@ BuildRequires: lua-lmod
BuildRequires: suse-hpc BuildRequires: suse-hpc
Requires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc Requires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc
%endif %endif
BuildRequires: %{python_module Cython} BuildRequires: %{python_module Cython >= 0.29.2}
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}