Sync from SUSE:SLFO:Main python-notebook-shim revision 98bfad1278af7124dcb469b52ad15abe
This commit is contained in:
commit
c28fdb4d08
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
notebook_shim-0.2.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
notebook_shim-0.2.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
27
python-notebook-shim.changes
Normal file
27
python-notebook-shim.changes
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 1 17:48:19 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 0.2.3
|
||||||
|
* Add show_banner to ignored_traits #29 (@echarles)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- Update to v0.2
|
||||||
|
* raise ceiling on jupyter_server dependency to < 3 #12
|
||||||
|
* remove dev version #15
|
||||||
|
* switch to hatch build backend #14
|
||||||
|
- Remove jupyter subpackage: no config installed anymore
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 5 17:26:42 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Initial specfile for v0.1
|
||||||
|
- Required by nbclassic
|
||||||
|
- Disabled test suite -- gh#jupyter/notebook_shim#8
|
81
python-notebook-shim.spec
Normal file
81
python-notebook-shim.spec
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-notebook-shim
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define anypython python3dist
|
||||||
|
Name: python-notebook-shim
|
||||||
|
Version: 0.2.3
|
||||||
|
Release: 0
|
||||||
|
Summary: A shim layer for notebook traits and config
|
||||||
|
License: BSD-3-Clause
|
||||||
|
URL: https://github.com/jupyterlab/notebook_shim
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/n/notebook_shim/notebook_shim-%{version}.tar.gz
|
||||||
|
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
|
||||||
|
|
||||||
|
%description
|
||||||
|
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}
|
||||||
|
Requires: %anypython(notebook-shim) = %{version}
|
||||||
|
|
||||||
|
%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}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
%jupyter_move_config
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pytest notebook_shim
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{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