Hello community,
here is the log from the commit of package python-jupyter_client for
openSUSE:Factory checked in at 2019-05-22 11:05:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_client (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_client.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_client"
Wed May 22 11:05:02 2019 rev:9 rq:698302 version:5.2.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter_client/python-jupyter_client-doc.changes
2018-12-24 11:47:29.485128589 +0100
+++
/work/SRC/openSUSE:Factory/.python-jupyter_client.new.5148/python-jupyter_client-doc.changes
2019-05-22 11:05:14.598574957 +0200
@@ -1,0 +2,6 @@
+Thu Apr 25 01:59:57 UTC 2019 - Todd R <[email protected]>
+
+- Split jupyter components into own subpackage.
+- Rename doc package to match jupyter name.
+
+-------------------------------------------------------------------
python-jupyter_client.changes: same change
New:
----
jupyter-client.pdf
jupyter-client.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_client-doc.spec ++++++
--- /var/tmp/diff_new_pack.b3bwLz/_old 2019-05-22 11:05:18.882575883 +0200
+++ /var/tmp/diff_new_pack.b3bwLz/_new 2019-05-22 11:05:18.910575888 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-jupyter_client-doc
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,11 +12,12 @@
# 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define doc_ver 5.2.3
# PDF documentation currently broken
%bcond_with pdf
%bcond_without html
@@ -24,24 +25,26 @@
Name: python-jupyter_client-doc
Version: 5.2.4
Release: 0
-Summary: Documentation for python-jupyter_client
+Summary: Documentation for the Jupyter client libraries
License: BSD-3-Clause
-Group: Development/Languages/Python
-Url: https://github.com/jupyter/jupyter_client
-Source:
https://files.pythonhosted.org/packages/source/j/jupyter_client/jupyter_client-%{version}.tar.gz
+Group: Documentation/Other
+URL: https://github.com/jupyter/jupyter_client
+Source0:
https://files.pythonhosted.org/packages/source/j/jupyter_client/jupyter_client-%{version}.tar.gz
+Source1:
https://buildmedia.readthedocs.org/media/pdf/jupyter-client/%{doc_ver}/jupyter-client.pdf
+Source2:
https://buildmedia.readthedocs.org/media/htmlzip/jupyter-client/%{doc_ver}/jupyter-client.zip
BuildRequires: %{python_module jupyter_client}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+BuildRequires: unzip
Provides: %{name}-html = %{version}
Provides: %{name}-pdf = %{version}
Obsoletes: %{name}-html < %{version}
Obsoletes: %{name}-pdf < %{version}
-Provides: python-jupyter_client-doc = %{version}
BuildArch: noarch
%if %{with tests}
# Test Requirements
BuildRequires: %{python_module backcall}
-BuildRequires: %{python_module jupyter_ipykernel}
+BuildRequires: %{python_module ipykernel}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
# Python 2.7 test requirements
@@ -57,45 +60,49 @@
%endif
%description
-Documentation and help files for python-jupyter_client.
+This package contains documentation and help files for the Jupyter
+client libraries.
+
+%package -n jupyter-jupyter_client-doc
+Summary: Documentation for the Jupyter client libraries
+Group: Documentation/Other
+Requires: jupyter-jupyter_client = %{version}
+Provides: python-jupyter_client-doc = %{version}
+Obsoletes: python-jupyter_client-doc <= %{version}
+Provides: %{python_module jupyter_client-doc = %{version}}
+Obsoletes: %{python_module jupyter_client-doc <= %{version}}
+
+%description -n jupyter-jupyter_client-doc
+This package contains documentation and help files for the Jupyter
+client libraries.
%prep
%setup -q -n jupyter_client-%{version}
+unzip %{SOURCE2} -d docs
+mv docs/jupyter-client-* docs/html
+rm docs/html/.buildinfo
%build
-# Build the documentation
-pushd docs
-%if %{with html}
-make %{?_smp_mflags} html
-rm -rf build/html/.buildinfo
-%endif
-%if %{with pdf}
-make %{?_smp_mflags} latexpdf
-%endif
-popd
+# Not needed
%install
-mkdir -p %{buildroot}%{_docdir}/python-jupyter_client
+mkdir -p %{buildroot}%{_docdir}/jupyter-jupyter_client
-%if %{with pdf}
-cp docs/_build/latex/jupyter_core.pdf
%{buildroot}%{_docdir}/python-jupyter_client/
-%endif
-
-%if %{with html}
-cp -r docs/_build/html %{buildroot}%{_docdir}/python-jupyter_client/
-%endif
+cp %{SOURCE1} %{buildroot}%{_docdir}/jupyter-jupyter_client/
+cp -r docs/html %{buildroot}%{_docdir}/jupyter-jupyter_client/
-%fdupes %{buildroot}%{_docdir}/python-jupyter_client/
+%fdupes %{buildroot}%{_docdir}/jupyter-jupyter_client/
%if %{with tests}
%check
pushd jupyter_client/tests
-%python_expand py.test-%{$python_bin_suffix}
+%pytest
popd
%endif
-%files
+%files -n jupyter-jupyter_client-doc
%license COPYING.md
-%{_docdir}/python-jupyter_client/
+%{_docdir}/jupyter-jupyter_client/jupyter-client.pdf
+%{_docdir}/jupyter-jupyter_client/html/
%changelog
++++++ python-jupyter_client.spec ++++++
--- /var/tmp/diff_new_pack.b3bwLz/_old 2019-05-22 11:05:19.234575958 +0200
+++ /var/tmp/diff_new_pack.b3bwLz/_new 2019-05-22 11:05:19.266575965 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-jupyter_client
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
# 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -23,12 +23,12 @@
Summary: Jupyter protocol implementation and client libraries
License: BSD-3-Clause
Group: Development/Languages/Python
-Url: https://github.com/jupyter/jupyter_client
+URL: https://github.com/jupyter/jupyter_client
Source:
https://files.pythonhosted.org/packages/source/j/jupyter_client/jupyter_client-%{version}.tar.gz
-BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: jupyter-jupyter_client = %{version}
Requires: python-entrypoints
Requires: python-jupyter_core
Requires: python-python-dateutil >= 2.1
@@ -45,6 +45,22 @@
It also provides the jupyter kernelspec entrypoint for installing kernelspecs
for use with Jupyter frontends.
+This package provides the python interface.
+
+%package -n jupyter-jupyter_client
+Summary: Jupyter protocol implementation and client libraries
+Group: Development/Languages/Python
+Requires: python3-jupyter_client = %{version}
+
+%description -n jupyter-jupyter_client
+This package contains the reference implementation of the Jupyter protocol.
+It also provides client and kernel management APIs for working with kernels.
+
+It also provides the jupyter kernelspec entrypoint for installing kernelspecs
+for use with Jupyter frontends.
+
+This package provides the jupyter components.
+
%prep
%setup -q -n jupyter_client-%{version}
@@ -57,10 +73,14 @@
%files %{python_files}
%license COPYING.md
+%{python_sitelib}/jupyter_client-%{version}-py*.egg-info
+%{python_sitelib}/jupyter_client/
+
+%files -n jupyter-jupyter_client
+%license COPYING.md
%doc CONTRIBUTING.md README.md
-%python3_only %{_bindir}/jupyter-kernel
-%python3_only %{_bindir}/jupyter-kernelspec
-%python3_only %{_bindir}/jupyter-run
-%{python_sitelib}/*
+%{_bindir}/jupyter-kernel
+%{_bindir}/jupyter-kernelspec
+%{_bindir}/jupyter-run
%changelog