commit python-jupyter_console for openSUSE:Factory

2020-10-26 Thread root
Hello community,

here is the log from the commit of package python-jupyter_console for 
openSUSE:Factory checked in at 2020-10-26 16:13:23

Comparing /work/SRC/openSUSE:Factory/python-jupyter_console (Old)
 and  /work/SRC/openSUSE:Factory/.python-jupyter_console.new.3463 (New)


Package is "python-jupyter_console"

Mon Oct 26 16:13:23 2020 rev:14 rq:839282 version:6.1.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jupyter_console/python-jupyter_console.changes
2020-05-26 17:20:17.444099977 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_console.new.3463/python-jupyter_console.changes
  2020-10-26 16:14:40.586846729 +0100
@@ -1,0 +2,13 @@
+Fri Oct  2 14:15:27 UTC 2020 - pgaj...@suse.com
+
+- before test drop, try more runs for --flaky
+
+---
+Tue Sep 15 11:20:20 UTC 2020 - pgaj...@suse.com
+
+- replace nose by pytest
+- added patches
+  https://github.com/jupyter/jupyter_console/pull/230
+  + python-jupyter_console-remove-nose.patch
+
+---

New:

  python-jupyter_console-remove-nose.patch



Other differences:
--
++ python-jupyter_console.spec ++
--- /var/tmp/diff_new_pack.OWPzzh/_old  2020-10-26 16:14:41.658847716 +0100
+++ /var/tmp/diff_new_pack.OWPzzh/_new  2020-10-26 16:14:41.662847720 +0100
@@ -25,6 +25,8 @@
 License:BSD-3-Clause
 URL:https://github.com/jupyter/jupyter_console
 Source0:
https://files.pythonhosted.org/packages/source/j/jupyter_console/jupyter_console-%{version}.tar.gz
+# https://github.com/jupyter/jupyter_console/pull/230
+Patch0: python-jupyter_console-remove-nose.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -34,8 +36,8 @@
 BuildRequires:  %{python_module ipykernel}
 BuildRequires:  %{python_module ipython}
 BuildRequires:  %{python_module jupyter-client}
-BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module prompt_toolkit >= 2}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pyzmq}
 # /SECTION
 Requires:   jupyter-jupyter_console = %{version}
@@ -68,6 +70,7 @@
 
 %prep
 %setup -q -n jupyter_console-%{version}
+%patch0 -p1
 
 %build
 %python_build
@@ -77,7 +80,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand nosetests-%{$python_bin_suffix} --with-flaky --force-flaky -v 
-s jupyter_console
+%pytest -s --force-flaky --max-runs=10
 
 %files %{python_files}
 %doc CONTRIBUTING.md README.md

++ python-jupyter_console-remove-nose.patch ++
Index: jupyter_console-6.1.0/jupyter_console/tests/test_console.py
===
--- jupyter_console-6.1.0.orig/jupyter_console/tests/test_console.py
2020-01-16 00:32:32.0 +0100
+++ jupyter_console-6.1.0/jupyter_console/tests/test_console.py 2020-09-15 
12:58:23.543962909 +0200
@@ -9,7 +9,7 @@ import sys
 import tempfile
 from subprocess import check_output
 
-from nose import SkipTest
+import pytest
 
 from traitlets.tests.utils import check_help_all_output
 from ipython_genutils.testing import decorators as dec
@@ -63,7 +63,7 @@ def start_console():
 try:
 p = pexpect.spawn(cmd, args=args, env=env)
 except IOError:
-raise SkipTest("Couldn't find command %s" % cmd)
+pytest.skip("Couldn't find command %s" % cmd)
 
 # timeout after one minute
 t = 60



commit python-jupyter_console for openSUSE:Factory

2020-05-26 Thread root
Hello community,

here is the log from the commit of package python-jupyter_console for 
openSUSE:Factory checked in at 2020-05-26 17:20:07

Comparing /work/SRC/openSUSE:Factory/python-jupyter_console (Old)
 and  /work/SRC/openSUSE:Factory/.python-jupyter_console.new.2738 (New)


Package is "python-jupyter_console"

Tue May 26 17:20:07 2020 rev:13 rq:808403 version:6.1.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jupyter_console/python-jupyter_console.changes
2020-01-29 13:19:46.634212680 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_console.new.2738/python-jupyter_console.changes
  2020-05-26 17:20:17.444099977 +0200
@@ -1,0 +2,13 @@
+Sun May 17 16:40:43 UTC 2020 - Benjamin Greiner 
+
+- Add Pillow to test build, avoids skipping a test
+- Force all tests to be flaky, because they timeout occasionally
+  on OBS
+
+---
+Sat May 16 01:13:29 UTC 2020 - Benjamin Greiner 
+
+- do not capture stdout to pass the tests 
+  gh#jupyter/jupyter_console#214
+
+---



Other differences:
--
++ python-jupyter_console.spec ++
--- /var/tmp/diff_new_pack.KVtfn7/_old  2020-05-26 17:20:18.584102428 +0200
+++ /var/tmp/diff_new_pack.KVtfn7/_new  2020-05-26 17:20:18.584102428 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jupyter_console
 #
