Accepting request 541237 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/541237
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=60
This commit is contained in:
Dominique Leuenberger 2017-11-17 09:36:10 +00:00 committed by Git OBS Bridge
parent 24df67b9a4
commit 4fa9108c00
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Nov 12 12:49:48 UTC 2017 - eich@suse.com
- Add Requires for libopenblas to base package.
- Add Requires for lua-lmod
- Fix '-' in environment variable mane of modulefile.
-------------------------------------------------------------------
Mon Oct 30 19:43:03 UTC 2017 - eich@suse.com
@ -32,7 +39,7 @@ Sat Sep 30 16:20:39 UTC 2017 - arun@gmx.de
* #9732 BUG: Make scalar function elision check if temp is
writeable.
* #9736 BUG: Various fixes to np.gradient
* #9742 BUG: Fix np.pad for CVE-2017-12852
* #9742 BUG: Fix np.pad for CVE-2017-12852 (bsc#1053963)
* #9744 BUG: Check for exception in sort functions, add tests
* #9745 DOC: Add whitespace after "versionadded::" directive so it
actually...

View File

@ -24,6 +24,8 @@
%bcond_with ringdisabled
%define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_')
%if "%flavor" == ""
ExclusiveArch: do_not_build
%endif
@ -98,6 +100,8 @@ BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel
BuildRequires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel
BuildRequires: lua-lmod
BuildRequires: suse-hpc
Requires: libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc
Requires: lua-lmod
%endif
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
@ -218,8 +222,8 @@ if [ expr [ module-info mode load ] || [module-info mode display ] ] {
prepend-path PATH %{hpc_bindir}
prepend-path PYTHONPATH ${sitesearch_path}
setenv %{hpc_upcase %pname}_DIR %{hpc_prefix}
setenv %{hpc_upcase %pname}_BIN %{hpc_bindir}
setenv %{hpc_upcase_trans_hyph %pname}_DIR %{hpc_prefix}
setenv %{hpc_upcase_trans_hyph %pname}_BIN %{hpc_bindir}
EOF
}