forked from pool/python-numpy
- Do not bother with standard flavor, just make it default
- Execute the tests only on standard package for now not hpc variants OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=15
This commit is contained in:
parent
13579fa2be
commit
811ebadef3
@ -1,4 +1,3 @@
|
|||||||
<multibuild>
|
<multibuild>
|
||||||
<package>standard</package>
|
|
||||||
<package>gnu-hpc</package>
|
<package>gnu-hpc</package>
|
||||||
</multibuild>
|
</multibuild>
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 20 10:43:28 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Do not bother with standard flavor, just make it default
|
||||||
|
- Execute the tests only on standard package for now not hpc variants
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 20 09:28:00 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Wed Feb 20 09:28:00 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -27,10 +27,6 @@
|
|||||||
%define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_')
|
%define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_')
|
||||||
|
|
||||||
%if "%flavor" == ""
|
%if "%flavor" == ""
|
||||||
ExclusiveArch: do_not_build
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if "%flavor" == "standard"
|
|
||||||
%bcond_with hpc
|
%bcond_with hpc
|
||||||
%if 0%{?sle_version} == 120300 && !0%{?is_opensuse}
|
%if 0%{?sle_version} == 120300 && !0%{?is_opensuse}
|
||||||
%bcond_with openblas
|
%bcond_with openblas
|
||||||
@ -247,10 +243,12 @@ EOF
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if %{without hpc}
|
||||||
pushd doc &> /dev/null
|
pushd doc &> /dev/null
|
||||||
export PYTHONDONTWRITEBYTECODE=1
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
%python_expand PYTHONPATH="%{buildroot}%{$python_sitearch}" PATH="%{buildroot}%{_bindir}:$PATH" $python -m pytest -v --pyargs numpy
|
%python_expand PYTHONPATH="%{buildroot}%{$python_sitearch}" PATH="%{buildroot}%{_bindir}:$PATH" $python -m pytest -v --pyargs numpy
|
||||||
popd &> /dev/null
|
popd &> /dev/null
|
||||||
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user