- Update to version 5.2.1

* Fix error when deleting CallTipWidget.
  * Another fix for the 'Erase in Line' ANSI code.
- Enable libalternatives as with the rest of the jupyter commands

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-qtconsole?expand=0&rev=40
This commit is contained in:
Benjamin Greiner 2021-11-26 18:38:59 +00:00 committed by Git OBS Bridge
parent 8290157f3d
commit 21afa8dae2
4 changed files with 27 additions and 5 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Nov 26 18:34:22 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to version 5.2.1
* Fix error when deleting CallTipWidget.
* Another fix for the 'Erase in Line' ANSI code.
- Enable libalternatives as with the rest of the jupyter commands
-------------------------------------------------------------------
Sun Nov 14 14:14:46 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -16,10 +16,16 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-qtconsole
Version: 5.2.0
Version: 5.2.1
Release: 0
Summary: Jupyter Qt console
License: BSD-3-Clause
@ -46,8 +52,13 @@ Requires: python-jupyter-core
Requires: python-traitlets
# QtPy does note require or depend on one of the frameworks itself
Requires: (python-qt5 or python-pyside2)
%if %{with libalternatives}
Requires: alts
BuildRequires: alts
%else
Requires(post): update-alternatives
Requires(postun):update-alternatives
%endif
Provides: python-jupyter_qtconsole = %{version}
Obsoletes: python-jupyter_qtconsole < %{version}
BuildArch: noarch
@ -122,6 +133,9 @@ export QT_QPA_PLATFORM="offscreen"
# now with test_input too. But does not seem to happen on the build server, only locally.
%pytest -ra -k "not (test_00 and (test_scroll or test_debug or test_input))"
%pre
%python_libalternatives_reset_alternative jupyter-qtconsole
%post
%python_install_alternative jupyter-qtconsole

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6bb4df839609f240194213407872076f871e3a3884cf8e785068e8c7f39344c6
size 429597

3
qtconsole-5.2.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb3b9f0d674055e627c1097779c0d5e028176706d3b6be39cf52235f6ddcc88e
size 429573