Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-atspi for openSUSE:Factory 
checked in at 2022-09-21 14:39:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-atspi (Old)
 and      /work/SRC/openSUSE:Factory/.python-atspi.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-atspi"

Wed Sep 21 14:39:31 2022 rev:71 rq:1003211 version:2.45.90

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-atspi/python-atspi.changes        
2022-04-06 21:51:13.223752731 +0200
+++ /work/SRC/openSUSE:Factory/.python-atspi.new.2083/python-atspi.changes      
2022-09-21 14:39:52.073328214 +0200
@@ -1,0 +2,14 @@
+Mon Aug 29 09:18:03 UTC 2022 - Dominique Leuenberger <[email protected]>
+
+- Only BuildRequire at-spi2-atk-gtk2 and atk-devel if
+  at-spi2-core < 2.45. In newer versions, at-spi2-atk was merged
+  into -core and obsoleted.
+
+-------------------------------------------------------------------
+Mon Aug  8 12:10:20 UTC 2022 - Bj??rn Lie <[email protected]>
+
+- Update to version 2.45.90:
+  + Add object:announcement to the list of events.
+  + Add support for ATSPI_ROLE_PUSH_BUTTON_MENU.
+
+-------------------------------------------------------------------

Old:
----
  pyatspi-2.38.2.tar.xz

New:
----
  pyatspi-2.45.90.tar.xz

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

Other differences:
------------------
++++++ python-atspi.spec ++++++
--- /var/tmp/diff_new_pack.R7smdN/_old  2022-09-21 14:39:52.585329634 +0200
+++ /var/tmp/diff_new_pack.R7smdN/_new  2022-09-21 14:39:52.593329657 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-atspi
+# spec file
 #
 # Copyright (c) 2022 SUSE LLC
 #
@@ -34,13 +34,13 @@
 %define skip_python2 1
 %define _name   pyatspi
 Name:           python-atspi%{psuffix}
-Version:        2.38.2
+Version:        2.45.90
 Release:        0
 Summary:        Python bindings for the Assistive Technology Service Provider 
Interface
 License:        LGPL-2.0-only
 Group:          Development/Libraries/Python
 URL:            https://gitlab.gnome.org/GNOME/pyatspi2
-Source0:        
https://download.gnome.org/sources/pyatspi/2.38/%{_name}-%{version}.tar.xz
+Source0:        
https://download.gnome.org/sources/pyatspi/2.45/%{_name}-%{version}.tar.xz
 BuildRequires:  %{python_module dbus-python}
 BuildRequires:  %{python_module gobject >= 2.90.1}
 BuildRequires:  %{python_module gobject-devel >= 2.90.1}
@@ -51,11 +51,11 @@
 BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(gtk+-3.0)
 %if %{with test}
-BuildRequires:  at-spi2-atk-gtk2
 BuildRequires:  at-spi2-core
-BuildRequires:  atk-devel
 BuildRequires:  glib2-devel
 BuildRequires:  libxml2-devel
+BuildRequires:  (at-spi2-atk-gtk2 if at-spi2-core < 2.45)
+BuildRequires:  (atk-devel if at-spi2-core-devel < 2.45)
 %endif
 Requires:       python-dbus-python
 Requires:       python-gobject >= 2.90.1

++++++ pyatspi-2.38.2.tar.xz -> pyatspi-2.45.90.tar.xz ++++++
++++ 13643 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.38.2/NEWS new/pyatspi-2.45.90/NEWS
--- old/pyatspi-2.38.2/NEWS     2021-12-08 22:33:23.000000000 +0100
+++ new/pyatspi-2.45.90/NEWS    2022-08-06 16:33:16.000000000 +0200
@@ -1,3 +1,13 @@
+What's new in pyatspi 2.45.90:
+
+* Add object:announcement to the list of events.
+
+* Add support for ATSPI_ROLE_PUSH_BUTTON_MENU.
+
+What's new in pyatspi 2.45.1:
+
+    Add registerEventListenerWithApp
+
 What's new in pyatspi 2.38.2:
 
 * Fix a missing return value in the testsuite.
@@ -5,6 +15,7 @@
 * Make Selection#clearSelection work.
 
 * Fix attributeListToHash() in case there???s a colon in an attr value.
+
 What's new in pyatspi 2.38.1:
 
 * Add sanity checks to getPath and findAncestor so that we don't
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.38.2/config.h.in new/pyatspi-2.45.90/config.h.in
--- old/pyatspi-2.38.2/config.h.in      2021-12-08 22:33:38.000000000 +0100
+++ new/pyatspi-2.45.90/config.h.in     2022-08-06 16:34:25.000000000 +0200
@@ -6,12 +6,12 @@
 /* Define to 1 if you have the <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H
 
-/* Define to 1 if you have the <memory.h> header file. */
-#undef HAVE_MEMORY_H
-
 /* Define to 1 if you have the <stdint.h> header file. */
 #undef HAVE_STDINT_H
 
+/* Define to 1 if you have the <stdio.h> header file. */
+#undef HAVE_STDIO_H
+
 /* Define to 1 if you have the <stdlib.h> header file. */
 #undef HAVE_STDLIB_H
 
