Hello community,

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

Package is "python-atspi"

Wed Oct 17 08:09:28 2018 rev:59 rq:636055 version:2.30.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-atspi/python-atspi.changes        
2018-03-08 10:49:27.518705128 +0100
+++ /work/SRC/openSUSE:Factory/.python-atspi.new/python-atspi.changes   
2018-10-17 08:09:32.215178178 +0200
@@ -1,0 +2,20 @@
+Fri Sep  7 20:31:35 UTC 2018 - [email protected]
+
+- Update to version 2.30.0:
+  + No changes, stable bump only.
+
+-------------------------------------------------------------------
+Thu Aug 16 16:04:54 UTC 2018 - [email protected]
+
+- Update to version 2.29.90:
+  + registry: Rename async keyword for compatibility with Python
+    3.7.
+  + Add missing XY_PARENT export.
+
+-------------------------------------------------------------------
+Tue Jun 19 23:18:53 UTC 2018 - [email protected]
+
+- Update to version 2.29.1:
+  + Add ScrollTo and ScrollToPoint component interfaces.
+
+-------------------------------------------------------------------

Old:
----
  pyatspi-2.26.0.tar.xz

New:
----
  pyatspi-2.30.0.tar.xz

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

Other differences:
------------------
++++++ python-atspi.spec ++++++
--- /var/tmp/diff_new_pack.qJ98VS/_old  2018-10-17 08:09:32.523178041 +0200
+++ /var/tmp/diff_new_pack.qJ98VS/_new  2018-10-17 08:09:32.523178041 +0200
@@ -19,13 +19,14 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define _name   pyatspi
 Name:           python-atspi
-Version:        2.26.0
+Version:        2.30.0
 Release:        0
 Summary:        Assistive Technology Service Provider Interface - Python 
bindings
 License:        LGPL-2.0-only
 Group:          Development/Libraries/Python
 URL:            http://www.gnome.org/
-Source0:        
http://download.gnome.org/sources/pyatspi/2.26/%{_name}-%{version}.tar.xz
+Source0:        
https://download.gnome.org/sources/pyatspi/2.30/%{_name}-%{version}.tar.xz
+
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module gobject >= 2.90.1}
 BuildRequires:  %{python_module gobject-devel >= 2.90.1}

++++++ pyatspi-2.26.0.tar.xz -> pyatspi-2.30.0.tar.xz ++++++
++++ 4016 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/pyatspi-2.26.0/NEWS new/pyatspi-2.30.0/NEWS
--- old/pyatspi-2.26.0/NEWS     2017-06-23 02:44:28.000000000 +0200
+++ new/pyatspi-2.30.0/NEWS     2018-08-14 00:42:26.000000000 +0200
@@ -1,3 +1,9 @@
+What's new in pyatspi 2.25.90:
+
+* registry: Rename async keyword for compatibility with Python 3.7.
+
+* Add missing XY_PARENT export.
+
 What's new in pyatspi 2.25.3:
 
 * Add error-message, error-for, details, and details-for relation types
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/pyatspi-2.26.0/config/compile new/pyatspi-2.30.0/config/compile
--- old/pyatspi-2.26.0/config/compile   2017-09-11 22:13:53.000000000 +0200
+++ new/pyatspi-2.30.0/config/compile   2018-09-03 23:31:43.000000000 +0200
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Wrapper for compilers which do not understand '-c -o'.
 
-scriptversion=2016-01-11.22; # UTC
+scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 1999-2017 Free Software Foundation, Inc.
+# Copyright (C) 1999-2018 Free Software Foundation, Inc.
 # Written by Tom Tromey <[email protected]>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -340,7 +340,7 @@
 # Local Variables:
 # mode: shell-script
 # sh-indentation: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
 # time-stamp-time-zone: "UTC0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/pyatspi-2.26.0/config/missing new/pyatspi-2.30.0/config/missing
--- old/pyatspi-2.26.0/config/missing   2017-09-11 22:13:53.000000000 +0200
+++ new/pyatspi-2.30.0/config/missing   2018-09-03 23:31:43.000000000 +0200
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Common wrapper for a few potentially missing GNU programs.
 
-scriptversion=2016-01-11.22; # UTC
+scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 1996-2017 Free Software Foundation, Inc.
+# Copyright (C) 1996-2018 Free Software Foundation, Inc.
 # Originally written by Fran,cois Pinard <[email protected]>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@
 # GNU General Public License for more details.
 
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -101,9 +101,9 @@
   exit $st
 fi
 
