Hello community,

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

Package is "python-jupyter_notebook"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter_notebook/python-jupyter_notebook.changes
  2015-09-30 05:51:24.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_notebook.new/python-jupyter_notebook.changes
     2015-11-18 22:34:02.000000000 +0100
@@ -1,0 +2,15 @@
+Mon Oct 12 13:43:57 UTC 2015 - toddrme2...@gmail.com
+
+- 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
+- specfile:
+  * filename change: tgz->tar.gz
+  
+-------------------------------------------------------------------
+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:
------------------
++++++ python-jupyter_notebook.spec ++++++
--- /var/tmp/diff_new_pack.DmVnYC/_old  2015-11-18 22:34:03.000000000 +0100
+++ /var/tmp/diff_new_pack.DmVnYC/_new  2015-11-18 22:34:03.000000000 +0100
@@ -17,13 +17,13 @@
 
 
 Name:           python-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:  python-Jinja2
 BuildRequires:  python-devel
 BuildRequires:  python-ipython_genutils
@@ -41,6 +41,12 @@
 BuildRequires:  python-requests
 # Python 2.7 test requirements
 BuildRequires:  python-mock
+# Documentation requirements
+BuildRequires:  python-Sphinx
+%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
+BuildRequires:  pandoc
+BuildRequires:  python-Sphinx-latex
+%endif
 Requires:       python-Jinja2
 Requires:       python-ipython_genutils
 Requires:       python-jupyter_client
@@ -64,6 +70,19 @@
 %description
 The Jupyter HTML notebook is a web-based notebook environment for interactive 
computing.
 
+%package doc-html
+Summary:        HTML documentation for %{name}
+Recommends:     %{name} = %{version}
+
+%description doc-html
+Documentation and help files for %{name} in HTML format
+
+%package doc-pdf
+Summary:        HTML documentation for %{name}
+Recommends:     %{name} = %{version}
+
+%description doc-pdf
+Documentation and help files for %{name} in PDF format
 
 %prep
 %setup -q -n notebook-%{version}
@@ -74,15 +93,31 @@
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
+mv %{buildroot}%{_bindir}/jupyter-notebook 
%{buildroot}%{_bindir}/jupyter2-notebook
+mv %{buildroot}%{_bindir}/jupyter-nbextension 
%{buildroot}%{_bindir}/jupyter2-nbextension
+
+ln -s -f %{_bindir}/jupyter2-notebook 
%{buildroot}%{_bindir}/jupyter-notebook-%{py_ver}
+ln -s -f %{_bindir}/jupyter2-nbextension 
%{buildroot}%{_bindir}/jupyter-nbextension-%{py_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-%{py_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 && 0%{?suse_version} > 
1110 )
+# Build the documentation
+pushd docs
+sed -i -s 's/  python3 /       python /' Makefile
+# PDF documentation currently doesn't build
+# PYTHONPATH=%{buildroot}%{python_sitelib} make latexpdf
+PYTHONPATH=%{buildroot}%{python_sitelib} make html
+rm -rf build/html/.buildinfo
+popd
+%endif
+
 %post
 %_sbindir/update-alternatives \
    --install %{_bindir}/jupyter-notebook jupyter-notebook 
%{_bindir}/jupyter-notebook-%{py_ver} 30 \
@@ -101,11 +136,25 @@
 %defattr(-,root,root,-)
 %doc CONTRIBUTING.md COPYING.md README.md
 %{_bindir}/jupyter-nbextension
-%{_bindir}/jupyter-notebook
+%{_bindir}/jupyter2-nbextension
 %{_bindir}/jupyter-nbextension-%{py_ver}
-%{_bindir}/jupyter-notebook-%{py_ver}
 %ghost %{_sysconfdir}/alternatives/jupyter-nbextension
+%{_bindir}/jupyter-notebook
+%{_bindir}/jupyter2-notebook
+%{_bindir}/jupyter-notebook-%{py_ver}
 %ghost %{_sysconfdir}/alternatives/jupyter-notebook
 %{python_sitelib}/*
 
+%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
+%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