Hello community,

here is the log from the commit of package python-notebook for openSUSE:Factory 
checked in at 2020-01-29 13:18:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-notebook (Old)
 and      /work/SRC/openSUSE:Factory/.python-notebook.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-notebook"

Wed Jan 29 13:18:46 2020 rev:5 rq:768071 version:6.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-notebook/python-notebook.changes  
2019-11-29 15:58:44.480908886 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-notebook.new.26092/python-notebook.changes   
    2020-01-29 13:19:25.318201782 +0100
@@ -1,0 +2,14 @@
+Tue Jan 28 15:20:00 UTC 2020 - Todd R <[email protected]>
+
+- Update to 6.0.3
+  * Dependency updates to fix startup issues on Windows platform
+  * Add support for nbconvert 6.x
+  * Creation of recent tab
+- Use multibuild to separate out tests.
+  The tests have some heavy dependencies the main package doesn't.
+- Drop documentation. 
+  These are mostly a relic of when the tests needed to be in a
+  separate package, and since the docs are no longer versioned
+  upstream keeping them synced with the main package is difficult.
+
+-------------------------------------------------------------------

Old:
----
  jupyter-notebook.pdf
  jupyter-notebook.zip
  notebook-6.0.2.tar.gz

New:
----
  _multibuild
  notebook-6.0.3.tar.gz

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

Other differences:
------------------
++++++ python-notebook.spec ++++++
--- /var/tmp/diff_new_pack.mwjcmL/_old  2020-01-29 13:19:30.114204234 +0100
+++ /var/tmp/diff_new_pack.mwjcmL/_new  2020-01-29 13:19:30.118204236 +0100
@@ -16,27 +16,34 @@
 #
 
 
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define doc_ver 5.7.6
 %define         skip_python2 1
-Name:           python-notebook
-Version:        6.0.2
+Name:           python-notebook%{psuffix}
+Version:        6.0.3
 Release:        0
 Summary:        Jupyter Notebook interface
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/jupyter/notebook
 Source0:        
https://files.pythonhosted.org/packages/source/n/notebook/notebook-%{version}.tar.gz
-Source1:        
https://media.readthedocs.org/pdf/jupyter-notebook/%{doc_ver}/jupyter-notebook.pdf
-Source2:        
https://media.readthedocs.org/htmlzip/jupyter-notebook/%{doc_ver}/jupyter-notebook.zip
 Source100:      python-notebook-rpmlintrc
 BuildRequires:  %{python_module jupyter-core >= 4.4.0}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
+%if !%{with test}
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  jupyter-notebook-filesystem
-BuildRequires:  python-rpm-macros
-BuildRequires:  unzip
+%endif
 Requires:       jupyter-notebook = %{version}
 Requires:       python-Jinja2
 Requires:       python-Send2Trash
@@ -56,7 +63,7 @@
 Provides:       python-jupyter_notebook = %{version}
 Obsoletes:      python-jupyter_notebook < %{version}
 BuildArch:      noarch
-# SECTION test requirements
+%if %{with test}
 BuildRequires:  %{python_module Jinja2}
 BuildRequires:  %{python_module attrs >= 17.4.0}
 BuildRequires:  %{python_module Send2Trash}
@@ -77,7 +84,7 @@
 BuildRequires:  %{python_module tornado >= 5}
 BuildRequires:  %{python_module traitlets >= 4.2.1}
 BuildRequires:  pandoc
-# /SECTION
+%endif
 %python_subpackages
 
 %description
@@ -112,6 +119,8 @@
 Requires:       jupyter-notebook-filesystem
 Requires:       python3-notebook = %{version}
 Conflicts:      python3-jupyter_notebook < 5.7.8
+Provides:       jupyter-notebook-doc = %{version}
+Obsoletes:      jupyter-notebook-doc < %{version}
 
 %description -n jupyter-notebook
 The Jupyter HTML notebook is a web-based notebook environment for
@@ -146,27 +155,14 @@
 
 This package pulls in the LaTeX dependencies for the Jupyter Notebook.
 
-%package     -n jupyter-notebook-doc
-Summary:        Documentation for Jupyter's notebook
-Group:          Documentation/Other
-Provides:       %{python_module jupyter_notebook-doc = %{version}}
-Provides:       %{python_module notebook-doc = %{version}}
-Obsoletes:      %{python_module jupyter_notebook-doc < %{version}}
-
-%description -n jupyter-notebook-doc
-Documentation and help files for Jupyter's notebook.
-
 %prep
 %setup -q -n notebook-%{version}
-unzip %{SOURCE2} -d docs
-mv docs/jupyter-notebook-* docs/html
-rm docs/html/.buildinfo
-%fdupes docs/html/
 
 %build
 %python_build
 
 %install
+%if !%{with test}
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
@@ -178,18 +174,15 @@
     mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${x}x${x}/apps/
     cp docs/resources/ipynb.iconset/icon_${x}x${x}.png 
%{buildroot}%{_datadir}/icons/hicolor/${x}x${x}/apps/JupyterNotebook.png
 done
+%endif
 
-mkdir -p %{buildroot}%{_docdir}/jupyter-notebook/
-
-cp -r %{SOURCE1} %{buildroot}%{_docdir}/jupyter-notebook/
-cp -r docs/html %{buildroot}%{_docdir}/jupyter-notebook/
-
-%fdupes %{buildroot}%{_docdir}/jupyter-notebook/html/
-
+%if %{with test}
 %check
 export LANG=en_US.UTF-8
 %python_expand nosetests-%{$python_bin_suffix} -v --exclude-dir 
notebook/tests/selenium
+%endif
 
+%if !%{with test}
 %files %{python_files}
 %doc README.md
 %license LICENSE
@@ -215,11 +208,6 @@
 
 %files -n jupyter-notebook-latex
 %license LICENSE
-
-%files -n jupyter-notebook-doc
-%license LICENSE
-%dir %{_docdir}/jupyter-notebook/
-%{_docdir}/jupyter-notebook/jupyter-notebook.pdf
-%{_docdir}/jupyter-notebook/html/
+%endif
 
 %changelog

++++++ _multibuild ++++++
<multibuild>
  <package>test</package>
</multibuild>
++++++ notebook-6.0.2.tar.gz -> notebook-6.0.3.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-notebook/notebook-6.0.2.tar.gz 
/work/SRC/openSUSE:Factory/.python-notebook.new.26092/notebook-6.0.3.tar.gz 
differ: char 5, line 1


Reply via email to