Accepting request 386196 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/386196 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=49
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
%define with_atlas 0
|
||||
|
||||
Name: python-numpy
|
||||
Version: 1.10.4
|
||||
Version: 1.11.0
|
||||
Release: 0
|
||||
Url: http://www.numpy.org/
|
||||
Summary: NumPy array processing for numbers, strings, records and objects
|
||||
@@ -30,10 +30,16 @@ Source: https://pypi.python.org/packages/source/n/numpy/numpy-%{version}
|
||||
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-OPENSUSE numpy-1.10.4-cblas.patch -- fix for building with system cblas.
|
||||
Patch2: numpy-1.10.4-cblas.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: blas-devel
|
||||
%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
|
||||
BuildRequires: cblas-devel
|
||||
%endif
|
||||
BuildRequires: lapack-devel
|
||||
BuildRequires: python-devel >= 2.6
|
||||
BuildRequires: python-setuptools
|
||||
Requires: python >= %{py_ver}
|
||||
Provides: numpy = %{version}
|
||||
%if %{with_atlas} == 1
|
||||
@@ -83,6 +89,9 @@ Requires: gcc-gfortran
|
||||
%if %{with_atlas} == 1
|
||||
Requires: libatlas3-devel
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
|
||||
Requires: cblas-devel
|
||||
%endif
|
||||
|
||||
%description devel
|
||||
This package contains files for developing applications using numpy.
|
||||
@@ -91,6 +100,9 @@ This package contains files for developing applications using numpy.
|
||||
%setup -q -n numpy-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
|
||||
%patch2 -p1
|
||||
%endif
|
||||
# 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user