Hello community, here is the log from the commit of package python-jupyter for openSUSE:Factory checked in at 2015-10-19 22:48:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jupyter (Old) and /work/SRC/openSUSE:Factory/.python-jupyter.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter" Changes: -------- --- /work/SRC/openSUSE:Factory/python-jupyter/python-jupyter.changes 2015-09-30 05:50:17.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-jupyter.new/python-jupyter.changes 2015-10-19 22:48:55.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Oct 5 16:41:50 UTC 2015 - [email protected] + +- Build documentation + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jupyter.spec ++++++ --- /var/tmp/diff_new_pack.BX4hL9/_old 2015-10-19 22:48:55.000000000 +0200 +++ /var/tmp/diff_new_pack.BX4hL9/_new 2015-10-19 22:48:55.000000000 +0200 @@ -32,6 +32,11 @@ BuildRequires: python-jupyter_nbconvert BuildRequires: python-jupyter_notebook BuildRequires: python-jupyter_qtconsole +# Documentation requirements +BuildRequires: python-Sphinx +%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 1110 ) +BuildRequires: python-Sphinx-latex +%endif Requires: python-jupyter_core Recommends: python-jupyter_console Recommends: python-jupyter_ipykernel @@ -49,7 +54,30 @@ %endif %description -Install the Jupyter system, including the notebook, qtconsole, and the IPython kernel. +Jupyter is an environment for interactive computing in multiple languages. +It includes a console, a browser-based notebook format, and support for +dozens of languages through the use of language-specific kernels. + +Jupyter is an evolution and modularization of the IPython project, separating +out the python3-specific parts from the language-agnostic parts. + +This package pulls in the main Jupyter system, including the notebook, +qtconsole, and the IPython kernel. Additional components and kernels +can be installed separately. + +%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 jupyter-%{version} @@ -60,9 +88,33 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +# Build the documentation +pushd docs +export JUPYTER_PATH='%{jupyter_path}' +export PYTHONPATH=%{buildroot}%{python_sitelib} +# PDF documentation currently doesn't build +# %if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 1110 ) +# make latexpdf +# %endif +make html +rm -rf build/html/.buildinfo +popd + %files %defattr(-,root,root,-) %doc LICENSE README.md %{python_sitelib}/* +%files doc-html +%defattr(-,root,root,-) +%doc LICENSE +%doc docs/build/html/ + +# if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 1110 ) +# %files doc-pdf +# %defattr(-,root,root,-) +# %doc LICENSE +# oc docs/build/latex/*.pdf +# %endif + %changelog
