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 2021-12-13 20:42:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-atspi (Old)
 and      /work/SRC/openSUSE:Factory/.python-atspi.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-atspi"

Mon Dec 13 20:42:04 2021 rev:68 rq:937725 version:2.38.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-atspi/python-atspi.changes        
2021-09-29 20:18:59.754983288 +0200
+++ /work/SRC/openSUSE:Factory/.python-atspi.new.2520/python-atspi.changes      
2021-12-13 20:46:48.112502758 +0100
@@ -1,0 +2,10 @@
+Wed Dec  8 21:53:30 UTC 2021 - Michael Gorse <mgo...@suse.com>
+
+- Update to version 2.38.2:
+  + Fix a missing return value in the testsuite.
+  + Make Selection#clearSelection work.
+  + Fix attributeListToHash() in case there???s a colon in an attr
+    value.
+- Drop pyatspi-test-fixes.patch: fixed upstream.
+
+-------------------------------------------------------------------

Old:
----
  pyatspi-2.38.1.tar.xz
  pyatspi-test-fixes.patch

New:
----
  pyatspi-2.38.2.tar.xz

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

Other differences:
------------------
++++++ python-atspi.spec ++++++
--- /var/tmp/diff_new_pack.Kvs0jh/_old  2021-12-13 20:46:48.524502809 +0100
+++ /var/tmp/diff_new_pack.Kvs0jh/_new  2021-12-13 20:46:48.528502809 +0100
@@ -34,15 +34,13 @@
 %define skip_python2 1
 %define _name   pyatspi
 Name:           python-atspi%{psuffix}
-Version:        2.38.1
+Version:        2.38.2
 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
-# PATCH-FIX-UPSTREAM pyatspi-test-fixes.patch bsc#1190051 mgo...@suse.com -- 
testsuite fixes.
-Patch0:         pyatspi-test-fixes.patch
 BuildRequires:  %{python_module dbus-python}
 BuildRequires:  %{python_module gobject >= 2.90.1}
 BuildRequires:  %{python_module gobject-devel >= 2.90.1}

++++++ pyatspi-2.38.1.tar.xz -> pyatspi-2.38.2.tar.xz ++++++
++++ 3886 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.1/NEWS new/pyatspi-2.38.2/NEWS
--- old/pyatspi-2.38.1/NEWS     2021-03-13 22:36:07.000000000 +0100
+++ new/pyatspi-2.38.2/NEWS     2021-12-08 22:33:23.000000000 +0100
@@ -1,3 +1,10 @@
+What's new in pyatspi 2.38.2:
+
+* Fix a missing return value in the testsuite.
+
+* 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.1/config/compile new/pyatspi-2.38.2/config/compile
--- old/pyatspi-2.38.1/config/compile   2021-03-13 22:36:27.000000000 +0100
+++ new/pyatspi-2.38.2/config/compile   2021-12-08 22:33:39.000000000 +0100
@@ -3,7 +3,7 @@
 
 scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 1999-2020 Free Software Foundation, Inc.
+# Copyright (C) 1999-2021 Free Software Foundation, Inc.
 # Written by Tom Tromey <tro...@cygnus.com>.
 #
 # This program is free software; you can redistribute it and/or modify
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.1/config/missing new/pyatspi-2.38.2/config/missing
--- old/pyatspi-2.38.1/config/missing   2021-03-13 22:36:27.000000000 +0100
+++ new/pyatspi-2.38.2/config/missing   2021-12-08 22:33:39.000000000 +0100
@@ -3,7 +3,7 @@
 
 scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 1996-2020 Free Software Foundation, Inc.
+# Copyright (C) 1996-2021 Free Software Foundation, Inc.
 # Originally written by Fran,cois Pinard <pin...@iro.umontreal.ca>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
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.1/config/py-compile new/pyatspi-2.38.2/config/py-compile
--- old/pyatspi-2.38.1/config/py-compile        2021-03-13 22:36:27.000000000 
+0100
+++ new/pyatspi-2.38.2/config/py-compile        2021-12-08 22:33:39.000000000 
+0100
@@ -1,9 +1,9 @@
 #!/bin/sh
 # py-compile - Compile a Python program
 
-scriptversion=2020-02-19.23; # UTC
+scriptversion=2021-02-27.01; # UTC
 
-# Copyright (C) 2000-2020 Free Software Foundation, Inc.
+# Copyright (C) 2000-2021 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
@@ -27,7 +27,7 @@
 # bugs to <bug-autom...@gnu.org> or send patches to
 # <automake-patc...@gnu.org>.
 
-if [ -z "$PYTHON" ]; then
+if test -z "$PYTHON"; then
   PYTHON=python
 fi
 
@@ -96,26 +96,26 @@
 
 files=$*
 if test -z "$files"; then
-    usage_error "no files given"
+  usage_error "no files given"
 fi
 
 # if basedir was given, then it should be prepended to filenames before
 # byte compilation.
-if [ -z "$basedir" ]; then
-    pathtrans="path = file"
+if test -z "$basedir"; then
+  pathtrans="path = file"
 else
-    pathtrans="path = os.path.join('$basedir', file)"
+  pathtrans="path = os.path.join('$basedir', file)"
 fi
 
 # if destdir was given, then it needs to be prepended to the filename to
 # byte compile but not go into the compiled file.
-if [ -z "$destdir" ]; then
-    filetrans="filepath = path"
+if test -z "$destdir"; then
+  filetrans="filepath = path"
 else
-    filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)"
+  filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)"
 fi
 
