Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-ipyscales for
openSUSE:Factory checked in at 2023-01-09 17:23:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ipyscales (Old)
and /work/SRC/openSUSE:Factory/.python-ipyscales.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ipyscales"
Mon Jan 9 17:23:31 2023 rev:5 rq:1056905 version:unknown
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ipyscales/python-ipyscales.changes
2022-05-12 22:59:49.340753461 +0200
+++
/work/SRC/openSUSE:Factory/.python-ipyscales.new.32243/python-ipyscales.changes
2023-01-09 17:23:32.651070720 +0100
@@ -1,0 +2,8 @@
+Sun Jan 8 16:08:54 UTC 2023 - Ben Greiner <[email protected]>
+
+- Update to 0.7.0 with jupyter-scale 3.3.0
+ * no release notes
+- Fix gh#vidartf/ipyscales#29
+- Cleanup jupyter-* packages
+
+-------------------------------------------------------------------
@@ -4 +12 @@
-- Update to 0.6.0 with jupyter-scales 3.20
+- Update to 0.6.0 with jupyter-scales 3.2.0
Old:
----
ipyscales-0.6.0-py2.py3-none-any.whl
New:
----
ipyscales-0.7.0-py2.py3-none-any.whl
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ipyscales.spec ++++++
--- /var/tmp/diff_new_pack.vJy14J/_old 2023-01-09 17:23:33.095073232 +0100
+++ /var/tmp/diff_new_pack.vJy14J/_new 2023-01-09 17:23:33.099073255 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-ipyscales
#
-# Copyright (c) 2022 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,9 +16,8 @@
#
-%{?!python_module:%define python_module() python3-%{**}}
-%define mainver 0.6.0
-%define labver 3.2.0
+%define mainver 0.7.0
+%define labver 3.3.0
%define skip_python2 1
Name: python-ipyscales
Version: %{mainver}
@@ -56,13 +55,10 @@
%package -n jupyter-ipyscales
Summary: A Jupyter widget library for scales
-Requires: jupyter-ipyscales = %{version}
Requires: jupyter-notebook >= 4.0.0
-Requires(post): jupyter-notebook
-Requires(post): jupyter-ipywidgets >= 7.0.0
-Requires(preun):jupyter-notebook
-Requires(preun):jupyter-ipywidgets >= 7.0.0
Conflicts: python3-jupyter_ipyscales < 0.4.0
+# any flavor is okay
+Requires: (%(echo "%{python_module ipyscales = %{mainver}@or@}" | sed
"s/@or@/ or /g" | sed 's/ or\s*$//'))
%description -n jupyter-ipyscales
A Jupyter/IPython widget library for scales.
@@ -73,9 +69,8 @@
Version: %{labver}
Summary: A JupyterLab widget library for scales
Requires: jupyter-jupyterlab
-Requires: python3-ipyscales = %{mainver}
-Provides: python3-jupyter_ipyscales_jupyterlab = %{labver}-%{release}
-Obsoletes: python3-jupyter_ipyscales_jupyterlab < %{labver}-%{release}
+# any flavor is okay
+Requires: (%(echo "%{python_module ipyscales = %{mainver}@or@}" | sed
"s/@or@/ or /g" | sed 's/ or\s*$//'))
%description -n jupyter-jupyterlab-ipyscales
A Jupyter/IPython widget library for scales.
@@ -89,18 +84,25 @@
%setup -q -c -T
%build
+# must use upstream wheel: npm build requires online connection
+:
%install
%pyproject_install %{SOURCE0}
-%{python_expand #
-find %{buildroot}%{$python_sitelib} -name '*.py' \
+builddir=${PWD}
+%{python_expand # must patch everything after installing from wheel
+pushd %{buildroot}%{$python_sitelib}
+cp ipyscales-%{mainver}.dist-info/LICENSE.txt ${builddir}
+find ipyscales -name '*.py' \
-exec dos2unix '{}' ';' \
-exec sed -i '1{/env python/ d}' '{}' ';'
-%fdupes %{buildroot}%{$python_sitelib}
+# gh#vidartf/ipyscales#29
+sed -i 's/np.float/float/' ipyscales/tests/test_colorarray.py
+popd
}
-
-%{jupyter_move_config}
-cp %{buildroot}%{python3_sitelib}/ipyscales-%{mainver}.dist-info/LICENSE.txt .
+%python_compileall
+%jupyter_move_config
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%fdupes %{buildroot}%{_jupyter_prefix}
%check