forked from pool/python-pytest-jupyter
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
|
||||
%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}
|
||||
%build
|
||||
@ -96,7 +99,7 @@ sed -i 's/ "--color=yes",//' pyproject.toml
|
||||
%if %{with test}
|
||||
%check
|
||||
mv pytest_jupyter pytest_jupyter.moved
|
||||
%pytest
|
||||
%pytest %{?_with_ringdisabled:--ignore tests/test_jupyter_server.py}
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
|
Loading…
x
Reference in New Issue
Block a user