Sync from SUSE:SLFO:Main python-jupyterlab-widgets revision bf547fa1dbd8fcea20f2efe55fabbfa5

This commit is contained in:
Adrian Schröter 2024-05-03 21:20:00 +02:00
commit 4bcfbf344c
5 changed files with 163 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
jupyterlab_widgets-3.0.7.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,3 @@
# Note: These are not really backup files, they are needed
addFilter("backup-file-in-package .*/package.json.orig")
addFilter("filelist-forbidden .*/package.json.orig")

View File

@ -0,0 +1,55 @@
-------------------------------------------------------------------
Tue Apr 4 15:42:21 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 3.0.7 with jupyterlab-manager 5.0.7
## release notes from ipywidgets 8.0.6
* Fix: revert removing ipykernel dependency #3749
* Fix: structuredClone broke default serializer that depended on
JSON/toJSON #3738
* Fix: comm/ipykernel/manager runtime issues: #3740, #3737
* Fix: propertly typed Comm interface #3722
* Fix: support the comm package #3533
* Fix: use of structuredClone allows for binary traits out of the
box #3689
* Fix: combobox update issue #3681
* Fix: add grey as valid color #3671
* Fix: deprecation warning when using interact #3669
-------------------------------------------------------------------
Wed Oct 5 15:48:54 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Bump up also jupver macro.
-------------------------------------------------------------------
Sat Oct 1 18:37:45 UTC 2022 - Arun Persaud <arun@gmx.de>
- update to version 3.0.3:
* no changelog available
-------------------------------------------------------------------
Sat Aug 20 15:19:10 UTC 2022 - Arun Persaud <arun@gmx.de>
- specfile:
* drop patch ipywidgets-pr3138-pr3194-packaging.patch
- update to version 3.0.2:
* ships jupyter-widgets/jupyterlab-manager@5.0.2
* no changelog available
-------------------------------------------------------------------
Thu Jan 6 12:49:05 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Use the js version for the jupyter package
-------------------------------------------------------------------
Thu Jan 6 12:20:03 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Add ipywidgets-pr3138-pr3194-packaging.patch for python310
packaging
- Actually adds the JS files now
-------------------------------------------------------------------
Sun Oct 17 20:43:24 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Initial specfile for 1.0.2
- Required by ipywidgets

View File

@ -0,0 +1,79 @@
#
# spec file for package python-jupyterlab-widgets
#
# 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 pyver 3.0.7
%define jupver 5.0.7
Name: python-jupyterlab-widgets
Version: %{pyver}
Release: 0
Summary: A JupyterLab extension for Jupyter/IPython widgets
License: BSD-3-Clause
URL: https://github.com/jupyter-widgets/ipywidgets
Source: https://files.pythonhosted.org/packages/source/j/jupyterlab_widgets/jupyterlab_widgets-%{pyver}.tar.gz
Source99: python-jupyterlab-widgets-rpmlintrc
BuildRequires: %{python_module jupyter_packaging}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: jupyter-jupyterlab-filesystem
BuildRequires: python-rpm-macros
Requires: jupyter-jupyterlab-widgets
Provides: python-jupyterlab_widgets = %{pyver}-%{release}
BuildArch: noarch
%python_subpackages
%description
A JupyterLab 3.0 extension for Jupyter/IPython widgets
%package -n jupyter-jupyterlab-widgets
Version: %{pyver}
Summary: A JupyterLab extension for Jupyter/IPython widgets - Jupyter JS files
Requires: jupyter-jupyterlab-filesystem
Provides: jupyter-jupyter-widgets-jupyterlab-manager = %{jupver}-%{release}
Provides: jupyter-jupyterlab_widgets = %{pyver}-%{release}
%description -n jupyter-jupyterlab-widgets
A JupyterLab 3.0 extension for Jupyter/IPython widgets - Jupyterlab-manager JS files
%prep
%autosetup -p1 -n jupyterlab_widgets-%{pyver}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
$python -c 'import jupyterlab_widgets'
}
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/jupyterlab_widgets
%{python_sitelib}/jupyterlab_widgets-%{pyver}*-info
%files -n jupyter-jupyterlab-widgets
%license LICENSE
%dir %{_jupyter_labextensions_dir3}/@jupyter-widgets
%{_jupyter_labextensions_dir3}/@jupyter-widgets/jupyterlab-manager
%changelog