forked from pool/python-nbdime
.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbdime?expand=0&rev=46
This commit is contained in:
parent
dec8d31ad3
commit
c85415148b
@ -197,6 +197,9 @@ done
|
|||||||
%fdupes %{buildroot}%{_jupyter_prefix}
|
%fdupes %{buildroot}%{_jupyter_prefix}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
# tornado mock setup failures: no auth_url
|
||||||
|
donttest="(test_cli_apps and (test_git_difftool or test_git_mergetool))"
|
||||||
|
donttest="$donttest or (test_web and (test_fetch_diff or test_fetch_merge))"
|
||||||
# freshly to be install libalternatives commands are not yet flavorbinned automatically
|
# freshly to be install libalternatives commands are not yet flavorbinned automatically
|
||||||
%if %{with libalternatives}
|
%if %{with libalternatives}
|
||||||
%{python_expand mkdir -p build/flavorbin
|
%{python_expand mkdir -p build/flavorbin
|
||||||
@ -213,7 +216,7 @@ export PYTHONDONTWRITEBYTECODE=1
|
|||||||
%{python_expand # don't test anything on python39: no jupyter-server-test anymore
|
%{python_expand # don't test anything on python39: no jupyter-server-test anymore
|
||||||
export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||||
if [ "${python_flavor}" != "python39" ]; then
|
if [ "${python_flavor}" != "python39" ]; then
|
||||||
$python -m pytest -v --pyargs nbdime
|
$python -m pytest -v --pyargs nbdime -k "not ($donttest)"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -292,6 +295,5 @@ done
|
|||||||
%license LICENSE.md
|
%license LICENSE.md
|
||||||
%dir %{_jupyter_prefix}/labextensions
|
%dir %{_jupyter_prefix}/labextensions
|
||||||
%{_jupyter_labextensions_dir3}/nbdime-jupyterlab
|
%{_jupyter_labextensions_dir3}/nbdime-jupyterlab
|
||||||
%{_jupyter_labextensions_dir}/nbdime-jupyterlab-%{labver}.tgz
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user