Hello community,
here is the log from the commit of package python3-jupyter_nbformat for
openSUSE:Factory checked in at 2016-05-25 21:27:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-jupyter_nbformat (Old)
and /work/SRC/openSUSE:Factory/.python3-jupyter_nbformat.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-jupyter_nbformat"
Changes:
--------
New Changes file:
--- /dev/null 2016-04-07 01:36:33.300037506 +0200
+++
/work/SRC/openSUSE:Factory/.python3-jupyter_nbformat.new/python3-jupyter_nbformat-doc.changes
2016-05-25 21:27:44.000000000 +0200
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Tue May 17 19:14:01 UTC 2016 - [email protected]
+
+- Split documentation into own subpackage to speed up build.
+
---
/work/SRC/openSUSE:Factory/python3-jupyter_nbformat/python3-jupyter_nbformat.changes
2015-10-20 00:04:08.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python3-jupyter_nbformat.new/python3-jupyter_nbformat.changes
2016-05-25 21:27:44.000000000 +0200
@@ -1,0 +2,12 @@
+Tue May 17 19:14:01 UTC 2016 - [email protected]
+
+- Split documentation into own subpackage to speed up build.
+
+-------------------------------------------------------------------
+Sun May 8 07:13:08 UTC 2016 - [email protected]
+
+- specfile:
+ * updated source url to files.pythonhosted.org
+
+
+-------------------------------------------------------------------
New:
----
python3-jupyter_nbformat-doc.changes
python3-jupyter_nbformat-doc.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-jupyter_nbformat-doc.spec ++++++
#
# spec file for package python3-jupyter_nbformat-doc
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# 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 )
%define build_pdf 1
%else
%define build_pdf 0
%endif
Name: python3-jupyter_nbformat-doc
Version: 4.0.1
Release: 0
Summary: Documentation for python3-jupyter_nbformat
License: BSD-3-Clause
Group: Documentation/Other
Url: http://jupyter.org
Source:
https://files.pythonhosted.org/packages/source/n/nbformat/nbformat-%{version}.tar.gz
BuildRequires: python3-jupyter_nbformat
# Documentation requirements
BuildRequires: python3-Sphinx
BuildRequires: python3-numpydoc
%if %{build_pdf}
BuildRequires: python3-Sphinx-latex
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Documentation and help files for python3-jupyter_nbformat.
%package html
Summary: HTML documentation for python3-jupyter_nbformat
Group: Documentation/HTML
Recommends: python3-jupyter_nbformat = %{version}
%description html
Documentation and help files for python3-jupyter_nbformat in HTML format.
%package pdf
Summary: PDF documentation for python3-jupyter_nbformat
Group: Documentation/PDF
Recommends: python3-jupyter_nbformat = %{version}
%description pdf
Documentation and help files for python3-jupyter_nbformat in PDF format.
%prep
%setup -q -n nbformat-%{version}
%build
# Not needed
%install
# Build the documentation
pushd docs
PYTHONPATH=%{buildroot}%{python3_sitelib} make html
%if %{build_pdf}
PYTHONPATH=%{buildroot}%{python3_sitelib} make latexpdf
%endif
rm -rf _build/html/.buildinfo
%files html
%defattr(-,root,root,-)
%doc COPYING.md
%doc docs/_build/html/
%if %{build_pdf}
%files pdf
%defattr(-,root,root,-)
%doc COPYING.md
%doc docs/_build/latex/*.pdf
%endif
%changelog
++++++ python3-jupyter_nbformat.spec ++++++
--- /var/tmp/diff_new_pack.4gZ4PH/_old 2016-05-25 21:27:45.000000000 +0200
+++ /var/tmp/diff_new_pack.4gZ4PH/_new 2016-05-25 21:27:45.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python3-jupyter_nbformat
#
-# Copyright (c) 2015 SUSE LINUX 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
@@ -23,7 +23,7 @@
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://jupyter.org
-Source:
https://pypi.python.org/packages/source/n/nbformat/nbformat-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/n/nbformat/nbformat-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-ipython_genutils
BuildRequires: python3-jsonschema > 2.5.0
@@ -32,12 +32,6 @@
BuildRequires: python3-traitlets
# Test requirements
BuildRequires: python3-nose
-# Documentation requirements
-BuildRequires: python3-Sphinx
-BuildRequires: python3-numpydoc
-%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} >
1110 )
-BuildRequires: python3-Sphinx-latex
-%endif
Requires: python3-ipython_genutils
Requires: python3-jsonschema > 2.5.0
Requires: python3-jupyter_core
@@ -51,22 +45,6 @@
This package contains the base implementation of the Jupyter Notebook format,
and Python APIs for working with notebooks.
-%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 nbformat-%{version}
@@ -85,15 +63,6 @@
# create a dummy target for /etc/alternatives/jupyter-trust
touch %{buildroot}%{_sysconfdir}/alternatives/jupyter-trust
-# 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-trust jupyter-trust
%{_bindir}/jupyter-trust-%{py3_ver} 30
@@ -115,16 +84,4 @@
%ghost %{_sysconfdir}/alternatives/jupyter-trust
%{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