Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-ipyevents for
openSUSE:Factory checked in at 2023-01-23 18:31:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ipyevents (Old)
and /work/SRC/openSUSE:Factory/.python-ipyevents.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ipyevents"
Mon Jan 23 18:31:36 2023 rev:5 rq:1060276 version:2.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ipyevents/python-ipyevents.changes
2021-02-10 21:30:02.778254872 +0100
+++
/work/SRC/openSUSE:Factory/.python-ipyevents.new.32243/python-ipyevents.changes
2023-01-23 18:31:58.508066308 +0100
@@ -1,0 +2,7 @@
+Sun Jan 22 14:30:30 UTC 2023 - Ben Greiner <[email protected]>
+
+- Update to version 2.0.1 (python and jupyterlab)
+ * no upstream changelog
+ * jupyterlab 3 compatibility
+
+-------------------------------------------------------------------
Old:
----
ipyevents-0.8.1-gh.tar.gz
ipyevents-0.8.1-py2.py3-none-any.whl
New:
----
ipyevents-2.0.1-gh.tar.gz
ipyevents-2.0.1-py2.py3-none-any.whl
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ipyevents.spec ++++++
--- /var/tmp/diff_new_pack.ghRGvN/_old 2023-01-23 18:31:59.240070826 +0100
+++ /var/tmp/diff_new_pack.ghRGvN/_new 2023-01-23 18:31:59.248070876 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-ipyevents
#
-# Copyright (c) 2021 SUSE LLC
+# 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
@@ -16,21 +16,18 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
-%define mainver 0.8.1
-%define labver 1.8.1
+%define plainpython3dist python3dist
Name: python-ipyevents
-Version: %{mainver}
+Version: 2.0.1
Release: 0
Summary: A custom ipython widget for returning mouse and keyboard events
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/mwcraig/ipyevents
# The Github archive has the test file, but does not bundle the extensions
-Source0:
%{url}/archive/%{version}.tar.gz#/ipyevents-%{mainver}-gh.tar.gz
+Source0:
https://github.com/mwcraig/ipyevents/archive/%{version}.tar.gz#/ipyevents-%{version}-gh.tar.gz
# Only the (pure) wheel bundles both extensions
-Source1:
https://files.pythonhosted.org/packages/py2.py3/i/ipyevents/ipyevents-%{mainver}-py2.py3-none-any.whl
+Source1:
https://files.pythonhosted.org/packages/py2.py3/i/ipyevents/ipyevents-%{version}-py2.py3-none-any.whl
BuildRequires: %{python_module ipywidgets >= 7.0.0}
BuildRequires: %{python_module nbval}
BuildRequires: %{python_module pip}
@@ -38,10 +35,9 @@
BuildRequires: jupyter-jupyterlab-filesystem
BuildRequires: jupyter-notebook-filesystem
BuildRequires: python-rpm-macros
-Requires: jupyter-ipyevents = %{mainver}
-Requires: python-ipywidgets >= 7.0.0
+Requires: jupyter-ipyevents = %{version}
+Requires: python-ipywidgets >= 7.6.0
BuildArch: noarch
-
%python_subpackages
%description
@@ -58,7 +54,8 @@
Summary: A custom ipython widget for returning mouse and keyboard events
Group: Development/Languages/Python
Requires: jupyter-notebook
-Requires: python3-ipyevents = %{mainver}
+# any flavor is okay
+Requires: %{plainpython3dist}(ipyevents) = %{version}
%description -n jupyter-ipyevents
ipyevents provides a custom widget for returning mouse and keyboard
@@ -71,12 +68,12 @@
This package provides the tools and jupyter notebook extension.
%package -n jupyter-ipyevents-jupyterlab
-Version: %{labver}
+Version: %{version}
Release: 0
Summary: A custom ipython widget for returning mouse and keyboard events
Group: Development/Languages/Python
Requires: jupyter-jupyterlab
-Requires: python3-ipyevents = %{mainver}
+Requires: %{plainpython3dist}(ipyevents) = %{version}
%description -n jupyter-ipyevents-jupyterlab
ipyevents provides a custom widget for returning mouse and keyboard
@@ -89,37 +86,36 @@
This package provides the JupyterLab extension.
%prep
-%setup -q -n ipyevents-%{mainver}
+%setup -q -n ipyevents-%{version}
%build
# we install the (pure) wheel directly...
%install
-%{python_expand mkdir -p build; cp %SOURCE1 build/}
-%pyproject_install
+%pyproject_install %{SOURCE1}
%{jupyter_move_config}
%python_expand find %{buildroot}%{$python_sitelib}/ipyevents/ -type f -name
"*.py" -exec sed -i -e '/^#!\//, 1d' {} +
%python_compileall
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%fdupes %{buildroot}%{_jupyter_prefix}
-cp %{buildroot}%{python3_sitelib}/ipyevents-%{mainver}.dist-info/LICENSE.md .
+find %{buildroot}%{_prefix} -path ipyevents-%{version}.dist-info/LICENSE.md
-exec cp {} . ';' -quit
%check
%pytest
%files %{python_files}
%license LICENSE.md
-%{python_sitelib}/ipyevents-%{mainver}*-info/
+%{python_sitelib}/ipyevents-%{version}*-info/
%{python_sitelib}/ipyevents/
%files -n jupyter-ipyevents
%license LICENSE.md
-%config %{_jupyter_nb_notebook_confdir}/ipyevents.json
+%_jupyter_config %{_jupyter_nb_notebook_confdir}/ipyevents.json
%{_jupyter_nbextension_dir}/ipyevents/
%files -n jupyter-ipyevents-jupyterlab
%license LICENSE.md
-%{_jupyter_labextensions_dir}/ipyevents-%{labver}.tgz
+%{_jupyter_labextensions_dir3}/ipyevents
%changelog
++++++ ipyevents-0.8.1-gh.tar.gz -> ipyevents-2.0.1-gh.tar.gz ++++++
++++ 2911 lines of diff (skipped)