From 2ef9792172f37075717fcb3c6e7b91bab1987f5acaf1e1ff5cb96ba970ec733b Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 16 Nov 2012 09:42:23 +0000 Subject: [PATCH] Accepting request 141482 from home:posophe:branches:devel:languages:python Update to 1.1.0 OBS-URL: https://build.opensuse.org/request/show/141482 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urwid?expand=0&rev=18 --- python-urwid.changes | 58 ++++++++++++++++++++++++++++++++++++++++++ python-urwid.spec | 4 +-- python3-urwid.changes | 59 +++++++++++++++++++++++++++++++++++++++++++ python3-urwid.spec | 11 ++------ urwid-1.0.2.tar.gz | 3 --- urwid-1.1.0.tar.gz | 3 +++ 6 files changed, 124 insertions(+), 14 deletions(-) delete mode 100644 urwid-1.0.2.tar.gz create mode 100644 urwid-1.1.0.tar.gz diff --git a/python-urwid.changes b/python-urwid.changes index 66abc41..f8b64de 100644 --- a/python-urwid.changes +++ b/python-urwid.changes @@ -1,3 +1,61 @@ +------------------------------------------------------------------- +Thu Nov 15 17:54:54 UTC 2012 - p.drouand@gmail.com + +- Update to 1.1.0 release: + * New common container API: focus, focus_position, contents, + options(), get_focus_path(), set_focus_path(), __getitem__, + __iter__(), __reversed__() implemented across all included + container widgets + A full description doesn't fit here, see the Container Widgets + section in the manual for details + * New Sphinx-based documentation now included in source: + Tutorial rewritten, manual revised and new reference based + on updated docstrings (by Marco Giusti, Patrick Totzke) + * New list walker SimpleFocusListWalker like SimpleListWalker but + updates focus position as items are inserted or removed + * New decoration widget WidgetDisable to disable interaction + with the widgets it wraps + * SelectableIcon selectable text widget used by button widgets is + now documented (available since 0.9.9) + * Columns widget now tries to keep column in focus visible, hiding + columns on the left when necessary + * Padding widget now defaults to ('relative', 100) instead of + 'pack' so that left and right parameters are more useful and more + child widgets are supported + * New list walker "API Version 2" that is simpler for many list + walker uses; "API Version 1" will still continue to be supported + * List walkers may now allow iteration from the absolute top or + bottom of the list if they provide a positions() method + * raw_display now erases to the end of the line with EL escape + sequence to improve copy+paste behavior for some terminals + * Filler now has top and bottom parameters like Padding's left and + right parameters and accepts 'pack' instead of None as a height + value for widgets that calculate their own number of rows + * Pile and Columns now accepts 'pack' instead of 'flow' for widgets + that calculate their own number of rows or columns + * Pile and Columns now accept 'given' instead of 'fixed' for + cases where the number of rows or columns are specified by the + container options + * Pile and Columns widgets now accept any iterable to their + __init__() methods + * Widget now has a default focus_position property that raises + an IndexError when read to be consistent with new common container + API + * GridFlow now supports multiple cell widths within the same widget + * BoxWidget, FlowWidget and FixedWidget are deprecated, instead + use the sizing() function or _sizing attribute to specify the + supported sizing modes for your custom widgets + * Some new shift+arrow and numpad input sequences from RXVT and + xterm are now recognized + * Fix for alarms when used with a screen event loop (e.g. + curses_display) + * Fix for raw_display when terminal width is 1 column + * Fixes for a Columns.get_cursor_coords() regression and a + SelectableIcon.get_cursor_coords() bug + * Fixes for incorrect handling of box columns in a number of + Columns methods when that column is selectable + * Fix for Terminal widget input handling with Python 3 + ------------------------------------------------------------------- Sun Jul 29 15:04:44 UTC 2012 - cfarrell@suse.com diff --git a/python-urwid.spec b/python-urwid.spec index 8827609..321e0af 100644 --- a/python-urwid.spec +++ b/python-urwid.spec @@ -17,7 +17,7 @@ Name: python-urwid -Version: 1.0.2 +Version: 1.1.0 Release: 0 Url: http://excess.org/urwid/ Summary: A full-featured console (xterm et al.) user interface library @@ -58,7 +58,7 @@ useful for text console application developers including: %files %defattr(-,root,root,-) -%doc CHANGELOG reference.html tutorial.html +%doc CHANGELOG COPYING %{python_sitearch}/urwid/ %{python_sitearch}/urwid-%{version}-py%{py_ver}.egg-info diff --git a/python3-urwid.changes b/python3-urwid.changes index 582dc2e..3bf6797 100644 --- a/python3-urwid.changes +++ b/python3-urwid.changes @@ -1,3 +1,62 @@ +------------------------------------------------------------------- +Thu Nov 15 17:56:07 UTC 2012 - p.drouand@gmail.com + +- Update to 1.1.0 release: + * New common container API: focus, focus_position, contents, + options(), get_focus_path(), set_focus_path(), __getitem__, + __iter__(), __reversed__() implemented across all included + container widgets + A full description doesn't fit here, see the Container Widgets + section in the manual for details + * New Sphinx-based documentation now included in source: + Tutorial rewritten, manual revised and new reference based + on updated docstrings (by Marco Giusti, Patrick Totzke) + * New list walker SimpleFocusListWalker like SimpleListWalker but + updates focus position as items are inserted or removed + * New decoration widget WidgetDisable to disable interaction + with the widgets it wraps + * SelectableIcon selectable text widget used by button widgets is + now documented (available since 0.9.9) + * Columns widget now tries to keep column in focus visible, hiding + columns on the left when necessary + * Padding widget now defaults to ('relative', 100) instead of + 'pack' so that left and right parameters are more useful and more + child widgets are supported + * New list walker "API Version 2" that is simpler for many list + walker uses; "API Version 1" will still continue to be supported + * List walkers may now allow iteration from the absolute top or + bottom of the list if they provide a positions() method + * raw_display now erases to the end of the line with EL escape + sequence to improve copy+paste behavior for some terminals + * Filler now has top and bottom parameters like Padding's left and + right parameters and accepts 'pack' instead of None as a height + value for widgets that calculate their own number of rows + * Pile and Columns now accepts 'pack' instead of 'flow' for widgets + that calculate their own number of rows or columns + * Pile and Columns now accept 'given' instead of 'fixed' for + cases where the number of rows or columns are specified by the + container options + * Pile and Columns widgets now accept any iterable to their + __init__() methods + * Widget now has a default focus_position property that raises + an IndexError when read to be consistent with new common container + API + * GridFlow now supports multiple cell widths within the same widget + * BoxWidget, FlowWidget and FixedWidget are deprecated, instead + use the sizing() function or _sizing attribute to specify the + supported sizing modes for your custom widgets + * Some new shift+arrow and numpad input sequences from RXVT and + xterm are now recognized + * Fix for alarms when used with a screen event loop (e.g. + curses_display) + * Fix for raw_display when terminal width is 1 column + * Fixes for a Columns.get_cursor_coords() regression and a + SelectableIcon.get_cursor_coords() bug + * Fixes for incorrect handling of box columns in a number of + Columns methods when that column is selectable + * Fix for Terminal widget input handling with Python 3 + + ------------------------------------------------------------------- Mon Sep 24 11:08:38 UTC 2012 - idonmez@suse.com diff --git a/python3-urwid.spec b/python3-urwid.spec index f7ef8d8..78291df 100644 --- a/python3-urwid.spec +++ b/python3-urwid.spec @@ -17,7 +17,7 @@ Name: python3-urwid -Version: 1.0.2 +Version: 1.1.0 Release: 0 Url: http://excess.org/urwid/ Summary: A full-featured console (xterm et al.) user interface library @@ -32,15 +32,8 @@ BuildRequires: python3 BuildRequires: python3-devel BuildRequires: python3-setuptools Requires: python3-curses - -%if 0%{?suse_version} <= 1140 -%{!?python3_sitearch: %global python3_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%{!?py3_ver: %global py3_ver %(python3 -c "import sys; version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); print(version)")} -%endif Requires: python(abi) = %{py3_ver} -%if 0%{?suse_version} && 0%{?suse_version} > 1140 BuildRequires: python3-base -%endif %description Urwid is a console user interface library. It includes many features @@ -67,7 +60,7 @@ python3 setup.py install --prefix="%{_prefix}" --root="%{buildroot}" %files %defattr(-,root,root,-) -%doc CHANGELOG reference.html tutorial.html +%doc CHANGELOG COPYING %{python3_sitearch}/urwid %{python3_sitearch}/urwid-%{version}-py%{py3_ver}.egg-info diff --git a/urwid-1.0.2.tar.gz b/urwid-1.0.2.tar.gz deleted file mode 100644 index 485fbc9..0000000 --- a/urwid-1.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2e13bd98dc8162caeb768263b6805f98a468ccb3bc28f6eed54770c80a514b37 -size 285489 diff --git a/urwid-1.1.0.tar.gz b/urwid-1.1.0.tar.gz new file mode 100644 index 0000000..d24a67d --- /dev/null +++ b/urwid-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d0807da40f6e943e89c2e1512e1631b6521574ded7957a7f1aabea4a0ad255a +size 482310