14
0
forked from pool/python-urwid
Pascal Bleser
2011-12-08 22:42:44 +00:00
committed by Git OBS Bridge
parent 8dc318e720
commit 8bb4954289
5 changed files with 42 additions and 27 deletions

1
python-urwid-rpmlintrc Normal file
View File

@@ -0,0 +1 @@
addFilter("non-executable-script /usr/.*/python.*/site-packages/urwid/.*")

View File

@@ -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

View File

@@ -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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1a16f7db9b46d23e8f70e6c7746e8aa19ef14939930a948ceec1fee54f0479f5
size 284293

3
urwid-1.0.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:14fe06fe6d584293885b78d95bfca2666986c974f111d7197e4f3d4d9a52c034
size 284592