From 4bcfbf344c5fcbaf88fd0d45c2b04107ac7ded284d1294d866e3293f8a79bd79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 21:20:00 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-jupyterlab-widgets revision bf547fa1dbd8fcea20f2efe55fabbfa5 --- .gitattributes | 23 +++++++++ jupyterlab_widgets-3.0.7.tar.gz | 3 ++ python-jupyterlab-widgets-rpmlintrc | 3 ++ python-jupyterlab-widgets.changes | 55 ++++++++++++++++++++ python-jupyterlab-widgets.spec | 79 +++++++++++++++++++++++++++++ 5 files changed, 163 insertions(+) create mode 100644 .gitattributes create mode 100644 jupyterlab_widgets-3.0.7.tar.gz create mode 100644 python-jupyterlab-widgets-rpmlintrc create mode 100644 python-jupyterlab-widgets.changes create mode 100644 python-jupyterlab-widgets.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /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/jupyterlab_widgets-3.0.7.tar.gz b/jupyterlab_widgets-3.0.7.tar.gz new file mode 100644 index 0000000..2074d9b --- /dev/null +++ b/jupyterlab_widgets-3.0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c3a50ed5bf528a0c7a869096503af54702f86dda1db469aee1c92dc0c01b43ca +size 189462 diff --git a/python-jupyterlab-widgets-rpmlintrc b/python-jupyterlab-widgets-rpmlintrc new file mode 100644 index 0000000..a486d61 --- /dev/null +++ b/python-jupyterlab-widgets-rpmlintrc @@ -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") diff --git a/python-jupyterlab-widgets.changes b/python-jupyterlab-widgets.changes new file mode 100644 index 0000000..806dd3e --- /dev/null +++ b/python-jupyterlab-widgets.changes @@ -0,0 +1,55 @@ +------------------------------------------------------------------- +Tue Apr 4 15:42:21 UTC 2023 - Ben Greiner + +- 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 + +- Bump up also jupver macro. + +------------------------------------------------------------------- +Sat Oct 1 18:37:45 UTC 2022 - Arun Persaud + +- update to version 3.0.3: + * no changelog available + +------------------------------------------------------------------- +Sat Aug 20 15:19:10 UTC 2022 - Arun Persaud + +- 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 + +- Use the js version for the jupyter package + +------------------------------------------------------------------- +Thu Jan 6 12:20:03 UTC 2022 - Ben Greiner + +- 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 + +- Initial specfile for 1.0.2 +- Required by ipywidgets diff --git a/python-jupyterlab-widgets.spec b/python-jupyterlab-widgets.spec new file mode 100644 index 0000000..8b64b3f --- /dev/null +++ b/python-jupyterlab-widgets.spec @@ -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