-perl_URL=http://www.perl.org/
-flex_URL=http://flex.sourceforge.net/
-gnu_software_URL=http://www.gnu.org/software
+perl_URL=https://www.perl.org/
+flex_URL=https://github.com/westes/flex
+gnu_software_URL=https://www.gnu.org/software
 
 program_details ()
 {
@@ -207,7 +207,7 @@
 exit $st
 
 # Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
 # time-stamp-time-zone: "UTC0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/pyatspi-2.26.0/config/py-compile new/pyatspi-2.30.0/config/py-compile
--- old/pyatspi-2.26.0/config/py-compile        2017-09-11 22:13:53.000000000 
+0200
+++ new/pyatspi-2.30.0/config/py-compile        2018-09-03 23:31:43.000000000 
+0200
@@ -1,9 +1,9 @@
 #!/bin/sh
 # py-compile - Compile a Python program
 
-scriptversion=2016-01-11.22; # UTC
+scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 2000-2017 Free Software Foundation, Inc.
+# Copyright (C) 2000-2018 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
 # GNU General Public License for more details.
 
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -162,7 +162,7 @@
 # Local Variables:
 # mode: shell-script
 # sh-indentation: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
 # time-stamp-time-zone: "UTC0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/pyatspi-2.26.0/config/test-driver new/pyatspi-2.30.0/config/test-driver
--- old/pyatspi-2.26.0/config/test-driver       2017-09-11 22:13:53.000000000 
+0200
+++ new/pyatspi-2.30.0/config/test-driver       2018-09-03 23:31:44.000000000 
+0200
@@ -1,9 +1,9 @@
 #! /bin/sh
 # test-driver - basic testsuite driver script.
 
-scriptversion=2016-01-11.22; # UTC
+scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 2011-2017 Free Software Foundation, Inc.
+# Copyright (C) 2011-2018 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -59,7 +59,7 @@
 while test $# -gt 1; do
  arg=${1%=*}
  val=${1#*=}
- if [ $arg == $val ]; then
+ if [ $arg = $val ]; then
    val=$2
    shift
  fi
@@ -75,7 +75,7 @@
   --) break;;
   -*) usage_error "invalid option: '$1'";;
   esac
-  [[ $arg != $val ]] && shift
+  [ $arg != $val ] && shift
 done
 
 missing_opts=
@@ -145,7 +145,7 @@
 # Local Variables:
 # mode: shell-script
 # sh-indentation: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
 # time-stamp-time-zone: "UTC0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/pyatspi-2.26.0/configure.ac new/pyatspi-2.30.0/configure.ac
--- old/pyatspi-2.26.0/configure.ac     2017-09-11 22:12:55.000000000 +0200
+++ new/pyatspi-2.30.0/configure.ac     2018-09-03 23:31:33.000000000 +0200
@@ -1,4 +1,4 @@
-AC_INIT([pyatspi], [2.26.0], [[email protected]])
+AC_INIT([pyatspi], [2.30.0], [[email protected]])
 AC_CONFIG_AUX_DIR(config)
 
 # The version of python used is determined by the executable pointed to by the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/pyatspi-2.26.0/pyatspi/component.py new/pyatspi-2.30.0/pyatspi/component.py
--- old/pyatspi-2.26.0/pyatspi/component.py     2017-04-17 18:31:00.000000000 
+0200
+++ new/pyatspi-2.30.0/pyatspi/component.py     2018-08-14 00:28:47.000000000 
+0200
@@ -22,6 +22,7 @@
            "CoordType",
            "XY_SCREEN",
            "XY_WINDOW",
+           "XY_PARENT",
            "ComponentLayer",
            "Component",
            "LAYER_BACKGROUND",
@@ -33,6 +34,14 @@
            "LAYER_POPUP",
            "LAYER_WIDGET",
            "LAYER_WINDOW",
+           "ScrollType",
+           "SCROLL_TOP_LEFT",
+           "SCROLL_BOTTOM_RIGHT",
+           "SCROLL_TOP_EDGE",
+           "SCROLL_BOTTOM_EDGE",
+           "SCROLL_LEFT_EDGE",
+           "SCROLL_RIGHT_EDGE",
+           "SCROLL_ANYWHERE",
           ]
 
 #------------------------------------------------------------------------------
@@ -41,10 +50,12 @@
         _enum_lookup = {
                 0:'XY_SCREEN',
                 1:'XY_WINDOW',
+                2:'XY_PARENT',
         }
 
 XY_SCREEN = CoordType(0)
 XY_WINDOW = CoordType(1)
+XY_PARENT = CoordType(2)
 
 #------------------------------------------------------------------------------
 
@@ -73,6 +84,27 @@
 
 #------------------------------------------------------------------------------
 
