Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urwid?expand=0&rev=24
This commit is contained in:
committed by
Git OBS Bridge
parent
74cbe12751
commit
03aa94dcda
@@ -1,98 +0,0 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 14 16:42:26 UTC 2013 - p.drouand@gmail.com
|
||||
|
||||
- Update to 1.1.1 version:
|
||||
* Fix for Pile not changing focus on mouse events
|
||||
* Fix for Overlay.get_cursor_coords()
|
||||
- Fix the non-executable-files rpm waraning and remove the rpmlint file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- BuildRequire python3 to get hashlib sha512 support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 4 11:53:59 UTC 2012 - p.drouand@gmail.com
|
||||
|
||||
- license update: LGPL-2.1+
|
||||
LGPL without version is not acceptable
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 20 23:31:39 UTC 2012 - p.drouand@gmail.com
|
||||
|
||||
- Bump to 1.0.2 release:
|
||||
* Fix for bug when entering Unicode text into Edit widget with
|
||||
bytes caption
|
||||
* Fix a regression when not running in UTF-8 mode
|
||||
* Fix for a MainLoop.remove_watch_pipe() bug
|
||||
* Fix for a bug when packing empty Edit widgets
|
||||
* Fix for a ListBox "contents too long" error with very large
|
||||
Edit widgets
|
||||
* Prevent ListBoxes from selecting 0-height selectable widgets
|
||||
when moving up or down
|
||||
* Fix a number of bugs caused by 0-height widgets in a ListBox
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 9 03:18:25 UTC 2012 - highwaystar.ru@gmail.com
|
||||
|
||||
- python3 package added
|
||||
|
||||
@@ -1,68 +0,0 @@
|
||||
#
|
||||
# spec file for package python3-urwid
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python3-urwid
|
||||
Version: 1.1.1
|
||||
Release: 0
|
||||
Url: http://excess.org/urwid/
|
||||
Summary: A full-featured console (xterm et al.) user interface library
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Languages/Python
|
||||
Source: http://excess.org/urwid/urwid-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python3-2to3
|
||||
# Needed for hashlib/sha512
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
Requires: python3-curses
|
||||
BuildRequires: python3-base
|
||||
|
||||
%description
|
||||
Urwid is a console user interface library. It includes many features
|
||||
useful for text console application developers including:
|
||||
- Applications resize quickly and smoothly
|
||||
- Automatic, programmable text alignment and wrapping
|
||||
- Simple markup for setting text attributes within blocks of text
|
||||
- Powerful list box with programmable content for scrolling all widget types
|
||||
- Your choice of event loops: Twisted, Glib or built-in select-based loop
|
||||
- Pre-built widgets include edit boxes, buttons, check boxes and radio buttons
|
||||
- Display modules include raw, curses, and experimental LCD and web displays
|
||||
- Support for UTF-8, simple 8-bit and CJK encodings
|
||||
- 256 and 88 color mode support
|
||||
- Python 3.2 support
|
||||
|
||||
%prep
|
||||
%setup -q -n "urwid-%{version}"
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install --prefix="%{_prefix}" --root="%{buildroot}"
|
||||
# remove shebangs from all scripts
|
||||
find %{buildroot}%{python3_sitearch} -name '*.py' \
|
||||
-exec sed -i -e '1{/^#!/d}' {} \;
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGELOG COPYING
|
||||
%{python3_sitearch}/urwid
|
||||
%{python3_sitearch}/urwid-%{version}-py%{py3_ver}.egg-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user