Accepting request 1045953 from devel:languages:python:jupyter
- Update to v0.2.2 * Add config file OBS-URL: https://build.opensuse.org/request/show/1045953 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-notebook-shim?expand=0&rev=3
This commit is contained in:
commit
3b768cd140
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fdb81febb05932c6d19e44e10382ce05469cac5e1b6e99b49be6159ddb5e4804
|
||||
size 12063
|
3
notebook_shim-0.2.2.tar.gz
Normal file
3
notebook_shim-0.2.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:090e0baf9a5582ff59b607af523ca2db68ff216da0c69956b62cab2ef4fc9c3f
|
||||
size 12947
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 26 23:58:03 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to v0.2.2
|
||||
* Add config file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 26 11:19:48 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-notebook-shim
|
||||
Version: 0.2.0
|
||||
Version: 0.2.2
|
||||
Release: 0
|
||||
Summary: A shim layer for notebook traits and config
|
||||
License: BSD-3-Clause
|
||||
@ -27,12 +27,15 @@ BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module hatchling >= 1.0}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: jupyter-rpm-macros
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: jupyter-notebook-shim = %{version}
|
||||
Requires: (python-jupyter_server >= 1.8 with python-jupyter_server < 3)
|
||||
Provides: python-notebook_shim = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
BuildRequires: %{python_module jupyter_server >= 1.8 with %python-jupyter_server < 3}
|
||||
BuildRequires: %{python_module pytest-console-scripts}
|
||||
BuildRequires: %{python_module pytest-jupyter}
|
||||
BuildRequires: %{python_module pytest-tornasync}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%python_subpackages
|
||||
@ -41,6 +44,17 @@ BuildRequires: %{python_module pytest}
|
||||
This project provides a way for JupyterLab and other frontends to switch to
|
||||
Jupyter Server for their Python Web application backend.
|
||||
|
||||
%package -n jupyter-notebook-shim
|
||||
Summary: The configuration file for python-notebook-shim
|
||||
Provides: juypter-notebook_shim = %{version}-%{release}
|
||||
# Any flavor is okay
|
||||
Requires: (%(echo "%{python_module notebook-shim = %{version}@or@}" | sed "s/@or@/ or /g" | sed 's/ or\s*$//'))
|
||||
|
||||
%description -n jupyter-notebook-shim
|
||||
This project provides a way for JupyterLab and other frontends to switch to
|
||||
Jupyter Server for their Python Web application backend. Common configuration
|
||||
file
|
||||
|
||||
%prep
|
||||
%setup -q -n notebook_shim-%{version}
|
||||
|
||||
@ -49,6 +63,7 @@ Jupyter Server for their Python Web application backend.
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%jupyter_move_config
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@ -60,4 +75,7 @@ Jupyter Server for their Python Web application backend.
|
||||
%{python_sitelib}/notebook_shim
|
||||
%{python_sitelib}/notebook_shim-%{version}*-info
|
||||
|
||||
%files -n jupyter-notebook-shim
|
||||
%_jupyter_config %{_jupyter_server_confdir}/notebook_shim.json
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user