-# Copyright (c) 2020 SUSE LLC.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,26 +23,27 @@
 Release:0
 Summary:Jupyter terminal console
 License:BSD-3-Clause
-Group:  Development/Languages/Python
-Url:https://github.com/jupyter/jupyter_console
+URL:https://github.com/jupyter/jupyter_console
 Source0:
https://files.pythonhosted.org/packages/source/j/jupyter_console/jupyter_console-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 # SECTION test requirements
-BuildRequires:  %{python_module jupyter-client}
+BuildRequires:  %{python_module Pillow}
+BuildRequires:  %{python_module flaky}
 BuildRequires:  %{python_module ipykernel}
 BuildRequires:  %{python_module ipython}
+BuildRequires:  %{python_module jupyter-client}
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module prompt_toolkit >= 2}
 BuildRequires:  %{python_module pyzmq}
 # /SECTION
-Requires:   python-jupyter-client
+Requires:   jupyter-jupyter_console = %{version}
 Requires:   python-ipykernel
 Requires:   python-ipython
+Requires:   python-jupyter-client
 Requires:   python-prompt_toolkit >= 2
 Requires:   python-pyzmq
-Requires:   jupyter-jupyter_console = %{version}
 BuildArch:  noarch
 
 %python_subpackages
@@ -76,12 +77,13 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand nosetests-%{$python_bin_suffix} jupyter_console
+%python_expand nosetests-%{$python_bin_suffix} --with-flaky --force-flaky -v 
-s jupyter_console
 
 %files %{python_files}
 %doc CONTRIBUTING.md README.md
 %license COPYING.md 
