Hello community,
here is the log from the commit of package python-jupyter_qtconsole for
openSUSE:Factory checked in at 2017-05-17 17:12:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_qtconsole (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_qtconsole.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_qtconsole"
Wed May 17 17:12:44 2017 rev:4 rq:491356 version:4.3.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter_qtconsole/python-jupyter_qtconsole-doc.changes
2016-02-23 16:59:13.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-jupyter_qtconsole.new/python-jupyter_qtconsole-doc.changes
2017-05-17 17:12:46.408285282 +0200
@@ -1,0 +2,47 @@
+Wed Apr 26 19:10:35 UTC 2017 - [email protected]
+
+- Implement single-spec version.
+
+-------------------------------------------------------------------
+Thu Mar 30 19:40:41 UTC 2017 - [email protected]
+
+- Update to 4.3
+ + Additions
+ * Add :kbd:`Shift-Tab` shortcut to unindent text
+ * Add :kbd:`Control-R` shortcut to rename the current tab
+ * Add :kbd:`Alt-R` shortcut to set the main window title
+ * Add :kbd:`Command-Alt-Left` and :kbd:`Command-Alt-Right` shortcut to
switch
+ tabs on macOS
+ * Add support for PySide2
+ * Add support for Python 3.5
+ * Add support for 24 bit ANSI color codes
+ * Add option to create new tab connected to the existing kernel
+ + Changes
+ * Change :kbd:`Tab` key behavior to always indent to the next increment of
4 spaces
+ * Change :kbd:`Home` key behavior to alternate cursor between the
beginning of text
+ (ignoring leading spaces) and beginning of the line
+ * Improve documentation of various options and clarified the docs in some
places
+ * Move documentation to ReadTheDocs
+ * Rename `ConsoleWidget.width/height` traits to
`console_width/console_height`
+ to avoid a name clash with the `QWidget` properties. Note: the name
change
+ could be, in rare cases if a name collision exists, a code-breaking
+ change.
+ + Fixes
+ * Fix automatic indentation of new lines that are inserted in the middle
of a
+ cell
+ * Fix regression where prompt would never be shown for `--existing`
consoles
+ * Fix `python.exe -m qtconsole` on Windows
+ * Fix showing error messages when running a script using `%run`
+ * Fix `invalid cursor position` error and subsequent freezing of user input
+ * Fix syntax coloring when attaching to non-IPython kernels
+ * Fix printing when using QT5
+ * Fix :kbd:`Control-K` shortcut (delete until end of line) on macOS
+ * Fix history browsing (:kbd:`Up`/:kbd:`Down` keys) when lines are longer
than
+ the terminal width
+ * Fix saving HTML with inline PNG for Python 3
+ * Various internal bugfixes
+- Update to 4.2
+ * various latex display fixes
+ * improvements for embedding in Qt applications (use existing Qt API if one
is already loaded)
+
+-------------------------------------------------------------------
---
/work/SRC/openSUSE:Factory/python-jupyter_qtconsole/python-jupyter_qtconsole.changes
2016-02-23 16:59:13.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-jupyter_qtconsole.new/python-jupyter_qtconsole.changes
2017-05-17 17:12:46.636253147 +0200
@@ -1,0 +2,52 @@
+Wed Apr 26 19:10:25 UTC 2017 - [email protected]
+
+- Implement single-spec version.
+
+-------------------------------------------------------------------
+Fri Apr 7 19:26:44 UTC 2017 - [email protected]
+
+- Fix update-alternatives usage.
+
+-------------------------------------------------------------------
+Thu Mar 30 19:40:41 UTC 2017 - [email protected]
+
+- Update to 4.3
+ + Additions
+ * Add :kbd:`Shift-Tab` shortcut to unindent text
+ * Add :kbd:`Control-R` shortcut to rename the current tab
+ * Add :kbd:`Alt-R` shortcut to set the main window title
+ * Add :kbd:`Command-Alt-Left` and :kbd:`Command-Alt-Right` shortcut to
switch
+ tabs on macOS
+ * Add support for PySide2
+ * Add support for Python 3.5
+ * Add support for 24 bit ANSI color codes
+ * Add option to create new tab connected to the existing kernel
+ + Changes
+ * Change :kbd:`Tab` key behavior to always indent to the next increment of
4 spaces
+ * Change :kbd:`Home` key behavior to alternate cursor between the
beginning of text
+ (ignoring leading spaces) and beginning of the line
+ * Improve documentation of various options and clarified the docs in some
places
+ * Move documentation to ReadTheDocs
+ * Rename `ConsoleWidget.width/height` traits to
`console_width/console_height`
+ to avoid a name clash with the `QWidget` properties. Note: the name
change
+ could be, in rare cases if a name collision exists, a code-breaking
+ change.
+ + Fixes
+ * Fix automatic indentation of new lines that are inserted in the middle
of a
+ cell
+ * Fix regression where prompt would never be shown for `--existing`
consoles
+ * Fix `python.exe -m qtconsole` on Windows
+ * Fix showing error messages when running a script using `%run`
+ * Fix `invalid cursor position` error and subsequent freezing of user input
+ * Fix syntax coloring when attaching to non-IPython kernels
+ * Fix printing when using QT5
+ * Fix :kbd:`Control-K` shortcut (delete until end of line) on macOS
+ * Fix history browsing (:kbd:`Up`/:kbd:`Down` keys) when lines are longer
than
+ the terminal width
+ * Fix saving HTML with inline PNG for Python 3
+ * Various internal bugfixes
+- Update to 4.2
+ * various latex display fixes
+ * improvements for embedding in Qt applications (use existing Qt API if one
is already loaded)
+
+-------------------------------------------------------------------
Old:
----
qtconsole-4.1.1.tar.gz
New:
----
qtconsole-4.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_qtconsole-doc.spec ++++++
--- /var/tmp/diff_new_pack.clNYfc/_old 2017-05-17 17:12:47.864080066 +0200
+++ /var/tmp/diff_new_pack.clNYfc/_new 2017-05-17 17:12:47.868079502 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-jupyter_qtconsole-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
@@ -15,73 +15,93 @@
# 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
+
+%if 0%{?suse_version} && 0%{?suse_version} != 1315
+%bcond_without pdf
%else
-%define build_pdf 0
+%bcond_with pdf
%endif
+%bcond_without html
+
+%bcond_without tests
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jupyter_qtconsole-doc
-Version: 4.1.1
+Version: 4.3.0
Release: 0
Summary: Documentation for python-jupyter_qtconsole
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://jupyter.org
-Source:
https://pypi.python.org/packages/source/q/qtconsole/qtconsole-%{version}.tar.gz
-BuildRequires: python-jupyter_qtconsole
+Source:
https://files.pythonhosted.org/packages/source/q/qtconsole/qtconsole-%{version}.tar.gz
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+BuildRequires: %{python_module jupyter_qtconsole}
+%if %{with tests}
+# Test requirements
+BuildRequires: %{python_module nose}
+BuildRequires: %{python_module pexpect}
+BuildRequires: %{python_module qt5}
+# Python 2 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_qtconsole-doc = %{version}}
%description
Documentation and help files for python-jupyter_qtconsole.
-%package html
-Summary: HTML documentation for python-jupyter_qtconsole
-Recommends: python-jupyter_qtconsole = %{version}
-
-%description html
-Documentation and help files for python-jupyter_qtconsole in HTML format.
-
-%package pdf
-Summary: HTML documentation for python-jupyter_qtconsole
-Recommends: python-jupyter_qtconsole = %{version}
-
-%description pdf
-Documentation and help files for python-jupyter_qtconsole in PDF format.
-
%prep
%setup -q -n qtconsole-%{version}
+sed -i 's/python3/python/' docs/Makefile
%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_qtconsole
-%if %{build_pdf}
-%files pdf
+%if %{with pdf}
+cp docs/build/latex/*.pdf %{buildroot}%{_docdir}/python-jupyter_qtconsole/
+%endif
+
+%if %{with html}
+cp -r docs/build/html %{buildroot}%{_docdir}/python-jupyter_qtconsole/
+%endif
+
+cp -r examples %{buildroot}%{_docdir}/python-jupyter_qtconsole/
+%fdupes %{buildroot}%{_docdir}/python-jupyter_qtconsole/
+
+%if %{with tests}
+%check
+%python_expand nosetests-%{$python_bin_suffix}
+%endif
+
+%files
%defattr(-,root,root,-)
%doc COPYING.md
-%doc docs/build/latex/*.pdf
-%endif
+%{_docdir}/python-jupyter_qtconsole/
%changelog
++++++ python-jupyter_qtconsole.spec ++++++
--- /var/tmp/diff_new_pack.clNYfc/_old 2017-05-17 17:12:47.892076120 +0200
+++ /var/tmp/diff_new_pack.clNYfc/_new 2017-05-17 17:12:47.896075555 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-jupyter_qtconsole
#
-# 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,56 +16,38 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jupyter_qtconsole
-Version: 4.1.1
+Version: 4.3.0
Release: 0
Summary: Jupyter Qt console
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://jupyter.org
-Source:
https://pypi.python.org/packages/source/q/qtconsole/qtconsole-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/q/qtconsole/qtconsole-%{version}.tar.gz
BuildRequires: desktop-file-utils
BuildRequires: hicolor-icon-theme
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module Pygments}
+BuildRequires: %{python_module jupyter_client}
+BuildRequires: %{python_module jupyter_core}
+BuildRequires: %{python_module jupyter_ipykernel}
+BuildRequires: %{python_module traitlets}
BuildRequires: update-desktop-files
-BuildRequires: python-Pygments
-BuildRequires: python-devel
-BuildRequires: python-jupyter_client
-BuildRequires: python-jupyter_core
-BuildRequires: python-jupyter_ipykernel
-BuildRequires: python-setuptools
-BuildRequires: python-traitlets
-# Test requirements
-BuildRequires: python-nose
-BuildRequires: python-pexpect
-BuildRequires: python-pyside
-BuildRequires: python-qt4
-%if 0%{?suse_version} >= 1320
-BuildRequires: python-qt5
-%endif
-# Python 2 test requirements
-BuildRequires: python-mock
Requires: hicolor-icon-theme
Requires: python-Pygments
Requires: python-jupyter_client
Requires: python-jupyter_core
Requires: python-jupyter_ipykernel
+Requires: python-sip
Requires: python-traitlets
-%if 0%{?suse_version} >= 1320
Requires: python-qt5
-Recommends: python-qt4
-%else
-Requires: python-qt4
-Recommends: python-qt5
-%endif
-Recommends: python-pyside
-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 rich Qt-based console for working with Jupyter kernels,
@@ -75,56 +57,37 @@
%setup -q -n qtconsole-%{version}
%build
-python setup.py build
+%python_build
%install
export LANG=en_US.UTF-8
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-
-mv %{buildroot}%{_bindir}/jupyter-qtconsole
%{buildroot}%{_bindir}/jupyter2-qtconsole
-ln -s -f %{_bindir}/jupyter2-qtconsole
%{buildroot}%{_bindir}/jupyter-qtconsole-%{py_ver}
-
-# Prepare for update-alternatives usage
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-ln -s -f %{_sysconfdir}/alternatives/jupyter-qtconsole
%{buildroot}%{_bindir}/jupyter-qtconsole
-# create a dummy target for /etc/alternatives/jupyter-qtconsole
-touch %{buildroot}%{_sysconfdir}/alternatives/jupyter-qtconsole
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
# Install icon
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
-cp qtconsole/resources/icon/JupyterConsole.svg
%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/JupyterQtConsole-%{py_ver}.svg
+cp qtconsole/resources/icon/JupyterConsole.svg
%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/JupyterQtConsole.svg
# Modify and install .desktop file
-mv examples/jupyter-qtconsole.desktop jupyter-qtconsole-%{py_ver}.desktop
-desktop-file-edit --set-comment="Jupyter qtconsole for Python %{py_ver}"
--set-name="Jupyter Qt console for Python %{py_ver}"
--set-generic-name="Jupyter shell for Python %{py_ver}" --set-key="Exec"
--set-value="jupyter-qtconsole-%{py_ver}"
--set-icon="JupyterQtConsole-%{py_ver}" jupyter-qtconsole-%{py_ver}.desktop
-%suse_update_desktop_file -i -r jupyter-qtconsole-%{py_ver}
"System;TerminalEmulator;"
+pushd examples
+desktop-file-edit --set-icon="JupyterQtConsole" jupyter-qtconsole.desktop
+%suse_update_desktop_file -i -r jupyter-qtconsole "System;TerminalEmulator;"
+popd
%post
-%_sbindir/update-alternatives \
- --install %{_bindir}/jupyter-qtconsole jupyter-qtconsole
%{_bindir}/jupyter-qtconsole-%{py_ver} 30
%desktop_database_post
%icon_theme_cache_post
%postun
-if [ $1 -eq 0 ] ; then
- %_sbindir/update-alternatives --remove jupyter-qtconsole
%{_bindir}/jupyter-qtconsole-%{py_ver}
-fi
%desktop_database_postun
%icon_theme_cache_postun
-%check
-nosetests
-
-%files
+%files %{python_files}
%defattr(-,root,root,-)
%doc COPYING.md README.md
-%doc examples
-%{_bindir}/jupyter-qtconsole
-%{_bindir}/jupyter2-qtconsole
-%{_bindir}/jupyter-qtconsole-%{py_ver}
-%ghost %{_sysconfdir}/alternatives/jupyter-qtconsole
-%{_datadir}/applications/jupyter-qtconsole-%{py_ver}.desktop
-%{_datadir}/icons/hicolor/scalable/apps/JupyterQtConsole-%{py_ver}.svg
+%python3_only %{_bindir}/jupyter-qtconsole
+%python3_only %{_datadir}/applications/jupyter-qtconsole.desktop
+%python3_only %{_datadir}/icons/hicolor/scalable/apps/JupyterQtConsole.svg
%{python_sitelib}/*
%changelog
++++++ qtconsole-4.1.1.tar.gz -> qtconsole-4.3.0.tar.gz ++++++
++++ 3320 lines of diff (skipped)