diff --git a/python-urwid.changes b/python-urwid.changes index f14182d..1987d6e 100644 --- a/python-urwid.changes +++ b/python-urwid.changes @@ -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 diff --git a/python-urwid.spec b/python-urwid.spec index b7a44d8..f1b68ca 100644 --- a/python-urwid.spec +++ b/python-urwid.spec @@ -1,7 +1,7 @@ # # 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 # 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 # 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/ # -# norootforbuild - - Name: python-urwid -Version: 0.9.9.1 -Release: 1 -Summary: Console UI Library for Python -# http://excess.org/urwid/urwid-%{version}.tar.gz -Source: urwid-%{version}.tar.bz2 +Version: 1.0.0 +Release: 0 Url: http://excess.org/urwid/ -Group: Development/Libraries/Python -License: GNU Library General Public License (LGPL) +Summary: A full-featured console (xterm et al.) user interface library +License: LGPL +Group: Development/Languages/Python +Source: http://excess.org/urwid/urwid-1.0.0.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python python-devel +BuildRequires: python-devel +%if 0%{?suse_version} +%py_requires %if 0%{suse_version} Requires: python-curses %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 -Urwid is a Python library for making text console applications. It has -many features including fluid interface resizing, support for UTF-8 and CJK -encodings, standard and custom text layout modes, simple markup for setting -text attributes, and a powerful, dynamic list box that handles a mix of -widget types. It is flexible, modular, and leaves the developer in control. +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}" +%setup -q -n urwid-%{version} %build -%__python ./setup.py build +python setup.py build %install -%__python ./setup.py install --prefix="%{_prefix}" --root="%{buildroot}" --record-rpm="files.lst" +python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%clean -%__rm -rf "%{buildroot}" - -%files -f files.lst -%defattr(-,root,root) -%doc CHANGELOG -%doc reference.html tutorial.html +%files +%defattr(-,root,root,-) +%doc CHANGELOG reference.html tutorial.html +%{python_sitelib}/* %changelog -# Local Variables: -# mode: rpm-spec -# tab-width: 3 -# End: diff --git a/urwid-0.9.9.1.tar.bz2 b/urwid-0.9.9.1.tar.bz2 deleted file mode 100644 index 2f60f9b..0000000 --- a/urwid-0.9.9.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:841c88b6c219cb51e96cad0a458de2e6b85fa5c7d9b566133d3f04691a5940f4 -size 195428 diff --git a/urwid-1.0.0.tar.gz b/urwid-1.0.0.tar.gz new file mode 100644 index 0000000..7441c00 --- /dev/null +++ b/urwid-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a16f7db9b46d23e8f70e6c7746e8aa19ef14939930a948ceec1fee54f0479f5 +size 284293