Hello community,

here is the log from the commit of package python3-jupyter_qtconsole for 
openSUSE:Factory checked in at 2015-10-12 10:01:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-jupyter_qtconsole (Old)
 and      /work/SRC/openSUSE:Factory/.python3-jupyter_qtconsole.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-jupyter_qtconsole"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python3-jupyter_qtconsole/python3-jupyter_qtconsole.changes
      2015-09-30 05:49:55.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python3-jupyter_qtconsole.new/python3-jupyter_qtconsole.changes
 2015-10-12 10:01:50.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Oct  5 10:01:17 UTC 2015 - toddrme2...@gmail.com
+
+- Build documentation
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python3-jupyter_qtconsole.spec ++++++
--- /var/tmp/diff_new_pack.KAviba/_old  2015-10-12 10:01:50.000000000 +0200
+++ /var/tmp/diff_new_pack.KAviba/_new  2015-10-12 10:01:50.000000000 +0200
@@ -43,6 +43,11 @@
 %if 0%{?suse_version} >= 1320
 BuildRequires:  python3-qt5
 %endif
+# Documentation requirements
+BuildRequires:  python3-Sphinx
+%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
+BuildRequires:  python3-Sphinx-latex
+%endif
 Requires:       hicolor-icon-theme
 Requires:       python3-Pygments
 Requires:       python3-jupyter_client
@@ -66,6 +71,20 @@
 A rich Qt-based console for working with Jupyter kernels,
 supporting rich media output, session export, and more.
 
+%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 qtconsole-%{version}
 
@@ -76,9 +95,11 @@
 export LANG=en_US.UTF-8
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
+mv %{buildroot}%{_bindir}/jupyter-qtconsole 
%{buildroot}%{_bindir}/jupyter3-qtconsole
+ln -s -f %{_bindir}/jupyter3-qtconsole 
%{buildroot}%{_bindir}/jupyter-qtconsole-%{py3_ver}
+
 # Prepare for update-alternatives usage
 mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-mv %{buildroot}%{_bindir}/jupyter-qtconsole 
%{buildroot}%{_bindir}/jupyter-qtconsole-%{py3_ver}
 ln -s -f %{_sysconfdir}/alternatives/jupyter-qtconsole 
%{buildroot}%{_bindir}/jupyter-qtconsole
 # create a dummy target for /etc/alternatives/jupyter-qtconsole
 touch %{buildroot}%{_sysconfdir}/alternatives/jupyter-qtconsole
@@ -92,6 +113,15 @@
 desktop-file-edit --set-comment="Jupyter qtconsole for Python %{py3_ver}" 
--set-name="Jupyter Qt console for Python %{py3_ver}" 
--set-generic-name="Jupyter shell for Python %{py3_ver}" --set-key="Exec" 
--set-value="jupyter-qtconsole-%{py3_ver}" 
--set-icon="JupyterQtConsole-%{py3_ver}" jupyter-qtconsole-%{py3_ver}.desktop
 %suse_update_desktop_file -i -r jupyter-qtconsole-%{py3_ver} 
"System;TerminalEmulator;"
 
+# Build the documentation
+pushd docs
+%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
+PYTHONPATH=%{buildroot}%{python3_sitelib} make latexpdf
+%endif
+PYTHONPATH=%{buildroot}%{python3_sitelib} make html
+rm -rf build/html/.buildinfo
+popd
+
 %post
 %_sbindir/update-alternatives \
    --install %{_bindir}/jupyter-qtconsole jupyter-qtconsole 
%{_bindir}/jupyter-qtconsole-%{py3_ver} 30
@@ -111,11 +141,25 @@
 %files
 %defattr(-,root,root,-)
 %doc COPYING.md README.md
+%doc examples
 %{_bindir}/jupyter-qtconsole
+%{_bindir}/jupyter3-qtconsole
 %{_bindir}/jupyter-qtconsole-%{py3_ver}
 %ghost %{_sysconfdir}/alternatives/jupyter-qtconsole
 %{_datadir}/applications/jupyter-qtconsole-%{py3_ver}.desktop
 %{_datadir}/icons/hicolor/scalable/apps/JupyterQtConsole-%{py3_ver}.svg
 %{python3_sitelib}/*
 
+%files doc-html
+%defattr(-,root,root,-)
+%doc COPYING.md
+%doc docs/build/html/
+
+%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
+%files doc-pdf
+%defattr(-,root,root,-)
+%doc COPYING.md
+%doc docs/build/latex/*.pdf
+%endif
+
 %changelog


Reply via email to