SHA256
1
0
forked from pool/python-numpy

Accepting request 817878 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/817878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=92
This commit is contained in:
2020-07-01 16:22:23 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 3 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jun 30 12:53:23 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- still open: boo#1148173 gh#numpy/numpy#14438 skip two tests
- clean %check section for updated %pytest_arch
gh#openSUSE/python-rpm-macros#50
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 13 09:13:22 UTC 2020 - Matej Cepl <mcepl@suse.com> Wed May 13 09:13:22 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@@ -247,12 +247,14 @@ EOF
%check %check
%if %{without hpc} %if %{without hpc}
export PYTHONDONTWRITEBYTECODE=1
export PATH="%{buildroot}%{_bindir}:$PATH" export PATH="%{buildroot}%{_bindir}:$PATH"
mkdir testing mkdir testing
pushd testing pushd testing
%python_expand export PYTHONPATH=%{_python_sysconfig_path $python stdlib}:%{$python_sitearch} # boo#1148173 gh#numpy/numpy#14438
%pytest_arch -n auto --pyargs numpy %{buildroot}%{$python_sitearch}/numpy %ifarch ppc64 ppc64le
%define skiptest -k "not test_generalized_sq"
%endif
%pytest_arch -n auto --pyargs numpy %{buildroot}%{$python_sitearch}/numpy %{?skiptest}
popd popd
%endif %endif
%if %{without hpc} %if %{without hpc}