-%{python_sitelib}/*
+%{python_sitelib}/jupyter_console
+%{python_sitelib}/jupyter_console-%{version}-*.egg-info
 
 %files -n jupyter-jupyter_console
 %license COPYING.md




commit python-jupyter_console for openSUSE:Factory

2020-01-29 Thread root
Hello community,

here is the log from the commit of package python-jupyter_console for 
openSUSE:Factory checked in at 2020-01-29 13:18:52

Comparing /work/SRC/openSUSE:Factory/python-jupyter_console (Old)
 and  /work/SRC/openSUSE:Factory/.python-jupyter_console.new.26092 (New)


Package is "python-jupyter_console"

Wed Jan 29 13:18:52 2020 rev:12 rq:768082 version:6.1.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jupyter_console/python-jupyter_console.changes
2019-11-29 15:58:07.552930071 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_console.new.26092/python-jupyter_console.changes
 2020-01-29 13:19:46.634212680 +0100
@@ -1,0 +2,13 @@
+Tue Jan 28 15:52:47 UTC 2020 - Todd R 
+
+- Update to 6.1.0
+  * switch bumpversion to nbformat-style
+  * Remove Python 2 compatibility code.
+  * Add support for prompt-toolkit v3
+  * removed extra lines from the banner
+- Drop documentation. 
+  These are mostly a relic of when the tests needed to be in a
+  separate package, and since the docs are no longer versioned
+  upstream keeping them synced with the main package is difficult.
+
+---

Old:

  jupyter-console.pdf
  jupyter_console-6.0.0.tar.gz

New:

  jupyter_console-6.1.0.tar.gz



Other differences:
--
++ python-jupyter_console.spec ++
--- /var/tmp/diff_new_pack.00zdUg/_old  2020-01-29 13:19:48.082213420 +0100
+++ /var/tmp/diff_new_pack.00zdUg/_new  2020-01-29 13:19:48.086213422 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jupyter_console
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,15 +19,13 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-jupyter_console
-Version:6.0.0
-%define doc_ver 6.0.0
+Version:6.1.0
 Release:0
 Summary:Jupyter terminal console
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/jupyter/jupyter_console
 Source0:
https://files.pythonhosted.org/packages/source/j/jupyter_console/jupyter_console-%{version}.tar.gz
-Source1:
https://media.readthedocs.org/pdf/jupyter-console/v%{doc_ver}/jupyter-console.pdf
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -58,6 +56,8 @@
 %package -n jupyter-jupyter_console
 Summary:Jupyter terminal console
 Requires:   python3-jupyter_console = %{version}
+Provides:   jupyter-jupyter_console-doc = %{version}
+Obsoletes:  jupyter-jupyter_console-doc < %{version}
 
 %description -n jupyter-jupyter_console
 A terminal-based console frontend for Jupter kernels.
@@ -65,23 +65,8 @@
 
 This package provides the jupyter components.
 
-%package -n jupyter-jupyter_console-doc
-Summary:Documentation for jupyter-jupyter_console
-Group:  Documentation/Other
-Provides:   python-jupyter_console-doc = %{version}
-Obsoletes:  python-jupyter_console-doc < %{version}
-Provides:   %{python_module jupyter_console-doc = %{version}}
-Obsoletes:  %{python_module jupyter_console-doc < %{version}}
-
-%description -n jupyter-jupyter_console-doc
-A terminal-based console frontend for Jupter kernels.
-This code is based on the single-process IPython terminal.
-
-This package provides the help files.
-
 %prep
 %setup -q -n jupyter_console-%{version}
-cp %{SOURCE1} .
 
 %build
 %python_build
@@ -100,10 +85,5 @@
 
 %files -n jupyter-jupyter_console
 %license COPYING.md
-%{_bindir}/jupyter-console
-
-%files -n jupyter-jupyter_console-doc
-%license COPYING.md
-%doc jupyter-console.pdf
 
 %changelog

++ jupyter_console-6.0.0.tar.gz -> jupyter_console-6.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_console-6.0.0/MANIFEST.in 
new/jupyter_console-6.1.0/MANIFEST.in
--- old/jupyter_console-6.0.0/MANIFEST.in   1970-01-01 01:00:00.0 
+0100
+++ new/jupyter_console-6.1.0/MANIFEST.in   2020-01-16 00:32:32.0 
+0100
@@ -0,0 +1,22 @@
+include COPYING.md
+include CONTRIBUTING.md
+include README.md
+
+# Documentation
+graft docs
+exclude docs/\#*
+
+# Examples
+graft examples
+
+# docs subdirs we want to skip
+prune docs/build
+prune docs/gh-pages
+prune docs/dist
+
+# Patterns to exclude from any directory
+global-exclude *~
+global-exclude *.pyc
+global-exclude *.pyo
+global-exclude .git
+global-exclude .ipynb_checkpoints
diff -urN '--exclude=CVS' 

commit python-jupyter_console for openSUSE:Factory

2019-11-29 Thread root
Hello community,

here is the log from the commit of package python-jupyter_console for 
openSUSE:Factory checked in at 2019-11-29 15:56:52

Comparing /work/SRC/openSUSE:Factory/python-jupyter_console (Old)
 and  /work/SRC/openSUSE:Factory/.python-jupyter_console.new.26869 (New)


Package is "python-jupyter_console"

Fri Nov 29 15:56:52 2019 rev:11 rq:748348 version:6.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jupyter_console/python-jupyter_console.changes
2019-08-13 13:20:45.293426430 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_console.new.26869/python-jupyter_console.changes
 2019-11-29 15:58:07.552930071 +0100
@@ -1,0 +2,5 @@
+Wed Nov 13 14:40:10 UTC 2019 - Todd R 
+
+- jupyter_client renamed to jupyter-client
+
+---



Other differences:
--
++ python-jupyter_console.spec ++
--- /var/tmp/diff_new_pack.aDmMQQ/_old  2019-11-29 15:58:08.908929294 +0100
+++ /var/tmp/diff_new_pack.aDmMQQ/_new  2019-11-29 15:58:08.912929291 +0100
@@ -32,14 +32,14 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 # SECTION test requirements
-BuildRequires:  %{python_module jupyter_client}
+BuildRequires:  %{python_module jupyter-client}
 BuildRequires:  %{python_module ipykernel}
 BuildRequires:  %{python_module ipython}
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module prompt_toolkit >= 2}
 BuildRequires:  %{python_module pyzmq}
 # /SECTION
-Requires:   python-jupyter_client
+Requires:   python-jupyter-client
 Requires:   python-ipykernel
 Requires:   python-ipython
 Requires:   python-prompt_toolkit >= 2




commit python-jupyter_console for openSUSE:Factory

2019-08-13 Thread root
Hello community,

here is the log from the commit of package python-jupyter_console for 
openSUSE:Factory checked in at 2019-08-13 13:19:46

Comparing /work/SRC/openSUSE:Factory/python-jupyter_console (Old)
 and  /work/SRC/openSUSE:Factory/.python-jupyter_console.new.9556 (New)


Package is "python-jupyter_console"

Tue Aug 13 13:19:46 2019 rev:10 rq:74 version:6.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jupyter_console/python-jupyter_console.changes
2019-05-22 11:13:51.414557827 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_console.new.9556/python-jupyter_console.changes
  2019-08-13 13:20:45.293426430 +0200
@@ -1,0 +2,5 @@
+Sun Aug 11 02:03:38 UTC 2019 - Todd R 
+
+- Enable tests
+
+---



Other differences:
--
++ python-jupyter_console.spec ++
--- /var/tmp/diff_new_pack.hWuBPZ/_old  2019-08-13 13:20:45.997426244 +0200
+++ /var/tmp/diff_new_pack.hWuBPZ/_new  2019-08-13 13:20:46.001426243 +0200
@@ -31,10 +31,19 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+# SECTION test requirements
+BuildRequires:  %{python_module jupyter_client}
+BuildRequires:  %{python_module ipykernel}
+BuildRequires:  %{python_module ipython}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module prompt_toolkit >= 2}
+BuildRequires:  %{python_module pyzmq}
+# /SECTION
 Requires:   python-jupyter_client
 Requires:   python-ipykernel
 Requires:   python-ipython
 Requires:   python-prompt_toolkit >= 2
+Requires:   python-pyzmq
 Requires:   jupyter-jupyter_console = %{version}
 BuildArch:  noarch
 
@@ -60,9 +69,9 @@
 Summary:Documentation for jupyter-jupyter_console
 Group:  Documentation/Other
 Provides:   python-jupyter_console-doc = %{version}
-Obsoletes:  python-jupyter_console-doc <= %{version}
+Obsoletes:  python-jupyter_console-doc < %{version}
 Provides:   %{python_module jupyter_console-doc = %{version}}
-Obsoletes:  %{python_module jupyter_console-doc <= %{version}}
+Obsoletes:  %{python_module jupyter_console-doc < %{version}}
 
 %description -n jupyter-jupyter_console-doc
 A terminal-based console frontend for Jupter kernels.
@@ -81,9 +90,8 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-# Tests require an active console
-# %%check
-# %%python_expand nosetests-%%{$python_bin_suffix} jupyter_console
+%check
+%python_expand nosetests-%{$python_bin_suffix} jupyter_console
 
 %files %{python_files}
 %doc CONTRIBUTING.md README.md




commit python-jupyter_console for openSUSE:Factory

2019-05-22 Thread root
Hello community,

here is the log from the commit of package python-jupyter_console for 
openSUSE:Factory checked in at 2019-05-22 11:13:49

Comparing /work/SRC/openSUSE:Factory/python-jupyter_console (Old)
 and  /work/SRC/openSUSE:Factory/.python-jupyter_console.new.5148 (New)


Package is "python-jupyter_console"

Wed May 22 11:13:49 2019 rev:9 rq:703767 version:6.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jupyter_console/python-jupyter_console.changes
2018-10-18 15:37:19.466230182 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_console.new.5148/python-jupyter_console.changes
  2019-05-22 11:13:51.414557827 +0200
@@ -1,0 +2,5 @@
+Fri May 17 18:46:30 UTC 2019 - Todd R 
+
+- Split jupyter components into own subpackage.
+
+---



Other differences:
--
++ python-jupyter_console.spec ++
--- /var/tmp/diff_new_pack.SflRra/_old  2019-05-22 11:13:52.142557692 +0200
+++ /var/tmp/diff_new_pack.SflRra/_new  2019-05-22 11:13:52.146557692 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jupyter_console
 #
-# 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
@@ -20,21 +20,22 @@
 %define skip_python2 1
 Name:   python-jupyter_console
 Version:6.0.0
+%define doc_ver 6.0.0
 Release:0
 Summary:Jupyter terminal console
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/jupyter/jupyter_console
 Source0:
https://files.pythonhosted.org/packages/source/j/jupyter_console/jupyter_console-%{version}.tar.gz
-Source1:
https://media.readthedocs.org/pdf/jupyter-console/v%{version}/jupyter-console.pdf
-BuildRequires:  %{python_module devel}
+Source1:
https://media.readthedocs.org/pdf/jupyter-console/v%{doc_ver}/jupyter-console.pdf
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-jupyter_client
-Requires:   python-jupyter_ipykernel
-Requires:   python-jupyter_ipython
+Requires:   python-ipykernel
+Requires:   python-ipython
 Requires:   python-prompt_toolkit >= 2
+Requires:   jupyter-jupyter_console = %{version}
 BuildArch:  noarch
 
 %python_subpackages
@@ -43,16 +44,31 @@
 A terminal-based console frontend for Jupter kernels.
 This code is based on the single-process IPython terminal.
 
-%package -n %{name}-doc
-Summary:Documentation for %{name}
+This package provides the python components.
+
+%package -n jupyter-jupyter_console
+Summary:Jupyter terminal console
+Requires:   python3-jupyter_console = %{version}
+
+%description -n jupyter-jupyter_console
+A terminal-based console frontend for Jupter kernels.
+This code is based on the single-process IPython terminal.
+
+This package provides the jupyter components.
+
+%package -n jupyter-jupyter_console-doc
+Summary:Documentation for jupyter-jupyter_console
 Group:  Documentation/Other
+Provides:   python-jupyter_console-doc = %{version}
+Obsoletes:  python-jupyter_console-doc <= %{version}
 Provides:   %{python_module jupyter_console-doc = %{version}}
+Obsoletes:  %{python_module jupyter_console-doc <= %{version}}
 
-%description -n %{name}-doc
+%description -n jupyter-jupyter_console-doc
 A terminal-based console frontend for Jupter kernels.
 This code is based on the single-process IPython terminal.
 
-This package provides the help files for %{name}.
+This package provides the help files.
 
 %prep
 %setup -q -n jupyter_console-%{version}
@@ -72,10 +88,13 @@
 %files %{python_files}
 %doc CONTRIBUTING.md README.md
 %license COPYING.md 
-%{_bindir}/jupyter-console
 %{python_sitelib}/*
 
-%files -n %{name}-doc
+%files -n jupyter-jupyter_console
+%license COPYING.md
+%{_bindir}/jupyter-console
+
+%files -n jupyter-jupyter_console-doc
 %license COPYING.md
 %doc jupyter-console.pdf
 




commit python-jupyter_console for openSUSE:Factory

2018-10-18 Thread root
Hello community,

here is the log from the commit of package python-jupyter_console for 
openSUSE:Factory checked in at 2018-10-18 15:36:23

Comparing /work/SRC/openSUSE:Factory/python-jupyter_console (Old)
 and  /work/SRC/openSUSE:Factory/.python-jupyter_console.new (New)


Package is "python-jupyter_console"

Thu Oct 18 15:36:23 2018 rev:8 rq:642679 version:6.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jupyter_console/python-jupyter_console.changes
2018-07-28 12:41:39.724571054 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_console.new/python-jupyter_console.changes
   2018-10-18 15:37:19.466230182 +0200
@@ -1,0 +2,16 @@
+Tue Oct 16 01:56:19 UTC 2018 - Todd R 
+
+- Update to version 6.0.0
+  * Drop support for python 2
+  * Upgrade to prompt_toolkit 2.x
+- Don't build for python2 anymore since it isn't supported.
+
+---
+Sun Oct  7 23:55:12 UTC 2018 - Todd R 
+
+- Use upstream builds of doc files.
+- Merge doc subpackage and tests into main spec file.
+- Use %license tag
+- Fix prompt_toolkit dependency.
+
+---

Old:

  jupyter_console-5.2.0.tar.gz
  python-jupyter_console-doc.changes
  python-jupyter_console-doc.spec

New:

  jupyter-console.pdf
  jupyter_console-6.0.0.tar.gz



Other differences:
--
++ python-jupyter_console.spec ++
--- /var/tmp/diff_new_pack.w8PZ8C/_old  2018-10-18 15:37:21.318228062 +0200
+++ /var/tmp/diff_new_pack.w8PZ8C/_new  2018-10-18 15:37:21.38058 +0200
@@ -12,37 +12,51 @@
 # 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 skip_python2 1
 Name:   python-jupyter_console
-Version:5.2.0
+Version:6.0.0
 Release:0
 Summary:Jupyter terminal console
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/jupyter/jupyter_console
-Source: 
https://files.pythonhosted.org/packages/source/j/jupyter_console/jupyter_console-%{version}.tar.gz
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
+Source0:
https://files.pythonhosted.org/packages/source/j/jupyter_console/jupyter_console-%{version}.tar.gz
+Source1:
https://media.readthedocs.org/pdf/jupyter-console/v%{version}/jupyter-console.pdf
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:   python-jupyter_client
 Requires:   python-jupyter_ipykernel
 Requires:   python-jupyter_ipython
-Recommends: python-prompt_toolkit >= 1.0.0
-Conflicts:  python-prompt_toolkit >= 2
+Requires:   python-prompt_toolkit >= 2
 BuildArch:  noarch
+
 %python_subpackages
 
 %description
 A terminal-based console frontend for Jupter kernels.
 This code is based on the single-process IPython terminal.
 
+%package -n %{name}-doc
+Summary:Documentation for %{name}
+Group:  Documentation/Other
+Provides:   %{python_module jupyter_console-doc = %{version}}
+
+%description -n %{name}-doc
+A terminal-based console frontend for Jupter kernels.
+This code is based on the single-process IPython terminal.
+
+This package provides the help files for %{name}.
+
 %prep
 %setup -q -n jupyter_console-%{version}
+cp %{SOURCE1} .
 
 %build
 %python_build
@@ -51,10 +65,18 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+# Tests require an active console
+# %%check
+# %%python_expand nosetests-%%{$python_bin_suffix} jupyter_console
+
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc CONTRIBUTING.md COPYING.md README.md
-%python3_only %{_bindir}/jupyter-console
+%doc CONTRIBUTING.md README.md
+%license COPYING.md 
+%{_bindir}/jupyter-console
 %{python_sitelib}/*
 
+%files -n %{name}-doc
+%license COPYING.md
+%doc jupyter-console.pdf
+
 %changelog

++ jupyter_console-5.2.0.tar.gz -> jupyter_console-6.0.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_console-5.2.0/PKG-INFO 
new/jupyter_console-6.0.0/PKG-INFO
--- old/jupyter_console-5.2.0/PKG-INFO  2017-08-21 12:37:54.0 +0200
+++ new/jupyter_console-6.0.0/PKG-INFO  2018-10-03 02:38:31.0 +0200
@@ -1,21 +1,19 @@
-Metadata-Version: 1.1
-Name: jupyter_console
-Version: 5.2.0
-Summary: Jupyter terminal console
-Home-page: https://jupyter.org

commit python-jupyter_console for openSUSE:Factory

2018-07-28 Thread root
Hello community,

here is the log from the commit of package python-jupyter_console for 
openSUSE:Factory checked in at 2018-07-28 12:41:38

Comparing /work/SRC/openSUSE:Factory/python-jupyter_console (Old)
 and  /work/SRC/openSUSE:Factory/.python-jupyter_console.new (New)


Package is "python-jupyter_console"

Sat Jul 28 12:41:38 2018 rev:7 rq:624533 version:5.2.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jupyter_console/python-jupyter_console.changes
2018-02-21 14:12:54.227094612 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_console.new/python-jupyter_console.changes
   2018-07-28 12:41:39.724571054 +0200
@@ -1,0 +2,5 @@
+Sun Jul 22 08:44:57 UTC 2018 - toddrme2...@gmail.com
+
+- Not compatible with prompt_toolkit 2.x
+
+---



Other differences:
--
++ python-jupyter_console.spec ++
--- /var/tmp/diff_new_pack.q3bJcW/_old  2018-07-28 12:41:40.864573246 +0200
+++ /var/tmp/diff_new_pack.q3bJcW/_new  2018-07-28 12:41:40.868573254 +0200
@@ -33,6 +33,7 @@
 Requires:   python-jupyter_ipykernel
 Requires:   python-jupyter_ipython
 Recommends: python-prompt_toolkit >= 1.0.0
+Conflicts:  python-prompt_toolkit >= 2
 BuildArch:  noarch
 %python_subpackages
 




commit python-jupyter_console for openSUSE:Factory

2018-02-21 Thread root
Hello community,

here is the log from the commit of package python-jupyter_console for 
openSUSE:Factory checked in at 2018-02-21 14:12:53

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 Feb 21 14:12:53 2018 rev:6 rq:578531 version:5.2.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jupyter_console/python-jupyter_console-doc.changes
2017-10-03 23:17:00.748719969 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_console.new/python-jupyter_console-doc.changes
   2018-02-21 14:12:53.971103832 +0100
@@ -1,0 +2,5 @@
+Tue Feb 13 19:47:23 UTC 2018 - toddrme2...@gmail.com
+
+- Update url
+
+---
python-jupyter_console.changes: same change



Other differences:
--
++ python-jupyter_console-doc.spec ++
--- /var/tmp/diff_new_pack.9H7BDT/_old  2018-02-21 14:12:55.007066525 +0100
+++ /var/tmp/diff_new_pack.9H7BDT/_new  2018-02-21 14:12:55.007066525 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jupyter_console-doc
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -34,7 +34,7 @@
 Summary:Documentation for python-jupyter_console
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Url:http://jupyter.org
+Url:https://github.com/jupyter/jupyter_console
 Source: 
https://files.pythonhosted.org/packages/source/j/jupyter_console/jupyter_console-%{version}.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros

python-jupyter_console.spec: same change



commit python-jupyter_console for openSUSE:Factory

2017-10-04 Thread root
Hello community,

here is the log from the commit of package python-jupyter_console for 
openSUSE:Factory checked in at 2017-10-03 23:16:59

Comparing /work/SRC/openSUSE:Factory/python-jupyter_console (Old)
 and  /work/SRC/openSUSE:Factory/.python-jupyter_console.new (New)


Package is "python-jupyter_console"

Tue Oct  3 23:16:59 2017 rev:5 rq:527436 version:5.2.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jupyter_console/python-jupyter_console-doc.changes
2017-05-17 17:12:33.802062300 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_console.new/python-jupyter_console-doc.changes
   2017-10-03 23:17:00.748719969 +0200
@@ -1,0 +2,12 @@
+Tue Sep 19 19:51:19 UTC 2017 - toddrme2...@gmail.com
+
+- Update to 5.2.0
+  * When using a kernel that the console did not start, exiting with Ctrl-D now
+leaves it running. 
+  * Added Ctrl-\\ shortcut to quit the console.
+  * Input prompt numbers are now updated when another frontend has executed
+code in the same kernel.
+  * Fix setting next input with newer versions of prompt_toolkit.
+  * Ensure history entries are unicode, not bytes, on Python 2.
+  
+---
python-jupyter_console.changes: same change

Old:

  jupyter_console-5.1.0.tar.gz

New:

  jupyter_console-5.2.0.tar.gz



Other differences:
--
++ python-jupyter_console-doc.spec ++
--- /var/tmp/diff_new_pack.L6M1jp/_old  2017-10-03 23:17:01.372632163 +0200
+++ /var/tmp/diff_new_pack.L6M1jp/_new  2017-10-03 23:17:01.376631600 +0200
@@ -29,7 +29,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-jupyter_console-doc
-Version:5.1.0
+Version:5.2.0
 Release:0
 Summary:Documentation for python-jupyter_console
 License:BSD-3-Clause
@@ -48,6 +48,7 @@
 # Documentation requirements
 %if %{with pdf} || %{with html}
 BuildRequires:  python3-Sphinx
+BuildRequires:  python3-sphinxcontrib-github-alt
 %endif
 %if %{with pdf}
 BuildRequires:  python3-Sphinx-latex

++ python-jupyter_console.spec ++
--- /var/tmp/diff_new_pack.L6M1jp/_old  2017-10-03 23:17:01.408627098 +0200
+++ /var/tmp/diff_new_pack.L6M1jp/_new  2017-10-03 23:17:01.412626534 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-jupyter_console
-Version:5.1.0
+Version:5.2.0
 Release:0
 Summary:Jupyter terminal console
 License:BSD-3-Clause
@@ -29,13 +29,10 @@
 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
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Recommends: python-prompt_toolkit >= 1.0.0
 BuildArch:  noarch
 %python_subpackages
 

++ jupyter_console-5.1.0.tar.gz -> jupyter_console-5.2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_console-5.1.0/PKG-INFO 
new/jupyter_console-5.2.0/PKG-INFO
--- old/jupyter_console-5.1.0/PKG-INFO  2017-02-03 16:43:54.0 +0100
+++ new/jupyter_console-5.2.0/PKG-INFO  2017-08-21 12:37:54.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: jupyter_console
-Version: 5.1.0
+Version: 5.2.0
 Summary: Jupyter terminal console
 Home-page: https://jupyter.org
 Author: Jupyter Development Team
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_console-5.1.0/docs/changelog.rst 
new/jupyter_console-5.2.0/docs/changelog.rst
--- old/jupyter_console-5.1.0/docs/changelog.rst2017-02-03 
16:36:12.0 +0100
+++ new/jupyter_console-5.2.0/docs/changelog.rst2017-08-21 
12:27:33.0 +0200
@@ -3,6 +3,17 @@
 
 A summary of changes in Jupyter console releases.
 
+5.2
+---
+
+- When using a kernel that the console did not start, exiting with Ctrl-D now
+  leaves it running. :ghpull:`127`
+- Added Ctrl-\\ shortcut to quit the console. :ghpull:`130`
+- Input prompt numbers are now updated when another frontend has executed
+  code in the same kernel. :ghpull:`119`
+- Fix setting next input with newer versions of prompt_toolkit. :ghpull:`123`
+- Ensure history entries are unicode, not bytes, on Python 2. :ghpull:`122`
+
 5.1
 ---
 
@@ -24,20 +35,21 @@
 
 Interactive Shell architecture
 ^^
-- disinherit shell class from IPython Interactive Shell `#68 

commit python-jupyter_console for openSUSE:Factory

2017-05-17 Thread root
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.0 +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 - toddrme2...@gmail.com
+
+- Implement single-spec version.
+
+---
+Fri Mar 31 19:17:01 UTC 2017 - toddrme2...@gmail.com
+
+- 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 
`_
+  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 
`_
+  + Image Handling improvement
+* use PIL as default image handler `#79 
`_
+* better indication of whether image data was handled `#77 
`_
+  + Prompts improvement
+* use prompt_toolkit 1.0 `#74 
`_
+* don't use prompt_manager `#75 
`_
+* remove ``colors_force`` flag that have no effects: `#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.0 +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 - toddrme2...@gmail.com
+
+- Implement single-spec version.
+
+---
+Fri Mar 31 19:17:01 UTC 2017 - toddrme2...@gmail.com
+
+- 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 
`_
+  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 
`_
+  + Image Handling improvement
+* use PIL as default image handler `#79 
`_
+* better indication of whether image data was handled `#77 
`_
+  + Prompts improvement
+* use prompt_toolkit 1.0 `#74 
`_
+* don't use prompt_manager `#75 
`_
+* remove ``colors_force`` flag that have no effects: `#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:

  

commit python-jupyter_console for openSUSE:Factory

2016-03-26 Thread h_root
Hello community,

here is the log from the commit of package python-jupyter_console for 
openSUSE:Factory checked in at 2016-03-26 15:21:42

Comparing /work/SRC/openSUSE:Factory/python-jupyter_console (Old)
 and  /work/SRC/openSUSE:Factory/.python-jupyter_console.new (New)


Package is "python-jupyter_console"

Changes:

New Changes file:

--- /dev/null   2016-01-27 19:41:03.648095915 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_console.new/python-jupyter_console-doc.changes
   2016-03-26 15:21:44.0 +0100
@@ -0,0 +1,45 @@
+---
+Thu Feb 18 21:14:18 UTC 2016 - toddrme2...@gmail.com
+
+- specfile:
+  * update copyright year
+  * Split documentation into subpackage
+- update to version 4.1.0:
+  * readline/completion fixes
+  * use is_complete messages to determine if input is complete
+(important for non-Python kernels)
+  * fix: 4.0 was looking for jupyter_console_config in IPython config
+directories, not Jupyter
+
+---
+Mon Oct 12 13:46:17 UTC 2015 - toddrme2...@gmail.com
+
+- Update to 4.0.3
+  * fix jupyter console --generate-config
+
+---
+Mon Oct  5 10:01:17 UTC 2015 - toddrme2...@gmail.com
+
+- Build documentation
+
+---
+Wed Sep 16 15:26:27 UTC 2015 - toddrme2...@gmail.com
+
+- Update to 4.0.2
+  * fix `jupyter console --generate-config`
+  * add long_description
+  * fix setuptools entrypoint
+- Update to 4.0.1
+  * entrypoints only when setuptools invoked
+  * bug fix
+  * suggestion for windows users
+  * Fix printing errors when execute_reply and error messages come
+  * Try installing IPython from Github on RTD
+  * Try installing on RTD with --pre to get IPython 4
+  * Add requirements file for RTD
+
+---
+Tue Jul 21 15:06:50 UTC 2015 - toddrme2...@gmail.com
+
+- Initial version
+
--- 
/work/SRC/openSUSE:Factory/python-jupyter_console/python-jupyter_console.changes
2015-11-18 22:34:03.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_console.new/python-jupyter_console.changes
   2016-03-26 15:21:44.0 +0100
@@ -1,0 +2,13 @@
+Thu Feb 18 21:14:18 UTC 2016 - toddrme2...@gmail.com
+
+- specfile:
+  * update copyright year
+  * Split documentation into subpackage
+- update to version 4.1.0:
+  * readline/completion fixes
+  * use is_complete messages to determine if input is complete
+(important for non-Python kernels)
+  * fix: 4.0 was looking for jupyter_console_config in IPython config
+directories, not Jupyter
+
+---

Old:

  jupyter_console-4.0.3.tar.gz

New:

  jupyter_console-4.1.0.tar.gz
  python-jupyter_console-doc.changes
  python-jupyter_console-doc.spec



Other differences:
--
++ python-jupyter_console-doc.spec ++
#
# spec file for package python-jupyter_console-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:   python-jupyter_console-doc
Version:4.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
# Documentation requirements
BuildRequires:  python-Sphinx
%if %{build_pdf}
BuildRequires:  python-Sphinx-latex
%endif
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildArch:  noarch

%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 = 

commit python-jupyter_console for openSUSE:Factory

2015-11-18 Thread h_root
Hello community,

here is the log from the commit of package python-jupyter_console for 
openSUSE:Factory checked in at 2015-11-18 22:34:02

Comparing /work/SRC/openSUSE:Factory/python-jupyter_console (Old)
 and  /work/SRC/openSUSE:Factory/.python-jupyter_console.new (New)


Package is "python-jupyter_console"

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jupyter_console/python-jupyter_console.changes
2015-09-30 05:51:16.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_console.new/python-jupyter_console.changes
   2015-11-18 22:34:03.0 +0100
@@ -1,0 +2,11 @@
+Mon Oct 12 13:46:17 UTC 2015 - toddrme2...@gmail.com
+
+- Update to 4.0.3
+  * fix jupyter console --generate-config
+
+---
+Mon Oct  5 10:01:17 UTC 2015 - toddrme2...@gmail.com
+
+- Build documentation
+
+---

Old:

  jupyter_console-4.0.2.tar.gz

New:

  jupyter_console-4.0.3.tar.gz



Other differences:
--
++ python-jupyter_console.spec ++
--- /var/tmp/diff_new_pack.4my7At/_old  2015-11-18 22:34:04.0 +0100
+++ /var/tmp/diff_new_pack.4my7At/_new  2015-11-18 22:34:04.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   python-jupyter_console
-Version:4.0.2
+Version:4.0.3
 Release:0
 Summary:Jupyter terminal console
 License:BSD-3-Clause
@@ -33,6 +33,11 @@
 BuildRequires:  python-nose
 # Python 2.x test requirements
 BuildRequires:  python-mock
+# 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_client
 Requires:   python-jupyter_ipykernel
 Requires:   python-jupyter_ipython
@@ -49,6 +54,20 @@
 A terminal-based console frontend for Jupter kernels.
 This code is based on the single-process IPython terminal.
 
+%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_console-%{version}
 
@@ -58,13 +77,25 @@
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
+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
-mv %{buildroot}%{_bindir}/jupyter-console 
%{buildroot}%{_bindir}/jupyter-console-%{py_ver}
 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
 
+# Build the documentation
+pushd docs
+sed -i -s 's/  python3 /   python /' Makefile
+%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 
1110 )
+PYTHONPATH=%{buildroot}%{python_sitelib} make latexpdf
+%endif
+PYTHONPATH=%{buildroot}%{python_sitelib} make html
+rm -rf _build/html/.buildinfo
+popd
+
 %post
 %_sbindir/update-alternatives \
--install %{_bindir}/jupyter-console jupyter-console 
%{_bindir}/jupyter-console-%{py_ver} 30
@@ -75,16 +106,27 @@
 fi
 
 %check
-pushd jupyter_console
-PYTHONPATH=%{buildroot}%{python_sitelib} nosetests
-popd
+nosetests jupyter_console
 
 %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
 %{python_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

++ jupyter_console-4.0.2.tar.gz -> jupyter_console-4.0.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_console-4.0.2/PKG-INFO 
new/jupyter_console-4.0.3/PKG-INFO
--- old/jupyter_console-4.0.2/PKG-INFO  2015-09-01 18:37:06.0 +0200
+++ new/jupyter_console-4.0.3/PKG-INFO  2015-10-07 13:37:49.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: jupyter_console
-Version: 4.0.2
+Version: 4.0.3
 Summary: Jupyter terminal console