Sync from SUSE:ALP:Source:Standard:1.0 python-widgetsnbextension revision 64db8496da7a4d99c3e441fc18f3129c

This commit is contained in:
Adrian Schröter 2023-06-06 15:21:58 +02:00
commit eeac293411
4 changed files with 189 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

View File

@ -0,0 +1,73 @@
-------------------------------------------------------------------
Tue Apr 4 15:36:02 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 4.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
-------------------------------------------------------------------
Sun Jan 8 10:20:11 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 4.0.5 with jupyter-js-widgets 8.0.5
* no release notes
* js package version bumps
- PEP517 jupyter-packaging build
-------------------------------------------------------------------
Thu Sep 8 14:58:52 UTC 2022 - Arun Persaud <arun@gmx.de>
- update to version 4.0.3:
* no release notes
-------------------------------------------------------------------
Sat Aug 20 15:06:27 UTC 2022 - Arun Persaud <arun@gmx.de>
- specfile:
* require python >= 3.7
* require jupyter-packaging
* added js license file
- update to version 4.0.2 with jupyter-js-widgets@8.0.2
* no relase notes
-------------------------------------------------------------------
Wed Aug 3 21:23:31 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 3.6.1
* no release notes (JS static version bumps)
-------------------------------------------------------------------
Sat Mar 26 20:11:10 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 3.6.0
* no release notes
-------------------------------------------------------------------
Sun Oct 31 09:31:09 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 3.5.2
* no release notes
* bundled JS package updates
-------------------------------------------------------------------
Fri Oct 29 09:05:38 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Bump release in order to facilitate removal of
jupyter-widgetsnbextension source package
- Provide/Obsolete old python-jupyter_widgetsnbextension name
-------------------------------------------------------------------
Sun Oct 17 20:19:38 UTC 2021 - Ben Greiner <code@bnavigator.de>
- initial specfile for 3.5.1
- Required by ipywidgets

View File

@ -0,0 +1,90 @@
#
# spec file for package python-widgetsnbextension
#
# 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 jupver 8.0.5
Name: python-widgetsnbextension
Version: 4.0.7
Release: 0
Summary: Jupyter interactive widgets for Jupyter Notebook
License: BSD-3-Clause AND MIT
URL: https://github.com/jupyter-widgets/ipywidgets/tree/master/python/widgetsnbextension
Source: https://files.pythonhosted.org/packages/source/w/widgetsnbextension/widgetsnbextension-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module jupyter-packaging}
BuildRequires: %{python_module notebook >= 4.4.1}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: jupyter-widgetsnbextension = %{version}
Provides: python-jupyter_widgetsnbextension = %{version}-%{release}
Obsoletes: python-jupyter_widgetsnbextension < %{version}-%{release}
BuildArch: noarch
%python_subpackages
%description
This package makes Jupyter widgets available in the classic Jupyter Notebook.
This package provides the necessary JavaScript controls in the Jupyter
Notebook that communicate with the widget objects in the kernel.
Install the corresponding Jupyter widgets package into your kernel, i.e.,
IPython users would install ipywidgets into their kernel.
%package -n jupyter-widgetsnbextension
Summary: Jupyter interactive widgets for Jupyter Notebook - Jupyter Files
Requires: python3-widgetsnbextension = %{version}
Provides: jupyter-jupyter-js-widgets = %{jupver}
Provides: jupyter-jupyter-jupyter-widgets-notebook-manager = %{jupver}
%description -n jupyter-widgetsnbextension
This package makes Jupyter widgets available in the classic Jupyter Notebook.
It provides the Jupyter configuration files.
%prep
%setup -q -n widgetsnbextension-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export JUPYTER_PATH=%{buildroot}%{_jupyter_prefix}
export JUPYTER_CONFIG_DIR=%{buildroot}%{_jupyter_confdir}
%{python_expand # no $python tests available
export PYTHONPATH=%{buildroot}%{$python_sitelib}
$python -c 'import widgetsnbextension'
jupyter-%{$python_bin_suffix} nbextension list 2>&1 | grep 'jupyter-js-widgets.*enabled'
}
rm -f %{buildroot}%{_jupyter_confdir}migrated
%files %{python_files}
%license LICENSE
%{python_sitelib}/widgetsnbextension
%{python_sitelib}/widgetsnbextension-%{version}*-info
%files -n jupyter-widgetsnbextension
%license LICENSE
%{_jupyter_config} %{_jupyter_nb_notebook_confdir}/widgetsnbextension.json
%dir %{_jupyter_nbextension_dir}/jupyter-js-widgets
%{_jupyter_nbextension_dir}/jupyter-js-widgets/extension.js
%{_jupyter_nbextension_dir}/jupyter-js-widgets/extension.js.LICENSE.txt
%{_jupyter_nbextension_dir}/jupyter-js-widgets/extension.js.map
%changelog

BIN
widgetsnbextension-4.0.7.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.