Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-ipywebrtc for
openSUSE:Factory checked in at 2021-04-22 18:04:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ipywebrtc (Old)
and /work/SRC/openSUSE:Factory/.python-ipywebrtc.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ipywebrtc"
Thu Apr 22 18:04:04 2021 rev:3 rq:887399 version:0.6.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ipywebrtc/python-ipywebrtc.changes
2019-07-30 12:38:27.426941594 +0200
+++
/work/SRC/openSUSE:Factory/.python-ipywebrtc.new.12324/python-ipywebrtc.changes
2021-04-22 18:04:52.618590328 +0200
@@ -1,0 +2,9 @@
+Tue Apr 20 16:42:51 UTC 2021 - Ben Greiner <[email protected]>
+
+- Update to 0.6.0
+ * no release notes
+ * Add support for JupyterLab 2 and 3
+- Use pip (pyproject macros) so that the js extensions are
+ correctly installed
+
+-------------------------------------------------------------------
Old:
----
ipywebrtc-0.5.0.tar.gz
New:
----
ipywebrtc-0.6.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ipywebrtc.spec ++++++
--- /var/tmp/diff_new_pack.TUo9eh/_old 2021-04-22 18:04:53.102591066 +0200
+++ /var/tmp/diff_new_pack.TUo9eh/_new 2021-04-22 18:04:53.106591072 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-ipywebrtc
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,31 +12,31 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-ipywebrtc
-Version: 0.5.0
+Version: 0.6.0
Release: 0
License: MIT
-Summary: WebRTC extension for the Jupyter notebook/lab
-Url: https://github.com/maartenbreddels/ipywebrtc
+Summary: WebRTC for Jupyter notebook/lab
+URL: https://github.com/maartenbreddels/ipywebrtc
Group: Development/Languages/Python
Source:
https://files.pythonhosted.org/packages/source/i/ipywebrtc/ipywebrtc-%{version}.tar.gz
-BuildRequires: %{python_module notebook}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module ipywidgets >= 7.4.0}
+BuildRequires: %{python_module jupyter-packaging >= 0.7.9}
+BuildRequires: %{python_module jupyterlab >= 3.0}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module setuptools >= 40.8}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
+BuildRequires: npm
BuildRequires: python-rpm-macros
-# SECTION test requirements
-BuildRequires: %{python_module bqplot}
-BuildRequires: %{python_module ipywidgets >= 7.4.0}
-BuildRequires: %{python_module pytest}
-# /SECTION
-Requires: python-ipywidgets >= 7.4.0
-Requires: python-notebook
Requires: jupyter-ipywebrtc = %{version}
+Requires: python-ipywidgets >= 7.4.0
BuildArch: noarch
%python_subpackages
@@ -47,39 +47,51 @@
This package provides the python interface.
%package -n jupyter-ipywebrtc
-Summary: WebRTC extension for the Jupyter notebook
+Summary: WebRTC for Jupyter notebook/lab
Requires: jupyter-ipywidgets >= 7.4.0
+Requires: jupyter-jupyterlab
Requires: jupyter-notebook
Requires: python3-ipywebrtc = %{version}
%description -n jupyter-ipywebrtc
WebRTC and MediaStream API exposed in the Jupyter notebook.
-This package provides the jupyter notebook extension.
+This package provides the jupyter notebook and jupyterlab
+extensions.
%prep
%setup -q -n ipywebrtc-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%{jupyter_move_config}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_exec setup.py test
+# there are no python tests, only js in the github repo,
+# which we cannot test offline with npm.
+export JUPYTER_PATH=%{buildroot}%{_jupyter_prefix}
+export JUPYTER_CONFIG_DIR=%{buildroot}%{_jupyter_confdir}
+%{python_expand # Just check that we installed the extensions
+export PYTHONPATH=%{buildroot}%{$python_sitelib}
+jupyter-%{$python_bin_suffix} nbextension list 2>&1 | grep -ie
"jupyter-webrtc/extension.*enabled"
+jupyter-%{$python_bin_suffix} labextension list 2>&1 | grep -ie
"jupyter-webrtc.*enabled.*ok"
+}
%files %{python_files}
%doc README.md
%license LICENSE
-%{python_sitelib}/ipywebrtc-%{version}-py*.egg-info
+%{python_sitelib}/ipywebrtc-%{version}*-info
%{python_sitelib}/ipywebrtc/
%files -n jupyter-ipywebrtc
%license LICENSE
-%config %{_jupyter_nb_notebook_confdir}/ipywebrtc.json
+%config %{_jupyter_nb_notebook_confdir}/jupyter-webrtc.json
%{_jupyter_nbextension_dir}/jupyter-webrtc/
+%dir %{_jupyter_prefix}/labextensions/
+%{_jupyter_prefix}/labextensions/jupyter-webrtc/
%changelog
++++++ ipywebrtc-0.5.0.tar.gz -> ipywebrtc-0.6.0.tar.gz ++++++
++++ 27853 lines of diff (skipped)