go
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-pytest-jupyter?expand=0&rev=11
This commit is contained in:
parent
8c96429b5e
commit
1460eb66c1
@ -82,7 +82,10 @@ This subpackage provides the [server] extra dependencies
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pytest_jupyter-%{version}
|
%setup -q -n pytest_jupyter-%{version}
|
||||||
sed -i 's/ "--color=yes",//' pyproject.toml
|
sed -e 's/ "--color=yes",//' -i pyproject.toml
|
||||||
|
%if %{with ringdisabled}
|
||||||
|
sed -e "/jupyter_server/d" -i tests/conftest.py
|
||||||
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%build
|
%build
|
||||||
@ -96,7 +99,7 @@ sed -i 's/ "--color=yes",//' pyproject.toml
|
|||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
mv pytest_jupyter pytest_jupyter.moved
|
mv pytest_jupyter pytest_jupyter.moved
|
||||||
%pytest
|
%pytest %{?_with_ringdisabled:--ignore tests/test_jupyter_server.py}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
|
Loading…
Reference in New Issue
Block a user