1
0

Accepting request 980922 from devel:languages:python:jupyter

OBS-URL: https://build.opensuse.org/request/show/980922
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nbclassic?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2022-06-06 09:10:44 +00:00 committed by Git OBS Bridge
commit 4b5ce513a3
4 changed files with 20 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b4c53bd2c9bd4965ef45bff8dad5fb657596505be6e0b78bff87cf685f134bba
size 22668

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bea14cee4bd52bdb981998f412995830738b5a8bf8f2dca923bb8675a5ca9a11
size 15973

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Jun 5 17:18:58 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 0.3.7
* Clean up packaging and CI #91 (@blink1073)
- Release 0.3.6
* Depend on notebook_shim package for server-side shim layer #88
(@Zsailer)
-------------------------------------------------------------------
Thu Feb 17 16:37:03 UTC 2022 - Arun Persaud <arun@gmx.de>

View File

@ -24,21 +24,24 @@
%bcond_with libalternatives
%endif
Name: python-nbclassic
Version: 0.3.5
Version: 0.3.7
Release: 0
Summary: Jupyter Notebook as a Jupyter Server Extension
License: BSD-3-Clause
URL: https://github.com/jupyterlab/nbclassic
# The github archive has the tests
Source: https://github.com/jupyterlab/nbclassic/archive/v%{version}.tar.gz#/nbclassic-%{version}-gh.tar.gz
BuildRequires: %{python_module jupyter_server >= 1.8 with %python-jupyter_server < 2}
BuildRequires: %{python_module jupyter_server >= 1.8}
BuildRequires: %{python_module notebook < 7}
BuildRequires: %{python_module notebook_shim >= 0.1.0}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: jupyter-rpm-macros
BuildRequires: python-rpm-macros >= 20210929
Requires: jupyter-nbclassic = %{version}
Requires: python-jupyter_server >= 1.8
Requires: python-notebook < 7
Requires: (python-jupyter_server >= 1.8 with python-jupyter_server < 2)
Requires: python-notebook_shim >= 0.1.0
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
@ -98,7 +101,7 @@ This package contains the jupyterlab server configuration file
%python_uninstall_alternative jupyter-nbclassic
%check
%pytest nbclassic
%pytest
%files %{python_files}
%doc README.md
@ -109,6 +112,6 @@ This package contains the jupyterlab server configuration file
%files -n jupyter-nbclassic
%license LICENSE
%{!?_jupyter_distconfig:%config} %{_jupyter_server_confdir}/nbclassic.json
%_jupyter_config %{_jupyter_server_confdir}/nbclassic.json
%changelog