Hello community,

here is the log from the commit of package python-urwid for openSUSE:Factory 
checked in at 2013-01-17 10:09:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-urwid (Old)
 and      /work/SRC/openSUSE:Factory/.python-urwid.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-urwid", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-urwid/python-urwid.changes        
2012-11-17 07:27:43.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-urwid.new/python-urwid.changes   
2013-01-17 10:09:55.000000000 +0100
@@ -1,0 +2,13 @@
+Mon Jan 14 16:42:26 UTC 2013 - [email protected]
+
+- Update to 1.1.1 version:
+  * Fix for Pile not changing focus on mouse events
+  * Fix for Overlay.get_cursor_coords()
+- Fix the non-executable-files rpm waraning and remove the rpmlint file
+
+-------------------------------------------------------------------
+Wed Jan  2 19:44:41 UTC 2013 - [email protected]
+
+- Fix building on SLES
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/python-urwid/python3-urwid.changes       
2012-11-17 07:27:43.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-urwid.new/python3-urwid.changes  
2013-01-17 10:09:55.000000000 +0100
@@ -1,0 +2,8 @@
+Mon Jan 14 16:42:26 UTC 2013 - [email protected]
+
+- Update to 1.1.1 version:
+  * Fix for Pile not changing focus on mouse events
+  * Fix for Overlay.get_cursor_coords()
+- Fix the non-executable-files rpm waraning and remove the rpmlint file
+
+-------------------------------------------------------------------

Old:
----
  python-urwid-rpmlintrc
  urwid-1.1.0.tar.gz

New:
----
  urwid-1.1.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-urwid.spec ++++++
--- /var/tmp/diff_new_pack.S8RiMY/_old  2013-01-17 10:09:57.000000000 +0100
+++ /var/tmp/diff_new_pack.S8RiMY/_new  2013-01-17 10:09:57.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-urwid
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -17,14 +17,13 @@
 
 
 Name:           python-urwid
-Version:        1.1.0
+Version:        1.1.1
 Release:        0
 Url:            http://excess.org/urwid/
 Summary:        A full-featured console (xterm et al.) user interface library
 License:        LGPL-2.1+
 Group:          Development/Languages/Python
 Source:         http://excess.org/urwid/urwid-%{version}.tar.gz
-Source99:       python-urwid-rpmlintrc
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
@@ -32,6 +31,9 @@
 %py_requires
 Requires:       python-curses
 %endif
+%if  0%{?suse_version} <= 1110
+%{!?python_sitearch:  %global python_sitearch  %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
 
 %description
 Urwid is a console user interface library.  It includes many features
@@ -55,6 +57,9 @@
 
 %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}' {} \;
 
 %files
 %defattr(-,root,root,-)

++++++ python3-urwid.spec ++++++
--- /var/tmp/diff_new_pack.S8RiMY/_old  2013-01-17 10:09:57.000000000 +0100
+++ /var/tmp/diff_new_pack.S8RiMY/_new  2013-01-17 10:09:57.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python3-urwid
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -17,14 +17,13 @@
 
 
 Name:           python3-urwid
-Version:        1.1.0
+Version:        1.1.1
 Release:        0
 Url:            http://excess.org/urwid/
 Summary:        A full-featured console (xterm et al.) user interface library
 License:        LGPL-2.1+
 Group:          Development/Languages/Python
 Source:         http://excess.org/urwid/urwid-%{version}.tar.gz
-Source99:       python-urwid-rpmlintrc
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python3-2to3
 # Needed for hashlib/sha512
@@ -32,7 +31,6 @@
 BuildRequires:  python3-devel
 BuildRequires:  python3-setuptools
 Requires:       python3-curses
-Requires:       python(abi) = %{py3_ver}
 BuildRequires:  python3-base
 
 %description
@@ -57,6 +55,9 @@
 
 %install
 python3 setup.py install --prefix="%{_prefix}" --root="%{buildroot}"
+# remove shebangs from all scripts
+find %{buildroot}%{python3_sitearch} -name '*.py' \
+     -exec sed -i -e '1{/^#!/d}' {} \;
 
 %files
 %defattr(-,root,root,-)

++++++ urwid-1.1.0.tar.gz -> urwid-1.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urwid-1.1.0/CHANGELOG new/urwid-1.1.1/CHANGELOG
--- old/urwid-1.1.0/CHANGELOG   2012-10-22 18:13:27.000000000 +0200
+++ new/urwid-1.1.1/CHANGELOG   2012-11-16 01:27:41.000000000 +0100
@@ -1,5 +1,12 @@
  -*- coding: utf-8 -*-
 
+Urwid 1.1.1
+
+    * Fix for Pile not changing focus on mouse events
+
+    * Fix for Overlay.get_cursor_coords()
+
+
 Urwid 1.1.0
 
     * New common container API: focus, focus_position, contents,
@@ -80,6 +87,14 @@
     * Fix for Terminal widget input handling with Python 3
 
 
+Urwid 1.0.3
+
+    * Fix for alarms when used with a screen event loop (e.g.
+      curses_display)
+
+    * Fix for Overlay.get_cursor_coords()
+
+
 Urwid 1.0.2
 
     * Fix for bug when entering Unicode text into Edit widget with
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urwid-1.1.0/PKG-INFO new/urwid-1.1.1/PKG-INFO
--- old/urwid-1.1.0/PKG-INFO    2012-10-23 17:34:20.000000000 +0200
+++ new/urwid-1.1.1/PKG-INFO    2012-11-16 01:28:45.000000000 +0100
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: urwid
-Version: 1.1.0
+Version: 1.1.1
 Summary: A full-featured console (xterm et al.) user interface library
 Home-page: http://excess.org/urwid/
 Author: Ian Ward
 Author-email: [email protected]
 License: LGPL
