Hello community,

here is the log from the commit of package python3-jupyter_notebook for 
openSUSE:Factory checked in at 2015-11-18 22:34:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-jupyter_notebook (Old)
 and      /work/SRC/openSUSE:Factory/.python3-jupyter_notebook.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-jupyter_notebook"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python3-jupyter_notebook/python3-jupyter_notebook.changes
        2015-09-30 05:51:21.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python3-jupyter_notebook.new/python3-jupyter_notebook.changes
   2015-11-18 22:34:31.000000000 +0100
@@ -1,0 +2,27 @@
+Mon Nov  9 15:14:25 UTC 2015 - toddrme2...@gmail.com
+
+- BuildConflicts: python3-buildservice-tweak
+
+-------------------------------------------------------------------
+Thu Oct 22 13:35:02 UTC 2015 - toddrme2...@gmail.com
+
+- Don't try to build documentation on openSUSE 13.1, 
+  it lacks necessary packages.
+
+-------------------------------------------------------------------
+Sat Oct 10 16:27:34 UTC 2015 - a...@gmx.de
+
+- specfile:
+  * filename change: tgz->tar.gz
+
+- update to version 4.0.6:
+  * fix installation of mathjax support files
+  * fix some double-escape regressions in 4.0.5
+  * fix a couple of cases where errors could prevent opening a notebook
+
+-------------------------------------------------------------------
+Mon Oct  5 10:01:17 UTC 2015 - toddrme2...@gmail.com
+
+- Build documentation
+
+-------------------------------------------------------------------

Old:
----
  notebook-4.0.5.tgz

New:
----
  notebook-4.0.6.tar.gz

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

Other differences:
------------------
++++++ python3-jupyter_notebook.spec ++++++
--- /var/tmp/diff_new_pack.xWCmFk/_old  2015-11-18 22:34:32.000000000 +0100
+++ /var/tmp/diff_new_pack.xWCmFk/_new  2015-11-18 22:34:32.000000000 +0100
@@ -17,13 +17,13 @@
 
 
 Name:           python3-jupyter_notebook
-Version:        4.0.5
+Version:        4.0.6
 Release:        0
 Summary:        Jupyter Notebook
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 Url:            http://jupyter.org
-Source:         
https://pypi.python.org/packages/source/n/notebook/notebook-%{version}.tgz
+Source:         
https://pypi.python.org/packages/source/n/notebook/notebook-%{version}.tar.gz
 BuildRequires:  python3-Jinja2
 BuildRequires:  python3-devel
 BuildRequires:  python3-ipython_genutils
@@ -39,6 +39,13 @@
 # Test requirements
 BuildRequires:  python3-nose
 BuildRequires:  python3-requests
+%if 0%{?suse_version} && 0%{?suse_version} > 1315
+# Documentation requirements
+BuildRequires:  pandoc
+BuildRequires:  python3-Sphinx
+BuildRequires:  python3-Sphinx-latex
+%endif
+BuildConflicts: python3-buildservice-tweak
 Requires:       python3-Jinja2
 Requires:       python3-ipython_genutils
 Requires:       python3-jupyter_client
@@ -58,6 +65,21 @@
 %description
 The Jupyter HTML notebook is a web-based notebook environment for interactive 
computing.
 
+%package doc-html
+Summary:        HTML documentation for %{name}
+Group:          Development/Languages/Python
+Recommends:     %{name} = %{version}
+
+%description doc-html
+Documentation and help files for %{name} in HTML format
+
+%package doc-pdf
+Summary:        HTML documentation for %{name}
+Group:          Development/Languages/Python
+Recommends:     %{name} = %{version}
+
+%description doc-pdf
+Documentation and help files for %{name} in PDF format
 
 %prep
 %setup -q -n notebook-%{version}
@@ -68,15 +90,30 @@
 %install
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
+mv %{buildroot}%{_bindir}/jupyter-notebook 
%{buildroot}%{_bindir}/jupyter3-notebook
+mv %{buildroot}%{_bindir}/jupyter-nbextension 
%{buildroot}%{_bindir}/jupyter3-nbextension
+
+ln -s -f %{_bindir}/jupyter3-notebook 
%{buildroot}%{_bindir}/jupyter-notebook-%{py3_ver}
+ln -s -f %{_bindir}/jupyter3-nbextension 
%{buildroot}%{_bindir}/jupyter-nbextension-%{py3_ver}
+
 # Prepare for update-alternatives usage
 mkdir -p %{buildroot}%{_sysconfdir}/alternatives
 for p in jupyter-notebook jupyter-nbextension ; do
-    mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py3_ver}
     ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
     # create a dummy target for /etc/alternatives/$p
     touch %{buildroot}%{_sysconfdir}/alternatives/$p
 done
 
+%if 0%{?suse_version} && 0%{?suse_version} > 1315
+# Build the documentation
+pushd docs
+# PDF documentation currently doesn't build
+# PYTHONPATH=%{buildroot}%{python3_sitelib} make latexpdf
+PYTHONPATH=%{buildroot}%{python3_sitelib} make html
+rm -rf build/html/.buildinfo
+popd
+%endif
+
 %post
 %_sbindir/update-alternatives \
    --install %{_bindir}/jupyter-notebook jupyter-notebook 
%{_bindir}/jupyter-notebook-%{py3_ver} 30 \
@@ -95,11 +132,25 @@
 %defattr(-,root,root,-)
 %doc CONTRIBUTING.md COPYING.md README.md
 %{_bindir}/jupyter-nbextension
-%{_bindir}/jupyter-notebook
+%{_bindir}/jupyter3-nbextension
 %{_bindir}/jupyter-nbextension-%{py3_ver}
-%{_bindir}/jupyter-notebook-%{py3_ver}
 %ghost %{_sysconfdir}/alternatives/jupyter-nbextension
+%{_bindir}/jupyter-notebook
+%{_bindir}/jupyter3-notebook
+%{_bindir}/jupyter-notebook-%{py3_ver}
 %ghost %{_sysconfdir}/alternatives/jupyter-notebook
 %{python3_sitelib}/*
 
+%if 0%{?suse_version} && 0%{?suse_version} > 1315
+%files doc-html
+%defattr(-,root,root,-)
+%doc COPYING.md
+%doc docs/build/html/
+
+# %files doc-pdf
+# %defattr(-,root,root,-)
+# %doc COPYING.md
+# %doc docs/build/latex/*.pdf
+%endif
+
 %changelog


Reply via email to