Accepting request 934144 from devel:languages:python:jupyter
- 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/request/show/934144 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-qtconsole?expand=0&rev=21
This commit is contained in:
commit
a659d4b400
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
3
qtconsole-5.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bb3b9f0d674055e627c1097779c0d5e028176706d3b6be39cf52235f6ddcc88e
|
||||
size 429573
|
Loading…
Reference in New Issue
Block a user