+class ScrollType(AtspiEnum):
+        _enum_lookup = {
+                0:'SCROLL_TOP_LEFT',
+                1:'SCROLL_BOTTOM_RIGHT',
+                2:'SCROLL_TOP_EDGE',
+                3:'SCROLL_BOTTOM_EDGE',
+                4:'SCROLL_LEFT_EDGE',
+                5:'SCROLL_RIGHT_EDGE',
+                6:'SCROLL_ANYWHERE',
+        }
+
+SCROLL_ANYWHERE = ScrollType(6)
+SCROLL_BOTTOM_EDGE = ScrollType(3)
+SCROLL_BOTTOM_RIGHT = ScrollType(1)
+SCROLL_LEFT_EDGE = ScrollType(4)
+SCROLL_RIGHT_EDGE = ScrollType(5)
+SCROLL_TOP_EDGE = ScrollType(2)
+SCROLL_TOP_LEFT = ScrollType(0)
+
+#------------------------------------------------------------------------------
+
 class Component(interface):
         """
         The Component interface is implemented by objects which occupy
@@ -170,4 +202,20 @@
                 """
                 return Atspi.Component.grab_focus(self.obj)
 
+        def scrollTo(self, scroll_type):
+                """
+                Makes the object visible on the screen at a given position by
+                scrolling all necessary parents.
+                @return True if scrolling was successful.
+                """
+                return Atspi.Component.scroll_to(self.obj, scroll_type)
+
+        def scrollToPoint(self, coord_type, x, y):
+                """
+                Makes the object visible on the screen at a given position by
+                scrolling all necessary parents.
+                @return True if scrolling was successful.
+                """
+                return Atspi.Component.scroll_to_point(self.obj, coord_type, 
x, y)
+
 
#END----------------------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/pyatspi-2.26.0/pyatspi/registry.py new/pyatspi-2.30.0/pyatspi/registry.py
--- old/pyatspi-2.26.0/pyatspi/registry.py      2017-04-17 18:31:00.000000000 
+0200
+++ new/pyatspi-2.30.0/pyatspi/registry.py      2018-08-10 03:41:39.000000000 
+0200
@@ -50,9 +50,9 @@
         reference to the Accessibility.Registry singleton. Doing so is 
harmless and
         has no point.
 
-        @@ivar async: Should event dispatch to local listeners be decoupled 
from event
-                receiving from the registry?
-        @@type async: boolean
+        @@ivar asynchronous: Should event dispatch to local listeners be 
decoupled
+                from event receiving from the registry?
+        @@type asynchronous: boolean
         @@ivar reg: Reference to the real, wrapped registry object
         @@type reg: Accessibility.Registry
         @@ivar dev: Reference to the device controller
@@ -111,25 +111,44 @@
 
                 self.has_implementations = True
 
-                self.async = False     # not fully supported yet
+                self.asynchronous = False      # not fully supported yet
                 self.started = False
                 self.event_listeners = dict()
 
+        def __getattr__(self, name):
+            """
+            For backwards compatibility with old API
+            """
+            if name == 'async':
+                return self.asynchronous
+            return object.__getattr__(self, name)
+
+        def __setattr__(self, name, value):
+            """
+            For backwards compatibility with old API
+            """
+            if name == 'async':
+                self.asynchronous = value
+            object.__setattr__(self, name, value)
+
         def _set_default_registry (self):
                 self._set_registry (MAIN_LOOP_GLIB)
 
-        def start(self, async=False, gil=True):
+        def start(self, asynchronous=False, gil=True, **kwargs):
                 """
                 Enter the main loop to start receiving and dispatching events.
 
-                @@param async: Should event dispatch be asynchronous 
(decoupled) from 
-                        event receiving from the AT-SPI registry?
-                @@type async: boolean
+                @@param asynchronous: Should event dispatch be asynchronous
+                        (decoupled) from event receiving from the AT-SPI 
registry?
+                @@type asynchronous: boolean
                 @@param gil: Add an idle callback which releases the Python 
GIL for a few
                         milliseconds to allow other threads to run? Necessary 
if other threads
                         will be used in this process.
                 @@type gil: boolean
                 """
+                if 'async' in kwargs:
+                    # support previous API
+                    asynchronous = kwargs['async']
                 if not self.has_implementations:
                         self._set_default_registry ()
                 self.started = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/pyatspi-2.26.0/tests/pyatspi/testrunner 
new/pyatspi-2.30.0/tests/pyatspi/testrunner
--- old/pyatspi-2.26.0/tests/pyatspi/testrunner 2017-09-11 22:13:55.000000000 
+0200
+++ new/pyatspi-2.30.0/tests/pyatspi/testrunner 2018-09-03 23:31:47.000000000 
+0200
@@ -1,4 +1,4 @@
-#!python3
+#!/usr/bin/python
 
 from gi.repository import GObject, GLib
 import dbus


Reply via email to