forked from pool/python-numpy
- Enable testsuite
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=11
This commit is contained in:
parent
76b54386b3
commit
657c0bc1ce
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 19 12:52:51 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Enable testsuite
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 5 22:14:25 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
Tue Feb 5 22:14:25 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||||
|
|
||||||
|
@ -200,7 +200,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|||||||
|
|
||||||
%if %{without hpc}
|
%if %{without hpc}
|
||||||
|
|
||||||
%python_expand rm -rf %{buildroot}%{$python_sitearch}/numpy/{,core,distutils,f2py,fft,lib,linalg,ma,matrixlib,oldnumeric,polynomial,random,testing}/tests # Don't package testsuite
|
#%%python_expand rm -rf %{buildroot}%{$python_sitearch}/numpy/{,core,distutils,f2py,fft,lib,linalg,ma,matrixlib,oldnumeric,polynomial,random,testing}/tests # Don't package testsuite
|
||||||
|
|
||||||
%else
|
%else
|
||||||
|
|
||||||
@ -245,6 +245,12 @@ EOF
|
|||||||
}
|
}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%check
|
||||||
|
pushd doc &> /dev/null
|
||||||
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
|
%python_expand PYTHONPATH="%{buildroot}%{$python_sitearch}" PATH="%{buildroot}%{_bindir}:$PATH" $python -m pytest -v --pyargs numpy
|
||||||
|
popd &> /dev/null
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc *.txt
|
%doc *.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user