diff --git a/python-urwid.changes b/python-urwid.changes index 81a0c0e..da6812a 100644 --- a/python-urwid.changes +++ b/python-urwid.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Thu May 14 13:09:33 UTC 2015 - benoit.monin@gmx.fr + +- update to version 1.3.0: + * New AsyncioEventLoop for Python 3.4, Python 3.x with asyncio + package or Python 2 with trollius package (by Alex Munroe, + Jonas Wielicki, with earlier work by Kelketek Rritaa) + * Screen classes now call back to MainLoop using event loop + alarms instead of passing timeout values to MainLoop (by Alex + Munroe) + * Add support for bright backgrounds on linux console (by Russell + Warren) + * Allow custom sorting of MonitoredList (by Tony Cebzanov) + * Fix support for negative indexes with MonitoredFocusList (by + Heiko Noordhof) + * Documentation fixes (by Ismail, Matthew Mosesohn) +- additional change from version 1.2.2: + * Fix for a serious raw_display performance regression (by Anton + Khirnov) + * Fix for high color palette detection (by extempo) + * Small changes to enable windows support (by Jeanpierre Devin) +- remove %py_requires macro +- call python directly, not via %__python macro +- remove unwanted shebang during %prep, not after build + to avoid mtime mismatch +- run the tests during build + ------------------------------------------------------------------- Mon Jul 14 15:56:15 UTC 2014 - toddrme2178@gmail.com diff --git a/python-urwid.spec b/python-urwid.spec index 163325f..6d23c7e 100644 --- a/python-urwid.spec +++ b/python-urwid.spec @@ -1,7 +1,7 @@ # # spec file for package python-urwid # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-urwid -Version: 1.2.1 +Version: 1.3.0 Release: 0 Url: http://excess.org/urwid/ Summary: A full-featured console (xterm et al.) user interface library @@ -28,7 +28,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-setuptools %if 0%{?suse_version} -%py_requires Requires: python-curses %endif %if 0%{?suse_version} <= 1110 @@ -51,15 +50,17 @@ useful for text console application developers including: %prep %setup -q -n "urwid-%{version}" +# remove unwanted shebang +find urwid -name "*.py" | xargs sed -i '1 { /^#!/ d }' %build -%__python setup.py build +python setup.py build %install -%__python setup.py install --prefix="%{_prefix}" --root="%{buildroot}" -# remove shebangs from all scripts -find %{buildroot}%{python_sitearch} -name '*.py' \ - -exec sed -i -e '1{/^#!/d}' {} \; +python setup.py install --prefix="%{_prefix}" --root="%{buildroot}" + +%check +python setup.py -q test %files %defattr(-,root,root,-) diff --git a/urwid-1.2.1.tar.gz b/urwid-1.2.1.tar.gz deleted file mode 100644 index 10f9f91..0000000 --- a/urwid-1.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9b9b5dabb7df6c0f12e84feed488f9a9ddd5c2d66d1b7c7c087055720b87c68c -size 578088 diff --git a/urwid-1.3.0.tar.gz b/urwid-1.3.0.tar.gz new file mode 100644 index 0000000..5607760 --- /dev/null +++ b/urwid-1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29f04fad3bf0a79c5491f7ebec2d50fa086e9d16359896c9204c6a92bc07aba2 +size 580922