commit eeac2934113e22b7999066f84cd5ad6d4d99140c Author: Adrian Schröter Date: Tue Jun 6 15:21:58 2023 +0200 Sync from SUSE:ALP:Source:Standard:1.0 python-widgetsnbextension revision 64db8496da7a4d99c3e441fc18f3129c diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/python-widgetsnbextension.changes b/python-widgetsnbextension.changes new file mode 100644 index 0000000..3de5634 --- /dev/null +++ b/python-widgetsnbextension.changes @@ -0,0 +1,73 @@ +------------------------------------------------------------------- +Tue Apr 4 15:36:02 UTC 2023 - Ben Greiner + +- 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 + +- 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 + +- update to version 4.0.3: + * no release notes + +------------------------------------------------------------------- +Sat Aug 20 15:06:27 UTC 2022 - Arun Persaud + +- 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 + +- Update to 3.6.1 + * no release notes (JS static version bumps) + +------------------------------------------------------------------- +Sat Mar 26 20:11:10 UTC 2022 - Ben Greiner + +- Update to 3.6.0 + * no release notes + +------------------------------------------------------------------- +Sun Oct 31 09:31:09 UTC 2021 - Ben Greiner + +- Update to 3.5.2 + * no release notes + * bundled JS package updates + +------------------------------------------------------------------- +Fri Oct 29 09:05:38 UTC 2021 - Ben Greiner + +- 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 + +- initial specfile for 3.5.1 +- Required by ipywidgets diff --git a/python-widgetsnbextension.spec b/python-widgetsnbextension.spec new file mode 100644 index 0000000..35593ac --- /dev/null +++ b/python-widgetsnbextension.spec @@ -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 diff --git a/widgetsnbextension-4.0.7.tar.gz b/widgetsnbextension-4.0.7.tar.gz new file mode 100644 index 0000000..1c78529 --- /dev/null +++ b/widgetsnbextension-4.0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea67c17a7cd4ae358f8f46c3b304c40698bc0423732e3f273321ee141232c8be +size 1057085