Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-jupyterlab-templates for 
openSUSE:Factory checked in at 2023-04-24 22:31:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyterlab-templates (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyterlab-templates.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyterlab-templates"

Mon Apr 24 22:31:15 2023 rev:8 rq:1082512 version:0.4.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyterlab-templates/python-jupyterlab-templates.changes
  2023-01-04 17:52:56.594302031 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jupyterlab-templates.new.1533/python-jupyterlab-templates.changes
        2023-04-24 22:31:27.695599212 +0200
@@ -1,0 +2,13 @@
+Sun Apr 23 20:36:04 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 0.4.0
+  * fix manifest to exclude node_modules and built assets by
+    @timkpaine in #177
+  * Clean up references and add files for FINOS move by @timkpaine
+    in #181
+  * add security checks, add license checks, prune docs by
+    @timkpaine in #180
+  * fixes #167 for new jupyter-server by @timkpaine in #200
+  * Use nb server logging instead of print by @toslunar in #202
+
+-------------------------------------------------------------------

Old:
----
  jupyterlab_templates-0.3.2-py2.py3-none-any.whl

New:
----
  jupyterlab_templates-0.4.0-py3-none-any.whl

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

Other differences:
------------------
++++++ python-jupyterlab-templates.spec ++++++
--- /var/tmp/diff_new_pack.UwMmBO/_old  2023-04-24 22:31:28.315602897 +0200
+++ /var/tmp/diff_new_pack.UwMmBO/_new  2023-04-24 22:31:28.319602921 +0200
@@ -16,16 +16,18 @@
 #
 
 
-%define         skip_python2 1
+%define anypython python3dist
+%define pyver 0.4.0
+%define distver 0.4
 Name:           python-jupyterlab-templates
-Version:        0.3.2
+Version:        %{pyver}
 Release:        0
 Summary:        Templates for notebooks in JupyterLab
 License:        Apache-2.0
 URL:            https://github.com/finos/jupyterlab_templates
-Source:         
https://files.pythonhosted.org/packages/py2.py3/j/jupyterlab-templates/jupyterlab_templates-%{version}-py2.py3-none-any.whl
+Source:         
https://files.pythonhosted.org/packages/py3/j/jupyterlab-templates/jupyterlab_templates-%{version}-py3-none-any.whl
 BuildRequires:  %{python_module base >= 3.7}
-BuildRequires:  %{python_module jupyterlab >= 3.0.0}
+BuildRequires:  %{python_module jupyterlab >= 3.5.0}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  fdupes
@@ -33,7 +35,7 @@
 BuildRequires:  jupyter-notebook-filesystem
 BuildRequires:  python-rpm-macros
 Requires:       jupyter-jupyterlab-templates = %{version}
-Requires:       python-jupyterlab >= 3.0.0
+Requires:       python-jupyterlab >= 3.5
 Conflicts:      jupyter-jupyterlab_templates < %{version}
 Provides:       python-jupyter_jupyterlab_templates = %{version}
 Obsoletes:      python-jupyter_jupyterlab_templates < %{version}
@@ -46,7 +48,7 @@
 %package     -n jupyter-jupyterlab-templates
 Summary:        Templates for notebooks in JupyterLab
 Requires:       jupyter-jupyterlab >= 1.0.0
-Requires:       python3-jupyterlab-templates = %{version}
+Requires:       %anypython(jupyterlab-templates) = %{distver}
 Provides:       jupyter-jupyterlab_templates = %{version}
 Obsoletes:      jupyter-jupyterlab_templates < %{version}
 
@@ -61,30 +63,24 @@
 
 %install
 %pyproject_install
-%{python_expand #
-sed -i 's/^from mock/from unittest.mock/' 
%{buildroot}%{$python_sitelib}/jupyterlab_templates/tests/test_extension.py
-# remove invalid PEP440 specifier: pythondistdeps.py chokes on it
-sed -i '/black/d' 
%{buildroot}%{$python_sitelib}/jupyterlab_templates-%{version}.dist-info/METADATA
-}
-%python_compileall
 %jupyter_move_config
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %fdupes %{buildroot}%{_jupyter_prefix}
+find  %{buildroot} -path 
'*/jupyterlab_templates-%{version}.dist-info/licenses' -exec cp -r {} ./ ';' 
-quit
 
-cp 
%{buildroot}%{python3_sitelib}/jupyterlab_templates-%{version}.dist-info/LICENSE
 .
+%check
+%pytest --pyargs jupyterlab_templates
 
 %files %{python_files}
-%license LICENSE
+%license licenses/*
 %{python_sitelib}/jupyterlab_templates-%{version}.dist-info/
 %{python_sitelib}/jupyterlab_templates/
 
-%check
-%pytest --pyargs jupyterlab_templates
-
 %files -n jupyter-jupyterlab-templates
-%license LICENSE
+%license licenses/*
 %_jupyter_config %{_jupyter_server_confdir}/jupyterlab_templates.json
-%dir %{_jupyter_prefix}/labextensions
 %{_jupyter_prefix}/labextensions/jupyterlab_templates
+%dir %{_jupyter_prefix}/notebook
+%{_jupyter_prefix}/notebook/jupyterlab_templates
 
 %changelog

Reply via email to