-python_major=$($PYTHON -V 2>&1 | sed -e 's/.* //;s/\..*$//;1q')
+python_major=`$PYTHON -V 2>&1 | sed -e 's/.* //;s/\..*$//;1q'`
 if test -z "$python_major"; then
   echo "$me: could not determine $PYTHON major version, guessing 3" >&2
   python_major=3
@@ -176,7 +176,7 @@
         py_compile.compile(filepath, $import_call(filepath$import_arg2), path)
     else:
         py_compile.compile(filepath, filepath + 'o', path)
-sys.stdout.write('\n')" 2>/dev/null || :
+sys.stdout.write('\n')" 2>/dev/null || exit $?
 
 # Local Variables:
 # mode: shell-script
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.1/config/test-driver new/pyatspi-2.38.2/config/test-driver
--- old/pyatspi-2.38.1/config/test-driver       2021-03-13 22:36:27.000000000 
+0100
+++ new/pyatspi-2.38.2/config/test-driver       2021-12-08 22:33:39.000000000 
+0100
@@ -3,7 +3,7 @@
 
 scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 2011-2020 Free Software Foundation, Inc.
+# Copyright (C) 2011-2021 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
@@ -110,8 +110,11 @@
 trap "st=141; $do_exit" 13
 trap "st=143; $do_exit" 15
 
-# Test script is run here.
-"$@" >$log_file 2>&1
+# Test script is run here. We create the file first, then append to it,
+# to ameliorate tests themselves also writing to the log file. Our tests
+# don't, but others can (automake bug#35762).
+: >"$log_file"
+"$@" >>"$log_file" 2>&1
 estatus=$?
 
 if test $enable_hard_errors = no && test $estatus -eq 99; then
@@ -133,7 +136,7 @@
 # know whether the test passed or failed simply by looking at the '.log'
 # file, without the need of also peaking into the corresponding '.trs'
 # file (automake bug#11814).
-echo "$res $test_name (exit status: $estatus)" >>$log_file
+echo "$res $test_name (exit status: $estatus)" >>"$log_file"
 
 # Report outcome to console.
 echo "${col}${res}${std}: $test_name"
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.1/configure.ac new/pyatspi-2.38.2/configure.ac
--- old/pyatspi-2.38.1/configure.ac     2021-03-13 22:36:16.000000000 +0100
+++ new/pyatspi-2.38.2/configure.ac     2021-12-08 22:31:30.000000000 +0100
@@ -1,4 +1,4 @@
-AC_INIT([pyatspi], [2.38.1], [accessibility-at...@lists.linux-foundation.org])
+AC_INIT([pyatspi], [2.38.2], [accessibility-at...@lists.linux-foundation.org])
 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.1/pyatspi/selection.py new/pyatspi-2.38.2/pyatspi/selection.py
--- old/pyatspi-2.38.1/pyatspi/selection.py     2018-08-09 17:07:43.000000000 
+0200
+++ new/pyatspi-2.38.2/pyatspi/selection.py     2021-10-22 21:57:35.000000000 
+0200
@@ -42,7 +42,7 @@
                 @return True if the selections were successfully cleared, False
                 otherwise.
                 """
-                return Atspi.Text.clear_selection(self.obj)
+                return Atspi.Selection.clear_selection(self.obj)
 
         def deselectChild(self, childIndex):
                 """
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.1/pyatspi/utils.py new/pyatspi-2.38.2/pyatspi/utils.py
--- old/pyatspi-2.38.1/pyatspi/utils.py 2021-03-11 00:37:08.000000000 +0100
+++ new/pyatspi-2.38.2/pyatspi/utils.py 2021-11-24 19:05:52.000000000 +0100
@@ -344,7 +344,7 @@
 def attributeListToHash(list):
         ret = dict()
         for item in list:
-                [key, val] = item.split(":")
+                [key, val] = item.split(":", 1)
                 val = val.replace(":", r"\:")
                 if ret.__contains__(key):
                     ret[key] = ret[key] + ":" + val
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.1/tests/dummyatk/my-atk-hyperlink.h 
new/pyatspi-2.38.2/tests/dummyatk/my-atk-hyperlink.h
--- old/pyatspi-2.38.1/tests/dummyatk/my-atk-hyperlink.h        2019-08-27 
16:56:03.000000000 +0200
+++ new/pyatspi-2.38.2/tests/dummyatk/my-atk-hyperlink.h        2021-09-09 
00:18:09.000000000 +0200
@@ -50,5 +50,7 @@
     AtkHyperlinkClass parent;
 };
 
+MyAtkHyperlink* my_atk_hyperlink_new(gint start_index, gint end_index,const 
gchar* uri);
+
 GType my_atk_hyperlink_get_type();
 #endif /*MY_ATK_HYPERLINK_H*/
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.1/tests/dummyatk/my-atk-object.c 
new/pyatspi-2.38.2/tests/dummyatk/my-atk-object.c
--- old/pyatspi-2.38.1/tests/dummyatk/my-atk-object.c   2019-08-27 
16:56:02.000000000 +0200
+++ new/pyatspi-2.38.2/tests/dummyatk/my-atk-object.c   2021-09-22 
23:44:58.000000000 +0200
@@ -116,7 +116,8 @@
 
     if (obj->state_set == NULL)
         obj->state_set = atk_state_set_new();
-    return g_object_ref(G_OBJECT(obj->state_set));
+    g_object_ref(obj->state_set);
+    return obj->state_set;
 }
 
 static AtkAttributeSet *my_atk_object_get_attributes (AtkObject *accessible)
@@ -139,6 +140,8 @@
     rs = g_slist_append(rs, (gpointer) a); 
     rs = g_slist_append(rs, (gpointer) b); 
     rs = g_slist_append(rs, (gpointer) c); 
+
+    return rs;
 }
 
 //function, needed in instance_finalize()

Reply via email to