Accepting request 805383 from devel:languages:python:numeric

- Reorganize check section to pass

OBS-URL: https://build.opensuse.org/request/show/805383
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=91
This commit is contained in:
Yuchen Lin 2020-05-29 19:16:14 +00:00 committed by Git OBS Bridge
commit 6f5d912eaf
2 changed files with 7 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 13 09:13:22 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Reorganize check section to pass
------------------------------------------------------------------- -------------------------------------------------------------------
Sat May 9 16:16:28 UTC 2020 - Arun Persaud <arun@gmx.de> Sat May 9 16:16:28 UTC 2020 - Arun Persaud <arun@gmx.de>

View File

@ -251,14 +251,10 @@ export PYTHONDONTWRITEBYTECODE=1
export PATH="%{buildroot}%{_bindir}:$PATH" export PATH="%{buildroot}%{_bindir}:$PATH"
mkdir testing mkdir testing
pushd testing pushd testing
%ifarch ppc64 ppc64le %python_expand export PYTHONPATH=%{_python_sysconfig_path $python stdlib}:%{$python_sitearch}
%pytest_arch -n auto --pyargs numpy || echo "Warning: ignore check error for PowerPC bypass boo#1148173" %pytest_arch -n auto --pyargs numpy %{buildroot}%{$python_sitearch}/numpy
%else
%pytest_arch -n auto --pyargs numpy
%endif
popd popd
%endif %endif
%if %{without hpc} %if %{without hpc}
%post %post
%python_install_alternative f2py %python_install_alternative f2py