From 17a689c7ebea5e3a856d5de1e34082ba1498ba2e4f31c30c38c66d8fa9686a3a Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Tue, 27 Dec 2022 00:05:28 +0000 Subject: [PATCH] Accepting request 1045441 from home:bnavigator:branches:devel:languages:python:jupyter - Update to v0.2.2 * Add config file OBS-URL: https://build.opensuse.org/request/show/1045441 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-notebook-shim?expand=0&rev=6 --- notebook_shim-0.2.0.tar.gz | 3 --- notebook_shim-0.2.2.tar.gz | 3 +++ python-notebook-shim.changes | 6 ++++++ python-notebook-shim.spec | 17 ++++++++++++++++- 4 files changed, 25 insertions(+), 4 deletions(-) delete mode 100644 notebook_shim-0.2.0.tar.gz create mode 100644 notebook_shim-0.2.2.tar.gz diff --git a/notebook_shim-0.2.0.tar.gz b/notebook_shim-0.2.0.tar.gz deleted file mode 100644 index 58896bd..0000000 --- a/notebook_shim-0.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fdb81febb05932c6d19e44e10382ce05469cac5e1b6e99b49be6159ddb5e4804 -size 12063 diff --git a/notebook_shim-0.2.2.tar.gz b/notebook_shim-0.2.2.tar.gz new file mode 100644 index 0000000..09d44fe --- /dev/null +++ b/notebook_shim-0.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:090e0baf9a5582ff59b607af523ca2db68ff216da0c69956b62cab2ef4fc9c3f +size 12947 diff --git a/python-notebook-shim.changes b/python-notebook-shim.changes index d2e21c2..75d5fa9 100644 --- a/python-notebook-shim.changes +++ b/python-notebook-shim.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 26 23:58:03 UTC 2022 - Ben Greiner + +- Update to v0.2.2 + * Add config file + ------------------------------------------------------------------- Wed Oct 26 11:19:48 UTC 2022 - Ben Greiner diff --git a/python-notebook-shim.spec b/python-notebook-shim.spec index 48bd7ea..c20f8fd 100644 --- a/python-notebook-shim.spec +++ b/python-notebook-shim.spec @@ -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,15 @@ 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} + +%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} @@ -60,4 +72,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