OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=35
This commit is contained in:
parent
ce750d2917
commit
9510dd0e3f
@ -44,6 +44,7 @@ BuildRequires: %{python_module cffi}
|
|||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module ipython}
|
BuildRequires: %{python_module ipython}
|
||||||
BuildRequires: %{python_module llvmlite >= 0.31}
|
BuildRequires: %{python_module llvmlite >= 0.31}
|
||||||
|
BuildRequires: %{python_module numba >= %{version}}
|
||||||
BuildRequires: %{python_module numpy-devel >= 1.11}
|
BuildRequires: %{python_module numpy-devel >= 1.11}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module scipy >= 0.16}
|
BuildRequires: %{python_module scipy >= 0.16}
|
||||||
@ -115,8 +116,8 @@ export CFLAGS="%{optflags} -fPIC"
|
|||||||
%if %{with test}
|
%if %{with test}
|
||||||
mv numba numba_temp
|
mv numba numba_temp
|
||||||
export NUMBA_PARALLEL_DIAGNOSTICS=1
|
export NUMBA_PARALLEL_DIAGNOSTICS=1
|
||||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
%{python_expand export PYTHONPATH=%{$python_sitearch}
|
||||||
%{buildroot}%{_bindir}/numba-%{$python_bin_suffix} -s
|
%{_bindir}/numba-%{$python_bin_suffix} -s
|
||||||
$python -m numba.runtests -v -b --exclude-tags='long_running' -m %{_smp_build_ncpus} -- numba.tests
|
$python -m numba.runtests -v -b --exclude-tags='long_running' -m %{_smp_build_ncpus} -- numba.tests
|
||||||
}
|
}
|
||||||
mv numba_temp numba
|
mv numba_temp numba
|
||||||
|
Loading…
Reference in New Issue
Block a user