-Download-URL: http://excess.org/urwid/urwid-1.1.0.tar.gz
+Download-URL: http://excess.org/urwid/urwid-1.1.1.tar.gz
 Description: Urwid is a console user interface library.  It includes many 
features
         useful for text console application developers including:
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urwid-1.1.0/docs/manual/widgets.rst 
new/urwid-1.1.1/docs/manual/widgets.rst
--- old/urwid-1.1.0/docs/manual/widgets.rst     2012-10-22 16:32:56.000000000 
+0200
+++ new/urwid-1.1.1/docs/manual/widgets.rst     2012-11-16 01:23:25.000000000 
+0100
@@ -684,7 +684,7 @@
 
 Selectable widgets such as Edit and Button widgets allow the user to interact
 with the application. A widget is selectable if its selectable method returns
-True. Selectable widgets must implement the :meth:`Widgte.keypress` method to
+True. Selectable widgets must implement the :meth:`Widget.keypress` method to
 handle keyboard input.
 
 .. literalinclude:: wsel.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urwid-1.1.0/urwid/container.py 
new/urwid-1.1.1/urwid/container.py
--- old/urwid-1.1.0/urwid/container.py  2012-10-22 16:32:56.000000000 +0200
+++ new/urwid-1.1.1/urwid/container.py  2012-11-16 01:23:25.000000000 +0100
@@ -681,7 +681,7 @@
 
     def get_cursor_coords(self, size):
         """Return cursor coords from top_w, if any."""
-        if not hasattr(self.body, 'get_cursor_coords'):
+        if not hasattr(self.top_w, 'get_cursor_coords'):
             return None
         (maxcol, maxrow) = size
         left, right, top, bottom = self.calculate_padding_filler(size,
@@ -1648,7 +1648,7 @@
         focus = focus and self.focus_item == w
         if is_mouse_press(event) and button == 1:
             if w.selectable():
-                self.set_focus_position = i
+                self.focus_position = i
 
         if not hasattr(w, 'mouse_event'):
             return False
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urwid-1.1.0/urwid/tests.py 
new/urwid-1.1.1/urwid/tests.py
--- old/urwid-1.1.0/urwid/tests.py      2012-10-22 16:32:56.000000000 +0200
+++ new/urwid-1.1.1/urwid/tests.py      2012-11-16 01:23:25.000000000 +0100
@@ -2017,6 +2017,12 @@
     def test_init_with_a_generator(self):
         urwid.Pile(urwid.Text(c) for c in "ABC")
 
+    def test_change_focus_with_mouse(self):
+        p = urwid.Pile([urwid.Edit(), urwid.Edit()])
+        self.assertEquals(p.focus_position, 0)
+        p.mouse_event((10,), 'button press', 1, 1, 1, True)
+        self.assertEquals(p.focus_position, 1)
+
 
 class ColumnsTest(unittest.TestCase):
     def cwtest(self, desc, l, divide, size, exp, focus_column=0):
@@ -2240,6 +2246,11 @@
             'right', None, 'relative', 100, None, 4, 5,
             'bottom', None, 'relative', 100, None, 2, 3))
 
+    def test_get_cursor_coords(self):
+        self.assertEquals(urwid.Overlay(urwid.Filler(urwid.Edit()),
+            urwid.SolidFill(u'B'),
+            'right', 1, 'bottom', 1).get_cursor_coords((2,2)), (1,1))
+
 
 class GridFlowTest(unittest.TestCase):
     def test_cell_width(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urwid-1.1.0/urwid/version.py 
new/urwid-1.1.1/urwid/version.py
--- old/urwid-1.1.0/urwid/version.py    2012-10-22 16:32:56.000000000 +0200
+++ new/urwid-1.1.1/urwid/version.py    2012-11-16 01:27:55.000000000 +0100
@@ -1,5 +1,5 @@
 
-VERSION = (1, 1, 0)
+VERSION = (1, 1, 1)
 __version__ = ''.join(['-.'[type(x) == int]+str(x) for x in VERSION])[1:]
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/urwid-1.1.0/urwid.egg-info/PKG-INFO 
new/urwid-1.1.1/urwid.egg-info/PKG-INFO
--- old/urwid-1.1.0/urwid.egg-info/PKG-INFO     2012-10-23 17:34:19.000000000 
+0200
+++ new/urwid-1.1.1/urwid.egg-info/PKG-INFO     2012-11-16 01:28:45.000000000 
+0100
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: urwid
-Version: 1.1.0
+Version: 1.1.1
 Summary: A full-featured console (xterm et al.) user interface library
 Home-page: http://excess.org/urwid/
 Author: Ian Ward
 Author-email: [email protected]
 License: LGPL
-Download-URL: http://excess.org/urwid/urwid-1.1.0.tar.gz
+Download-URL: http://excess.org/urwid/urwid-1.1.1.tar.gz
 Description: Urwid is a console user interface library.  It includes many 
features
         useful for text console application developers including:
         

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to