14
0
forked from pool/python-urwid

- update to 2.6.10:

* `ScrollBar`: fully support `__length_hint__` if not `Sized`
- update to 2.6.9:
  * Support relative scroll for `ListBox`
  * Absolute scrolling calculation is resource-hungry and can
    cause serious issues on the long lists.
  * This change also rework calculation allowing to use
    `ScrollBar` with `TreeList` (users should prevent infinite
    load cycle on lazy-load self).
  * Support `` key reading for sgrmouse
  * Historically  key reading was not implemented due to `` for
    buttons 1-3 is handled by the most GUI terminal emulators
    itself.
  * Fix regression in `TreeWidget`: original widget can be
    overridden
- update to 2.6.8:
  * Fix regression: Overlay not accepted relative positioning
- update to 2.6.7:
  * Fix `MainLoop.watch_pipe` regression for the callback outcome
    not `False`
- update to 2.6.6:
  * Fix Columns sizing and pack behavior
- update to 2.6.5:
  * Allow `wcwidth` to select unicode version
  * `TreeWidget`: do not use deprecated API in
    `update_expanded_icon`
- update to 2.6.4:
  * Fix regression from 2.6.1: `ListBox` used for tree
    implementation.
- update to 2.6.3:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urwid?expand=0&rev=57
This commit is contained in:
2024-04-06 17:40:30 +00:00
committed by Git OBS Bridge
parent dd9e3446c1
commit d92cb4be0b
4 changed files with 67 additions and 12 deletions

View File

@@ -1,3 +1,57 @@
-------------------------------------------------------------------
Sat Apr 6 17:38:32 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.6.10:
* `ScrollBar`: fully support `__length_hint__` if not `Sized`
- update to 2.6.9:
* Support relative scroll for `ListBox`
* Absolute scrolling calculation is resource-hungry and can
cause serious issues on the long lists.
* This change also rework calculation allowing to use
`ScrollBar` with `TreeList` (users should prevent infinite
load cycle on lazy-load self).
* Support `` key reading for sgrmouse
* Historically key reading was not implemented due to `` for
buttons 1-3 is handled by the most GUI terminal emulators
itself.
* Fix regression in `TreeWidget`: original widget can be
overridden
- update to 2.6.8:
* Fix regression: Overlay not accepted relative positioning
- update to 2.6.7:
* Fix `MainLoop.watch_pipe` regression for the callback outcome
not `False`
- update to 2.6.6:
* Fix Columns sizing and pack behavior
- update to 2.6.5:
* Allow `wcwidth` to select unicode version
* `TreeWidget`: do not use deprecated API in
`update_expanded_icon`
- update to 2.6.4:
* Fix regression from 2.6.1: `ListBox` used for tree
implementation.
- update to 2.6.3:
* Fix regression from 2.6.2: weight can be `float`
- update to 2.6.2:
* Feature: support `Widget` instance as `Frame` focus part in
constructor
* Feature: `EventLoop.run_in_executor` should accept `**kwargs`
* Feature: extend validation for `Columns` and `Pile`
* Fix: nonstandard display typing issues
* Fix: Text pack for `layout` without `pack`
* Fix: `ListBox` render crash if empty elements in tail
- update to 2.6.1:
* Fix a scenario with ellipsis wrap not fit in screen columns
- update to 2.6.0:
* ### Compiled C extension is not used anymore.
* It became a blocker for the future correct Unicode support
and caused pain for some of end users building package
separately.
* Fix regression in the `LineBox._w`: should be a property
* Fix ellipsis encoding in the text layout
* Fix ListBox `MAX_LEFT`/`MAX_RIGHT` report for `keypress` as
unhandled
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 27 15:20:40 UTC 2024 - Markéta Machová <mmachova@suse.com> Tue Feb 27 15:20:40 UTC 2024 - Markéta Machová <mmachova@suse.com>

View File

@@ -18,11 +18,11 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-urwid Name: python-urwid
Version: 2.5.3 Version: 2.6.10
Release: 0 Release: 0
Summary: A full-featured console (xterm et al.) user interface library Summary: A full-featured console (xterm et al.) user interface library
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
URL: http://urwid.org URL: https://github.com/urwid/urwid
Source: https://files.pythonhosted.org/packages/source/u/urwid/urwid-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/u/urwid/urwid-%{version}.tar.gz
BuildRequires: %{python_module curses} BuildRequires: %{python_module curses}
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
@@ -33,9 +33,10 @@ BuildRequires: %{python_module wcwidth}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch
Requires: python-curses Requires: python-curses
Requires: python-wcwidth
Requires: python-typing_extensions Requires: python-typing_extensions
Requires: python-wcwidth
%python_subpackages %python_subpackages
%description %description
@@ -62,7 +63,7 @@ find urwid -name "*.py" | xargs sed -i '1 { /^#!/ d }'
%install %install
%pyproject_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%pyunittest discover -v %pyunittest discover -v
@@ -70,7 +71,7 @@ find urwid -name "*.py" | xargs sed -i '1 { /^#!/ d }'
%files %{python_files} %files %{python_files}
%license COPYING %license COPYING
%doc README.rst %doc README.rst
%{python_sitearch}/urwid %{python_sitelib}/urwid
%{python_sitearch}/urwid-%{version}.dist-info %{python_sitelib}/urwid-%{version}.dist-info
%changelog %changelog

View File

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

3
urwid-2.6.10.tar.gz Normal file
View File

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