forked from pool/python-nbclassic
Accepting request 931413 from home:bnavigator:branches:devel:languages:python:jupyter
- Update to 0.3.4 * Monkeypatch IPythonHandler to find nbclassic's jinja templates #77 (@Zsailer) * Run JupyterLab browser tests as downstream tests #76 (@Zsailer) * add check-release workflow #75 (@Zsailer) - Release 0.3.3 * Use Jupyter Packaging and other cleanup #68 (@Zsailer) * add missing lines to manifest #72 (@Zsailer) * add changelog comments for jupyter-releaser #70 (@Zsailer) * add setup.py back to enable jupyter_releaser #69 (@Zsailer) * Add workflow to test JupyterLab #67 (@Zsailer) * Expose classic notebook's static assets from their original endpoints #63 (@Zsailer) - Release 0.32.2 * ExtensionManager's link_extension changed call signature #64 (@athornton) * Fix link to the Jupyter Notebook repo in README #62 (@saiwing-yeung) - Reenable libalternatives OBS-URL: https://build.opensuse.org/request/show/931413 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbclassic?expand=0&rev=7
This commit is contained in:
parent
ea21bbb83e
commit
a0aa0ee897
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:315e6aff889e08155d9f8a9200b7f8e399708c3d0644a5f4aed4a20762a2c0a1
|
||||
size 25761
|
3
nbclassic-0.3.4-gh.tar.gz
Normal file
3
nbclassic-0.3.4-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:08a22ed9c09341dc00e30b73130533e7a0325ce409bf137bd24dfa048d4881b9
|
||||
size 22308
|
@ -1,3 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 14 15:53:25 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 0.3.4
|
||||
* Monkeypatch IPythonHandler to find nbclassic's jinja templates
|
||||
#77 (@Zsailer)
|
||||
* Run JupyterLab browser tests as downstream tests #76 (@Zsailer)
|
||||
* add check-release workflow #75 (@Zsailer)
|
||||
- Release 0.3.3
|
||||
* Use Jupyter Packaging and other cleanup #68 (@Zsailer)
|
||||
* add missing lines to manifest #72 (@Zsailer)
|
||||
* add changelog comments for jupyter-releaser #70 (@Zsailer)
|
||||
* add setup.py back to enable jupyter_releaser #69 (@Zsailer)
|
||||
* Add workflow to test JupyterLab #67 (@Zsailer)
|
||||
* Expose classic notebook's static assets from their original
|
||||
endpoints #63 (@Zsailer)
|
||||
- Release 0.32.2
|
||||
* ExtensionManager's link_extension changed call signature #64
|
||||
(@athornton)
|
||||
* Fix link to the Jupyter Notebook repo in README #62
|
||||
(@saiwing-yeung)
|
||||
- Reenable libalternatives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 28 19:14:07 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -16,8 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_with libalternatives_issue_11_fixed
|
||||
%if 0%{?suse_version} > 1500 && %{with libalternatives_issue_11_fixed}
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
@ -26,21 +25,21 @@
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-nbclassic
|
||||
Version: 0.3.1
|
||||
Version: 0.3.4
|
||||
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/%{version}.tar.gz#/nbclassic-%{version}-gh.tar.gz
|
||||
BuildRequires: %{python_module jupyter_server >= 1.8}
|
||||
BuildRequires: %{python_module notebook}
|
||||
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 notebook < 7}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros >= 20210929
|
||||
Requires: jupyter-nbclassic = %{version}
|
||||
Requires: python-jupyter_server >= 1.8
|
||||
Requires: python-notebook
|
||||
Requires: python-notebook < 7
|
||||
Requires: (python-jupyter_server >= 1.8 with python-jupyter_server < 2)
|
||||
%if %{with libalternatives}
|
||||
Requires: alts
|
||||
BuildRequires: alts
|
||||
@ -85,9 +84,9 @@ This package contains the jupyterlab server configuration file
|
||||
|
||||
%install
|
||||
%python_install
|
||||
install -m 644 -D -t %{buildroot}%{_jupyter_server_confdir} jupyter_server_config.d/*
|
||||
%python_clone -a %{buildroot}%{_bindir}/jupyter-nbclassic
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%jupyter_move_config
|
||||
|
||||
%pre
|
||||
# If libalternatives is used: Removing old update-alternatives entries.
|
||||
@ -100,15 +99,14 @@ install -m 644 -D -t %{buildroot}%{_jupyter_server_confdir} jupyter_server_confi
|
||||
%python_uninstall_alternative jupyter-nbclassic
|
||||
|
||||
%check
|
||||
# suppress color output
|
||||
rm setup.cfg
|
||||
%pytest -s
|
||||
%pytest nbclassic
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/jupyter-nbclassic
|
||||
%{python_sitelib}/
|
||||
%{python_sitelib}/nbclassic
|
||||
%{python_sitelib}/nbclassic-%{version}*-info
|
||||
|
||||
%files -n jupyter-nbclassic
|
||||
%license LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user