forked from pool/python-urwid
- Update to version 1.0.0:
* New support for Python 3.2 from the same 2.x code base, requires distribute instead of setuptools (by Kirk McDonald, Wendell, Marien Zwart) everything except TwistedEventLoop and GLibEventLoop is supported * New experimental Terminal widget with xterm emulation and terminal.py example program (by aszlig) * Edit widget now supports a mask (for passwords), has a insert_text_result() method for full-field validation and normalizes input text to Unicode or bytes based on the caption type used * New TreeWidget, TreeNode, ParentNode, TreeWalker and TreeListBox classes for lazy expanding/collapsing tree views factored out of browse.py example program, with new treesample.py example program (by Rob Lanphier) * MainLoop now calls draw_screen() just before going idle, so extra calls to draw_screen() in user code may now be removed * New MainLoop.watch_pipe() method for subprocess or threaded communication with the process/thread updating the UI, and new subproc.py example demonstrating its use * New PopUpLauncher and PopUpTarget widgets and MainLoop option for creating pop-ups and drop-downs, and new pop_up.py example program * New twisted_serve_ssh.py example (by Ali Afshar) that serves multiple displays over ssh from the same application using Twisted and the TwistedEventLoop OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urwid?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
b48c625f91
commit
8dc318e720
@@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 23 10:14:21 UTC 2011 - saschpe@suse.de
|
||||||
|
|
||||||
|
- Update to version 1.0.0:
|
||||||
|
* New support for Python 3.2 from the same 2.x code base,
|
||||||
|
requires distribute instead of setuptools (by Kirk McDonald,
|
||||||
|
Wendell, Marien Zwart) everything except TwistedEventLoop and
|
||||||
|
GLibEventLoop is supported
|
||||||
|
* New experimental Terminal widget with xterm emulation and
|
||||||
|
terminal.py example program (by aszlig)
|
||||||
|
* Edit widget now supports a mask (for passwords), has a
|
||||||
|
insert_text_result() method for full-field validation and
|
||||||
|
normalizes input text to Unicode or bytes based on the caption
|
||||||
|
type used
|
||||||
|
* New TreeWidget, TreeNode, ParentNode, TreeWalker
|
||||||
|
and TreeListBox classes for lazy expanding/collapsing tree
|
||||||
|
views factored out of browse.py example program, with new
|
||||||
|
treesample.py example program (by Rob Lanphier)
|
||||||
|
* MainLoop now calls draw_screen() just before going idle, so extra
|
||||||
|
calls to draw_screen() in user code may now be removed
|
||||||
|
* New MainLoop.watch_pipe() method for subprocess or threaded
|
||||||
|
communication with the process/thread updating the UI, and new
|
||||||
|
subproc.py example demonstrating its use
|
||||||
|
* New PopUpLauncher and PopUpTarget widgets and MainLoop option
|
||||||
|
for creating pop-ups and drop-downs, and new pop_up.py example
|
||||||
|
program
|
||||||
|
* New twisted_serve_ssh.py example (by Ali Afshar) that serves
|
||||||
|
multiple displays over ssh from the same application using
|
||||||
|
Twisted and the TwistedEventLoop
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 26 12:24:31 UTC 2010 - pascal.bleser@opensuse.org
|
Tue Jan 26 12:24:31 UTC 2010 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-urwid
|
# spec file for package python-urwid
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -11,55 +11,58 @@
|
|||||||
# case the license is the MIT License). An "Open Source License" is a
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
#
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: python-urwid
|
Name: python-urwid
|
||||||
Version: 0.9.9.1
|
Version: 1.0.0
|
||||||
Release: 1
|
Release: 0
|
||||||
Summary: Console UI Library for Python
|
|
||||||
# http://excess.org/urwid/urwid-%{version}.tar.gz
|
|
||||||
Source: urwid-%{version}.tar.bz2
|
|
||||||
Url: http://excess.org/urwid/
|
Url: http://excess.org/urwid/
|
||||||
Group: Development/Libraries/Python
|
Summary: A full-featured console (xterm et al.) user interface library
|
||||||
License: GNU Library General Public License (LGPL)
|
License: LGPL
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
Source: http://excess.org/urwid/urwid-1.0.0.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python python-devel
|
BuildRequires: python-devel
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
%py_requires
|
||||||
%if 0%{suse_version}
|
%if 0%{suse_version}
|
||||||
Requires: python-curses
|
Requires: python-curses
|
||||||
%endif
|
%endif
|
||||||
%py_requires
|
%if 0%{?suse_version} > 1110
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Urwid is a Python library for making text console applications. It has
|
Urwid is a console user interface library. It includes many features
|
||||||
many features including fluid interface resizing, support for UTF-8 and CJK
|
useful for text console application developers including:
|
||||||
encodings, standard and custom text layout modes, simple markup for setting
|
|
||||||
text attributes, and a powerful, dynamic list box that handles a mix of
|
- Applications resize quickly and smoothly
|
||||||
widget types. It is flexible, modular, and leaves the developer in control.
|
- 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
|
%prep
|
||||||
%setup -q -n "urwid-%{version}"
|
%setup -q -n urwid-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__python ./setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%__python ./setup.py install --prefix="%{_prefix}" --root="%{buildroot}" --record-rpm="files.lst"
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
%clean
|
%files
|
||||||
%__rm -rf "%{buildroot}"
|
%defattr(-,root,root,-)
|
||||||
|
%doc CHANGELOG reference.html tutorial.html
|
||||||
%files -f files.lst
|
%{python_sitelib}/*
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc CHANGELOG
|
|
||||||
%doc reference.html tutorial.html
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
# Local Variables:
|
|
||||||
# mode: rpm-spec
|
|
||||||
# tab-width: 3
|
|
||||||
# End:
|
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:841c88b6c219cb51e96cad0a458de2e6b85fa5c7d9b566133d3f04691a5940f4
|
|
||||||
size 195428
|
|
3
urwid-1.0.0.tar.gz
Normal file
3
urwid-1.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1a16f7db9b46d23e8f70e6c7746e8aa19ef14939930a948ceec1fee54f0479f5
|
||||||
|
size 284293
|
Reference in New Issue
Block a user