1
0

Accepting request 1007398 from devel:languages:python:jupyter

OBS-URL: https://build.opensuse.org/request/show/1007398
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nbclassic?expand=0&rev=10
This commit is contained in:
Richard Brown 2022-10-01 15:43:56 +00:00 committed by Git OBS Bridge
commit cd5b9a63f5
6 changed files with 40 additions and 12 deletions

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Fri Sep 30 15:15:04 UTC 2022 - Arun Persaud <arun@gmx.de>
- specfile:
* jupyter-nbclassic-bundlerextension,
jupyter-nbclassic-extension, jupyter-nbclassic-serverextension
gained the "-nbclassic-" part of the name; updated binary-names for
update-alterantives
- update to version 0.4.4:
* Enhancements made
+ Stop looking in the old IPython directory for nbextensions #153
(@minrk)
+ Handlers under nbclassic if notebook 7 is found #141 (@echarles)
* Bugs fixed
+ Fix resource display when redirecting from /notebooks/* #148
(@echarles)
+ Rename duplicate entrypoints #138 (@echarles)
+ Point nbclassic at the classic jupyter_notebook_config path #137
(@Zsailer)
* Maintenance and upkeep improvements
+ Updating JS Dependencies #152 (@RRosio)
+ Get the notebook version from notebook._version #133 (@echarles)
* Documentation improvements
+ Updating documentation for nbclassic #134 (@RRosio)
* Other merged PRs
+ UI: About box to display nbclassic instead of notebook #147
(@echarles)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 2 15:59:57 UTC 2022 - Ben Greiner <code@bnavigator.de> Tue Aug 2 15:59:57 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -24,12 +24,11 @@
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%define plainpython python
# this conditional is used in the python-rpm-macros, but `osc build --without libalternatives` won't work # this conditional is used in the python-rpm-macros, but `osc build --without libalternatives` won't work
%bcond_without libalternatives %bcond_without libalternatives
%define plainpython python
Name: python-nbclassic%{psuffix} Name: python-nbclassic%{psuffix}
Version: 0.4.3 Version: 0.4.4
Release: 0 Release: 0
Summary: Jupyter Notebook as a Jupyter Server Extension Summary: Jupyter Notebook as a Jupyter Server Extension
License: BSD-3-Clause License: BSD-3-Clause
@ -63,6 +62,7 @@ Requires: python-pyzmq >= 17
Requires: python-terminado >= 0.8.3 Requires: python-terminado >= 0.8.3
Requires: python-tornado >= 6.1 Requires: python-tornado >= 6.1
Requires: python-traitlets >= 4.2.1 Requires: python-traitlets >= 4.2.1
BuildArch: noarch
%if %{with libalternatives} %if %{with libalternatives}
BuildRequires: alts BuildRequires: alts
Requires: alts Requires: alts
@ -75,7 +75,6 @@ BuildRequires: %{python_module pytest-console-scripts}
BuildRequires: %{python_module pytest-tornasync} BuildRequires: %{python_module pytest-tornasync}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
%endif %endif
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@ -134,7 +133,7 @@ sed -E '
cp %{buildroot}%{_bindir}/jupyter-nbclassic %{buildroot}%{_bindir}/jupyter-notebook cp %{buildroot}%{_bindir}/jupyter-nbclassic %{buildroot}%{_bindir}/jupyter-notebook
# clone after copy to jupyter-notebook # clone after copy to jupyter-notebook
%python_clone -a %{buildroot}%{_bindir}/jupyter-nbclassic %python_clone -a %{buildroot}%{_bindir}/jupyter-nbclassic
duplicates="jupyter-notebook jupyter-bundlerextension jupyter-nbextension jupyter-serverextension" duplicates="jupyter-notebook jupyter-nbclassic-bundlerextension jupyter-nbclassic-extension jupyter-nbclassic-serverextension"
for basebin in $duplicates; do for basebin in $duplicates; do
%python_clone -a %{buildroot}%{_bindir}/${basebin} %python_clone -a %{buildroot}%{_bindir}/${basebin}
%{python_expand mv %{buildroot}%{_bindir}/${basebin}{,.nbclassic}-%{$python_bin_suffix} %{python_expand mv %{buildroot}%{_bindir}/${basebin}{,.nbclassic}-%{$python_bin_suffix}
@ -177,7 +176,7 @@ done
%files -n jupyter-nbclassic %files -n jupyter-nbclassic
%license LICENSE %license LICENSE
%_jupyter_config %{_jupyter_server_confdir}/nbclassic.json %{_jupyter_config} %{_jupyter_server_confdir}/nbclassic.json
%{_datadir}/icons/hicolor/*/apps/nbclassic.svg %{_datadir}/icons/hicolor/*/apps/nbclassic.svg
%{_datadir}/applications/jupyter-nbclassic.desktop %{_datadir}/applications/jupyter-nbclassic.desktop
%endif %endif