Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sidecar for openSUSE:Factory 
checked in at 2021-03-30 20:59:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sidecar (Old)
 and      /work/SRC/openSUSE:Factory/.python-sidecar.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sidecar"

Tue Mar 30 20:59:45 2021 rev:4 rq:869703 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sidecar/python-sidecar.changes    
2020-01-16 18:20:33.220951491 +0100
+++ /work/SRC/openSUSE:Factory/.python-sidecar.new.2401/python-sidecar.changes  
2021-03-30 20:59:46.348676554 +0200
@@ -1,0 +2,9 @@
+Thu Feb  4 10:19:54 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Update to version 0.5.0
+  * no upstream changelog
+  * Update to JupyterLab 3
+- Fix new wheel location for pyproject_install
+- Remove unused test requirements
+
+-------------------------------------------------------------------

Old:
----
  sidecar-0.2.0-py2.py3-none-any.whl

New:
----
  sidecar-0.5.0-py2.py3-none-any.whl

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-sidecar.spec ++++++
--- /var/tmp/diff_new_pack.uaN40J/_old  2021-03-30 20:59:47.708678048 +0200
+++ /var/tmp/diff_new_pack.uaN40J/_new  2021-03-30 20:59:47.712678052 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sidecar
 #
-# 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,35 +12,32 @@
 # 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-sidecar
-%define mainver 0.2.0
-%define labver  0.3.0
+%define mainver 0.5.0
+%define labver  0.6.0
 Version:        %{mainver}
 Release:        0
-License:        BSD-3-Clause
 Summary:        A sidecar output widget for JupyterLab
-Url:            https://github.com/jupyter-widgets/jupyterlab-sidecar
+License:        BSD-3-Clause
 Group:          Development/Languages/Python
+URL:            https://github.com/jupyter-widgets/jupyterlab-sidecar
 Source:         
https://files.pythonhosted.org/packages/py2.py3/s/sidecar/sidecar-%{mainver}-py2.py3-none-any.whl
 
-BuildRequires:  python-rpm-macros
-BuildRequires:  jupyter-jupyterlab-filesystem
-BuildRequires:  %{python_module pip}
-# SECTION test requirements
 BuildRequires:  %{python_module ipywidgets >= 7.0.0}
-BuildRequires:  %{python_module nbval}
-BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module pytest-cov}
-BuildRequires:  %{python_module pytest-check-links}
-# /SECTION
+BuildRequires:  %{python_module jupyterlab >= 3.0.0}
+BuildRequires:  %{python_module pip}
 BuildRequires:  fdupes
-Requires:       python-ipywidgets >= 7.0.0
-Requires:       jupyter-jupyterlab
+BuildRequires:  jupyter-jupyter_core-filesystem
+BuildRequires:  jupyter-jupyterlab-filesystem
+BuildRequires:  python-rpm-macros
 Requires:       jupyter-sidecar-jupyterlab = %{labver}
+Requires:       python-ipywidgets >= 7.6.0
+Requires:       python-jupyterlab >= 3.0.0
 BuildArch:      noarch
 
 %python_subpackages
@@ -52,8 +49,10 @@
 
 %package     -n jupyter-sidecar-jupyterlab
 Summary:        A sidecar output widget for JupyterLab
+Group:          Development/Languages/Python
 Version:        %{labver}
-Requires:       jupyter-jupyterlab
+Release:        0
+Requires:       jupyter-jupyterlab >= 3.0.0
 Requires:       python3-sidecar = %{mainver}
 
 %description -n jupyter-sidecar-jupyterlab
@@ -68,17 +67,25 @@
 # Not needed
 
 %install
-cp -a %{SOURCE0} .
+%{python_expand mkdir build; cp -a %{SOURCE0} build/}
 %pyproject_install
+%python_expand find %{buildroot}%{$python_sitelib} -name '*.py' -exec sed -i 
'1{/^#!.*env/ d}' {} \;
+%python_compileall
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 cp %{buildroot}%{python3_sitelib}/sidecar-%{mainver}.dist-info/LICENSE.txt .
 
+#%%check
+# Tests need online connection using jlpm
+
 %files %{python_files}
-%license %{python_sitelib}/sidecar-%{mainver}.dist-info/LICENSE.txt
+%license LICENSE.txt
 %{python_sitelib}/sidecar-%{mainver}.dist-info/
 %{python_sitelib}/sidecar/
 
 %files -n jupyter-sidecar-jupyterlab
 %license LICENSE.txt
-%{_jupyter_labextensions_dir}/jupyter-widgets-jupyterlab-sidecar-%{labver}.tgz
+%dir %{_jupyter_prefix}/labextensions
+%dir %{_jupyter_prefix}/labextensions/@jupyter-widgets
+%{_jupyter_prefix}/labextensions/@jupyter-widgets/jupyterlab-sidecar
 
 %changelog

Reply via email to