Hello community, here is the log from the commit of package python3-jupyter for openSUSE:Factory checked in at 2016-05-25 21:28:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-jupyter (Old) and /work/SRC/openSUSE:Factory/.python3-jupyter.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-jupyter" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-jupyter/python3-jupyter.changes 2015-10-26 12:48:47.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python3-jupyter.new/python3-jupyter.changes 2016-05-25 21:28:12.000000000 +0200 @@ -1,0 +2,12 @@ +Fri May 20 19:26:15 UTC 2016 - [email protected] + +- Remove jupyter.py since it is now provided by python3-jupyter_core. + +------------------------------------------------------------------- +Sun May 8 07:13:25 UTC 2016 - [email protected] + +- specfile: + * updated source url to files.pythonhosted.org + + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-jupyter.spec ++++++ --- /var/tmp/diff_new_pack.AoF79W/_old 2016-05-25 21:28:13.000000000 +0200 +++ /var/tmp/diff_new_pack.AoF79W/_new 2016-05-25 21:28:13.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python3-jupyter # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -13,16 +13,25 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 1110 ) +# PDF documentation currently broken +# %define build_pdf 1 +%define build_pdf 0 +%else +%define build_pdf 0 +%endif Name: python3-jupyter Version: 1.0.0 Release: 0 -License: BSD-3-Clause Summary: Environment for interactive computing -Url: http://jupyter.org +License: BSD-3-Clause Group: Development/Languages/Python -Source: https://pypi.python.org/packages/source/j/jupyter/jupyter-%{version}.tar.gz +Url: http://jupyter.org +Source: https://files.pythonhosted.org/packages/source/j/jupyter/jupyter-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-jupyter_console BuildRequires: python3-jupyter_core @@ -33,7 +42,7 @@ BuildRequires: python3-jupyter_qtconsole # Documentation requirements BuildRequires: python3-Sphinx -%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 1110 ) +%if %{build_pdf} BuildRequires: python3-Sphinx-latex %endif Requires: python3-jupyter_core @@ -60,6 +69,7 @@ %package doc-html Summary: HTML documentation for %{name} +Group: Development/Languages/Python Recommends: %{name} = %{version} %description doc-html @@ -67,6 +77,7 @@ %package doc-pdf Summary: HTML documentation for %{name} +Group: Development/Languages/Python Recommends: %{name} = %{version} %description doc-pdf @@ -85,29 +96,30 @@ pushd docs export JUPYTER_PATH='%{jupyter_path}' export PYTHONPATH=%{buildroot}%{python3_sitelib} -# PDF documentation currently doesn't build -# %if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 1110 ) -# make latexpdf -# %endif +%if %{build_pdf} +make latexpdf +%endif make html rm -rf build/html/.buildinfo popd +rm -rf %{buildroot}%{python3_sitelib}/jupyter.py +rm -rf %{buildroot}%{python3_sitelib}/__pycache__/jupyter.*.pyc %files %defattr(-,root,root,-) %doc LICENSE README.md -%{python3_sitelib}/* +%{python3_sitelib}/jupyter-%{version}-py*.egg-info %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 +%if %{build_pdf} +%files doc-pdf +%defattr(-,root,root,-) +%doc LICENSE +%doc docs/build/latex/*.pdf +%endif %changelog
