forked from pool/python-urwid
Accepting request 307811 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/307811 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urwid?expand=0&rev=10
This commit is contained in:
@@ -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
|
Mon Jul 14 15:56:15 UTC 2014 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-urwid
|
# 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
|
# 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
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-urwid
|
Name: python-urwid
|
||||||
Version: 1.2.1
|
Version: 1.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://excess.org/urwid/
|
Url: http://excess.org/urwid/
|
||||||
Summary: A full-featured console (xterm et al.) user interface library
|
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-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%py_requires
|
|
||||||
Requires: python-curses
|
Requires: python-curses
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} <= 1110
|
%if 0%{?suse_version} <= 1110
|
||||||
@@ -51,15 +50,17 @@ useful for text console application developers including:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "urwid-%{version}"
|
%setup -q -n "urwid-%{version}"
|
||||||
|
# remove unwanted shebang
|
||||||
|
find urwid -name "*.py" | xargs sed -i '1 { /^#!/ d }'
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__python setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%__python setup.py install --prefix="%{_prefix}" --root="%{buildroot}"
|
python setup.py install --prefix="%{_prefix}" --root="%{buildroot}"
|
||||||
# remove shebangs from all scripts
|
|
||||||
find %{buildroot}%{python_sitearch} -name '*.py' \
|
%check
|
||||||
-exec sed -i -e '1{/^#!/d}' {} \;
|
python setup.py -q test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9b9b5dabb7df6c0f12e84feed488f9a9ddd5c2d66d1b7c7c087055720b87c68c
|
|
||||||
size 578088
|
|
3
urwid-1.3.0.tar.gz
Normal file
3
urwid-1.3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:29f04fad3bf0a79c5491f7ebec2d50fa086e9d16359896c9204c6a92bc07aba2
|
||||||
|
size 580922
|
Reference in New Issue
Block a user