Accepting request 925899 from devel:languages:python:jupyter

OBS-URL: https://build.opensuse.org/request/show/925899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ipywidgets?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2021-10-18 19:59:28 +00:00 committed by Git OBS Bridge
commit 27e910b7cc
6 changed files with 22 additions and 40 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0
size 4072376

3
ipywidgets-7.6.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:00974f7cb4d5f8d494c19810fedb9fa9b64bffd3cda7c2be23c133a1ad3c99c5
size 4072535

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1949e148682a3c15a59769ab45809dccc38cc214ce31f4005c951bf018fae9c8
size 1118591

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4379ee89c4d500583dd997297bc9f8779c5a168512608d69775f672bbf8a333a
size 11836387

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Oct 17 20:53:43 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 7.6.5
* No release notes
- Update requirements: jupyterlab-widgets and widgetsnbextensions
- Remove doc package
* Version 7.6.5 ipywidgets.pdf and ipywidgets.zip not available
-------------------------------------------------------------------
Mon Feb 8 22:51:24 UTC 2021 - malcolmlewis@opensuse.org

View File

@ -19,40 +19,37 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-ipywidgets
Version: 7.6.3
Version: 7.6.5
Release: 0
Summary: IPython HTML widgets for Jupyter
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/jupyter-widgets/ipywidgets
Source0: https://files.pythonhosted.org/packages/source/i/ipywidgets/ipywidgets-%{version}.tar.gz
# Please make sure you update the documentation files at every release
Source1: https://media.readthedocs.org/pdf/ipywidgets/stable/ipywidgets.pdf
Source2: https://media.readthedocs.org/htmlzip/ipywidgets/stable/ipywidgets.zip
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: python-ipykernel >= 4.5.1
Requires: python-ipython >= 4
Requires: python-jsonschema
Requires: python-ipython_genutils >= 0.2
Requires: python-jupyterlab_widgets >= 1
Requires: python-nbformat >= 4.2
Requires: python-traitlets >= 4.3.1
Requires: python-widgetsnbextension >= 3.5.0
Provides: python-jupyter_ipywidgets = %{version}
Obsoletes: python-jupyter_ipywidgets <= %{version}
Obsoletes: python-jupyter_ipywidgets < %{version}
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module ipykernel >= 4.5.1}
BuildRequires: %{python_module ipython >= 4}
BuildRequires: %{python_module jsonschema}
BuildRequires: %{python_module ipython_genutils >= 0.2}
BuildRequires: %{python_module jupyterlab_widgets >= 1}
BuildRequires: %{python_module nbformat >= 4.2.0}
BuildRequires: %{python_module pexpect}
BuildRequires: %{python_module pickleshare}
BuildRequires: %{python_module pytest >= 3.6.0}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module recommonmark}
BuildRequires: %{python_module traitlets >= 4.3.1}
BuildRequires: %{python_module widgetsnbextension >= 3.5.0}
# /SECTION
Recommends: jupyter-widgetsnbextension >= 3.5.0
%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3"
Provides: jupyter-ipywidgets = %{version}
%endif
@ -61,20 +58,8 @@ Provides: jupyter-ipywidgets = %{version}
%description
Interactive HTML widgets for Jupyter notebooks and the IPython kernel.
%package -n python-ipywidgets-doc
Summary: Documentation for python-jupyter_ipywidgets
Group: Documentation/Other
Provides: %{python_module ipywidgets-doc = %{version}}
%description -n python-ipywidgets-doc
Documentation and help files for python-jupyter_ipywidgets.
%prep
%setup -q -n ipywidgets-%{version}
cp %{SOURCE1} .
unzip %{SOURCE2} -d docs
mv docs/ipywidgets-* docs/html
rm docs/html/.buildinfo
%build
%python_build
@ -90,12 +75,6 @@ rm docs/html/.buildinfo
%doc README.md
%license LICENSE
%{python_sitelib}/ipywidgets/
%{python_sitelib}/ipywidgets-%{version}-py*.egg-info
%files -n python-ipywidgets-doc
%license LICENSE
%doc ipywidgets.pdf
%doc docs/html
%doc docs/source/changelog.md
%{python_sitelib}/ipywidgets-%{version}*-info
%changelog