Hello community,
here is the log from the commit of package python-jupyter_console for
openSUSE:Factory checked in at 2017-05-17 17:12:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_console (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_console.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_console"
Wed May 17 17:12:30 2017 rev:4 rq:491352 version:5.1.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter_console/python-jupyter_console-doc.changes
2016-03-26 15:21:44.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-jupyter_console.new/python-jupyter_console-doc.changes
2017-05-17 17:12:33.802062300 +0200
@@ -1,0 +2,34 @@
+Wed Apr 26 19:08:32 UTC 2017 - [email protected]
+
+- Implement single-spec version.
+
+-------------------------------------------------------------------
+Fri Mar 31 19:17:01 UTC 2017 - [email protected]
+
+- Updaste to 5.1
+ * New ``ZMQTerminalInteractiveShell.true_color`` config option to use 24-bit
+ colour.
+ * New ``ZMQTerminalInteractiveShell.confirm_exit`` config option to turn off
+ asking 'are you sure' on exit.
+ * New ``--simple-prompt`` flag to explicitly use the fallback mode without
+ prompt_toolkit.
+ * Fixed executing an empty input.
+ * Fixed formatting for code and outputs from other frontends executing code.
+ * Avoid using functions which will be removed in IPython 6.
+- Updaste to 5.0.0
+ + Interactive Shell architecture
+ * disinherit shell class from IPython Interactive Shell `#68
<https://github.com/jupyter/jupyter_console/pull/68>`_
+ This separates jupyter_console's ZMQTerminalInteractiveShell from
IPython's TerminalInteractiveShell and InteractiveShell classes.
+ * update SIGINT handler to not use the old interactive API shell `#80
<https://github.com/jupyter/jupyter_console/pull/80>`_
+ + Image Handling improvement
+ * use PIL as default image handler `#79
<https://github.com/jupyter/jupyter_console/pull/79>`_
+ * better indication of whether image data was handled `#77
<https://github.com/jupyter/jupyter_console/pull/77>`_
+ + Prompts improvement
+ * use prompt_toolkit 1.0 `#74
<https://github.com/jupyter/jupyter_console/pull/74>`_
+ * don't use prompt_manager `#75
<https://github.com/jupyter/jupyter_console/pull/75>`_
+ * remove ``colors_force`` flag that have no effects: `#88
<https://github.com/jupyter/jupyter_console/pull/88>`_
+- Updaste to 4.1.1
+ * fix for readline history
+ * don't confuse sys.path with virtualenvs
+
+-------------------------------------------------------------------
---
/work/SRC/openSUSE:Factory/python-jupyter_console/python-jupyter_console.changes
2016-03-26 15:21:44.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-jupyter_console.new/python-jupyter_console.changes
2017-05-17 17:12:34.469968150 +0200
@@ -1,0 +2,34 @@
+Wed Apr 26 19:08:23 UTC 2017 - [email protected]
+
+- Implement single-spec version.
+
+-------------------------------------------------------------------
+Fri Mar 31 19:17:01 UTC 2017 - [email protected]
+
+- Updaste to 5.1
+ * New ``ZMQTerminalInteractiveShell.true_color`` config option to use 24-bit
+ colour.
+ * New ``ZMQTerminalInteractiveShell.confirm_exit`` config option to turn off
+ asking 'are you sure' on exit.
+ * New ``--simple-prompt`` flag to explicitly use the fallback mode without
+ prompt_toolkit.
+ * Fixed executing an empty input.
+ * Fixed formatting for code and outputs from other frontends executing code.
+ * Avoid using functions which will be removed in IPython 6.
+- Updaste to 5.0.0
+ + Interactive Shell architecture
+ * disinherit shell class from IPython Interactive Shell `#68
<https://github.com/jupyter/jupyter_console/pull/68>`_
+ This separates jupyter_console's ZMQTerminalInteractiveShell from
IPython's TerminalInteractiveShell and InteractiveShell classes.
+ * update SIGINT handler to not use the old interactive API shell `#80
<https://github.com/jupyter/jupyter_console/pull/80>`_
+ + Image Handling improvement
+ * use PIL as default image handler `#79
<https://github.com/jupyter/jupyter_console/pull/79>`_
+ * better indication of whether image data was handled `#77
<https://github.com/jupyter/jupyter_console/pull/77>`_
+ + Prompts improvement
+ * use prompt_toolkit 1.0 `#74
<https://github.com/jupyter/jupyter_console/pull/74>`_
+ * don't use prompt_manager `#75
<https://github.com/jupyter/jupyter_console/pull/75>`_
+ * remove ``colors_force`` flag that have no effects: `#88
<https://github.com/jupyter/jupyter_console/pull/88>`_
+- Updaste to 4.1.1
+ * fix for readline history
+ * don't confuse sys.path with virtualenvs
+
+-------------------------------------------------------------------
Old:
----
jupyter_console-4.1.0.tar.gz
New:
----
jupyter_console-5.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_console-doc.spec ++++++
--- /var/tmp/diff_new_pack.LjmApw/_old 2017-05-17 17:12:35.357842993 +0200
+++ /var/tmp/diff_new_pack.LjmApw/_new 2017-05-17 17:12:35.361842430 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-jupyter_console-doc
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,75 +16,89 @@
#
-%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} >
1110 )
-%define build_pdf 1
+%if 0%{?suse_version} && 0%{?suse_version} != 1315
+%bcond_without pdf
%else
-%define build_pdf 0
+%bcond_with pdf
%endif
+%bcond_without html
+
+# Tests require an active console
+%bcond_with tests
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jupyter_console-doc
-Version: 4.1.0
+Version: 5.1.0
Release: 0
Summary: Documentation for python-jupyter_console
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://jupyter.org
-Source:
https://pypi.python.org/packages/source/j/jupyter_console/jupyter_console-%{version}.tar.gz
-BuildRequires: python-jupyter_console
+Source:
https://files.pythonhosted.org/packages/source/j/jupyter_console/jupyter_console-%{version}.tar.gz
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+BuildRequires: %{python_module jupyter_console}
+%if %{with tests}
+# Test requirements
+BuildRequires: %{python_module nose}
+# Python 2.x test requirements
+BuildRequires: python-mock
+%endif
# Documentation requirements
-BuildRequires: python-Sphinx
-%if %{build_pdf}
-BuildRequires: python-Sphinx-latex
+%if %{with pdf} || %{with html}
+BuildRequires: python3-Sphinx
+%endif
+%if %{with pdf}
+BuildRequires: python3-Sphinx-latex
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
+Provides: %{name}-html = %{version}
+Provides: %{name}-pdf = %{version}
+Obsoletes: %{name}-html < %{version}
+Obsoletes: %{name}-pdf < %{version}
+Provides: %{python_module jupyter_console-doc = %{version}}
%description
Documentation and help files for python-jupyter_console.
-%package html
-Summary: HTML documentation for python-jupyter_console
-Group: Development/Languages/Python
-Recommends: python-jupyter_console = %{version}
-
-%description html
-Documentation and help files for python-jupyter_console in HTML format.
-
-%package pdf
-Summary: PDF documentation for python-jupyter_console
-Group: Development/Languages/Python
-Recommends: python-jupyter_console = %{version}
-
-%description pdf
-Documentation and help files for python-jupyter_console in PDF format.
-
%prep
%setup -q -n jupyter_console-%{version}
%build
-# Not Needed
-
-%install
# Build the documentation
pushd docs
-sed -i -s 's/ python3/ python/' Makefile
-%if %{build_pdf}
-PYTHONPATH=%{buildroot}%{python_sitelib} make latexpdf
-%endif
-PYTHONPATH=%{buildroot}%{python_sitelib} make html
+%if %{with html}
+make html
rm -rf _build/html/.buildinfo
+%endif
+%if %{with pdf}
+make latexpdf
+%endif
popd
-%files html
-%defattr(-,root,root,-)
-%doc COPYING.md
-%doc docs/_build/html/
+%install
+mkdir -p %{buildroot}%{_docdir}/python-jupyter_console
+
+%if %{with pdf}
+cp docs/_build/latex/*.pdf %{buildroot}%{_docdir}/python-jupyter_console/
+%endif
-%if %{build_pdf}
-%files pdf
+%if %{with html}
+cp -r docs/_build/html %{buildroot}%{_docdir}/python-jupyter_console/
+%endif
+
+%fdupes %{buildroot}%{_docdir}/python-jupyter_console/
+
+%if %{with tests}
+%check
+%python_expand nosetests-%{$python_bin_suffix} jupyter_console
+%endif
+
+%files
%defattr(-,root,root,-)
%doc COPYING.md
-%doc docs/_build/latex/*.pdf
-%endif
+%{_docdir}/python-jupyter_console/
%changelog
++++++ python-jupyter_console.spec ++++++
--- /var/tmp/diff_new_pack.LjmApw/_old 2017-05-17 17:12:35.389838483 +0200
+++ /var/tmp/diff_new_pack.LjmApw/_new 2017-05-17 17:12:35.393837919 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-jupyter_console
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,34 +16,28 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jupyter_console
-Version: 4.1.0
+Version: 5.1.0
Release: 0
Summary: Jupyter terminal console
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://jupyter.org
-Source:
https://pypi.python.org/packages/source/j/jupyter_console/jupyter_console-%{version}.tar.gz
-BuildRequires: python-devel
-BuildRequires: python-jupyter_client
-BuildRequires: python-jupyter_ipykernel
-BuildRequires: python-jupyter_ipython
-BuildRequires: python-setuptools
-# Test requirements
-BuildRequires: python-nose
-# Python 2.x test requirements
-BuildRequires: python-mock
+Source:
https://files.pythonhosted.org/packages/source/j/jupyter_console/jupyter_console-%{version}.tar.gz
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module jupyter_client}
+BuildRequires: %{python_module jupyter_ipykernel}
+BuildRequires: %{python_module jupyter_ipython}
Requires: python-jupyter_client
Requires: python-jupyter_ipykernel
Requires: python-jupyter_ipython
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
BuildArch: noarch
-%endif
+%python_subpackages
%description
A terminal-based console frontend for Jupter kernels.
@@ -53,39 +47,16 @@
%setup -q -n jupyter_console-%{version}
%build
-python setup.py build
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
-mv %{buildroot}%{_bindir}/jupyter-console
%{buildroot}%{_bindir}/jupyter2-console
-ln -s %{_bindir}/jupyter2-console
%{buildroot}%{_bindir}/jupyter-console-%{py_ver}
-
-# Prepare for update-alternatives usage
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-ln -s -f %{_sysconfdir}/alternatives/jupyter-console
%{buildroot}%{_bindir}/jupyter-console
-# create a dummy target for /etc/alternatives/jupyter-console
-touch %{buildroot}%{_sysconfdir}/alternatives/jupyter-console
-
-%post
-%_sbindir/update-alternatives \
- --install %{_bindir}/jupyter-console jupyter-console
%{_bindir}/jupyter-console-%{py_ver} 30
-
-%postun
-if [ $1 -eq 0 ] ; then
- %_sbindir/update-alternatives --remove jupyter-console
%{_bindir}/jupyter-console-%{py_ver}
-fi
-
-%check
-nosetests jupyter_console
-
-%files
+%files %{python_files}
%defattr(-,root,root,-)
%doc CONTRIBUTING.md COPYING.md README.md
-%{_bindir}/jupyter-console
-%{_bindir}/jupyter2-console
-%{_bindir}/jupyter-console-%{py_ver}
-%ghost %{_sysconfdir}/alternatives/jupyter-console
+%python3_only %{_bindir}/jupyter-console
%{python_sitelib}/*
%changelog
++++++ jupyter_console-4.1.0.tar.gz -> jupyter_console-5.1.0.tar.gz ++++++
++++ 2108 lines of diff (skipped)