@@ -54,7 +54,9 @@
 /* Define to the version of this package. */
 #undef PACKAGE_VERSION
 
-/* Define to 1 if you have the ANSI C header files. */
+/* Define to 1 if all of the C90 standard headers exist (not just the ones
+   required in a freestanding environment). This macro is provided for
+   backward compatibility; new code need not use it. */
 #undef STDC_HEADERS
 
 /* Version number of package */
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.38.2/configure.ac new/pyatspi-2.45.90/configure.ac
--- old/pyatspi-2.38.2/configure.ac     2021-12-08 22:31:30.000000000 +0100
+++ new/pyatspi-2.45.90/configure.ac    2022-08-06 16:33:44.000000000 +0200
@@ -1,4 +1,4 @@
-AC_INIT([pyatspi], [2.38.2], [[email protected]])
+AC_INIT([pyatspi], [2.45.90], [[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.38.2/pyatspi/constants.py new/pyatspi-2.45.90/pyatspi/constants.py
--- old/pyatspi-2.38.2/pyatspi/constants.py     2020-08-09 00:27:15.000000000 
+0200
+++ new/pyatspi-2.45.90/pyatspi/constants.py    2022-08-04 19:38:57.000000000 
+0200
@@ -90,7 +90,8 @@
      'object:text-changed',
      'object:text-attributes-changed',
      'object:text-caret-moved',  
-     'object:attributes-changed'],
+     'object:attributes-changed',
+     'object:announcement'],
   'object:text-changed' :
     ['object:text-changed:insert',
     'object:text-changed:delete'],
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.38.2/pyatspi/registry.py new/pyatspi-2.45.90/pyatspi/registry.py
--- old/pyatspi-2.38.2/pyatspi/registry.py      2019-08-05 22:08:57.000000000 
+0200
+++ new/pyatspi-2.45.90/pyatspi/registry.py     2022-07-02 16:03:17.000000000 
+0200
@@ -237,6 +237,35 @@
                 for name in names:
                         Atspi.EventListener.register (listener, name)
 
+        def registerEventListenerWithApp(self, client, app, *names):
+                """
+                Registers a new client callback for the given event names. 
Supports
+                registration for all subevents if only partial event name is 
specified.
+                Do not include a trailing colon.
+
+                For example, 'object' will register for all object events,
+                'object:property-change' will register for all property change 
events,
+                and 'object:property-change:accessible-parent' will register 
only for the
+                parent property change event.
+
+                Registered clients will not be automatically removed when the 
client dies.
+                To ensure the client is properly garbage collected, call
+                L{deregisterEventListener}.
+
+                @@param client: Callable to be invoked when the event occurs
+                @@type client: callable
+                @@param names: List of full or partial event names
+                @@type names: list of string
+                """
+                if not self.has_implementations:
+                        self._set_default_registry ()
+                try:
+                        listener = self.event_listeners[client]
+                except:
+                        listener = self.event_listeners[client] = 
Atspi.EventListener.new(self.eventWrapper, client)
+                for name in names:
+                        Atspi.EventListener.register_with_app (listener, name, 
None, app)
+
         def deregisterEventListener(self, client, *names):
                 """
                 Unregisters an existing client callback for the given event 
names. Supports 
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.38.2/pyatspi/role.py new/pyatspi-2.45.90/pyatspi/role.py
--- old/pyatspi-2.38.2/pyatspi/role.py  2020-01-19 00:27:00.000000000 +0100
+++ new/pyatspi-2.45.90/pyatspi/role.py 2022-08-06 16:31:15.000000000 +0200
@@ -147,7 +147,8 @@
                 126:'ROLE_CONTENT_INSERTION',
                 127:'ROLE_MARK',
                 128:'ROLE_SUGGESTION',
-                129:'ROLE_LAST_DEFINED',
+                129:'ROLE_PUSH_BUTTON_MENU',
+                130:'ROLE_LAST_DEFINED',
         }
 
 ROLE_ACCELERATOR_LABEL = Role(1)
@@ -214,7 +215,7 @@
 ROLE_INVALID = Role(0)
 ROLE_LABEL = Role(29)
 ROLE_LANDMARK = Role(110)
-ROLE_LAST_DEFINED = Role(129)
+ROLE_LAST_DEFINED = Role(130)
 ROLE_LAYERED_PANE = Role(30)
 ROLE_LEVEL_BAR = Role(103)
 ROLE_LINK = Role(88)
@@ -239,6 +240,7 @@
 ROLE_PARAGRAPH = Role(73)
 ROLE_PASSWORD_TEXT = Role(40)
 ROLE_POPUP_MENU = Role(41)
+ROLE_PUSH_BUTTON_MENU = Role(129)
 ROLE_PROGRESS_BAR = Role(42)
 ROLE_PUSH_BUTTON = Role(43)
 ROLE_RADIO_BUTTON = Role(44)
@@ -405,6 +407,7 @@
         ROLE_CONTENT_INSERTION: 'content insertion',
         ROLE_MARK: 'mark',
         ROLE_SUGGESTION: 'suggestion',
+        ROLE_PUSH_BUTTON_MENU: 'push button menu',
 }
 
 
#END----------------------------------------------------------------------------

Reply via email to