diff --git a/python-urwid-rpmlintrc b/python-urwid-rpmlintrc new file mode 100644 index 0000000..6ef181a --- /dev/null +++ b/python-urwid-rpmlintrc @@ -0,0 +1 @@ +addFilter("non-executable-script /usr/.*/python.*/site-packages/urwid/.*") diff --git a/python-urwid.changes b/python-urwid.changes index 1987d6e..f2b1edd 100644 --- a/python-urwid.changes +++ b/python-urwid.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Thu Dec 08 22:31:27 UTC 2011 - pascal.bleser@opensuse.org + +- update to 1.0.1: + * fix for a Filler mouse_event() position bug + * fix support for mouse positions up to x=255, y=255 + * fixes for a number of string encoding issues under Python 3 + * fix for a LineBox border __init__() parameters + * fix input input of UTF-8 in tour.py example by converting captions to + unicode + * prevent raw_display from calling tcseattr() or tcgetattr() on non-ttys + * disable curses_display external event loop support: screen resizing and gpm + events are not properly supported + * mark PollingListWalker as deprecated + +- changed arch to _not_ be noarch, contains a shlib file + ------------------------------------------------------------------- Fri Sep 23 10:14:21 UTC 2011 - saschpe@suse.de diff --git a/python-urwid.spec b/python-urwid.spec index f1b68ca..4c7ab28 100644 --- a/python-urwid.spec +++ b/python-urwid.spec @@ -16,53 +16,50 @@ # Name: python-urwid -Version: 1.0.0 +Version: 1.0.1 Release: 0 Url: http://excess.org/urwid/ 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 +Source: http://excess.org/urwid/urwid-%{version}.tar.gz +Source99: python-urwid-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-setuptools BuildRequires: python-devel %if 0%{?suse_version} %py_requires -%if 0%{suse_version} Requires: python-curses %endif -%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 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 +- 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} +%__python setup.py install \ + --prefix="%{_prefix}" \ + --root="%{buildroot}" \ + --record-rpm=files.lst -%files +%files -f files.lst %defattr(-,root,root,-) %doc CHANGELOG reference.html tutorial.html -%{python_sitelib}/* %changelog diff --git a/urwid-1.0.0.tar.gz b/urwid-1.0.0.tar.gz deleted file mode 100644 index 7441c00..0000000 --- a/urwid-1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1a16f7db9b46d23e8f70e6c7746e8aa19ef14939930a948ceec1fee54f0479f5 -size 284293 diff --git a/urwid-1.0.1.tar.gz b/urwid-1.0.1.tar.gz new file mode 100644 index 0000000..9b5a394 --- /dev/null +++ b/urwid-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14fe06fe6d584293885b78d95bfca2666986c974f111d7197e4f3d4d9a52c034 +size 284592