Hello community, here is the log from the commit of package python-atspi for openSUSE:Factory checked in at 2017-01-23 11:20:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-atspi (Old) and /work/SRC/openSUSE:Factory/.python-atspi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-atspi" Changes: -------- --- /work/SRC/openSUSE:Factory/python-atspi/python-atspi.changes 2016-06-03 16:32:35.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-atspi.new/python-atspi.changes 2017-01-23 11:20:26.330115892 +0100 @@ -1,0 +2,7 @@ +Tue Jan 17 12:20:13 UTC 2017 - [email protected] + +- Update to version 2.20.3: + + Rename enum module and Enum class not to conflict with stdlib + (needed for python 3.6). + +------------------------------------------------------------------- python3-atspi.changes: same change Old: ---- pyatspi-2.20.2.tar.xz New: ---- pyatspi-2.20.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-atspi.spec ++++++ --- /var/tmp/diff_new_pack.IqHFvE/_old 2017-01-23 11:20:26.838043785 +0100 +++ /var/tmp/diff_new_pack.IqHFvE/_new 2017-01-23 11:20:26.838043785 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-atspi # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,7 +36,7 @@ Name: python-atspi %define _name pyatspi -Version: 2.20.2 +Version: 2.20.3 Release: 0 Summary: Assistive Technology Service Provider Interface - Python bindings License: LGPL-2.0 ++++++ python3-atspi.spec ++++++ --- /var/tmp/diff_new_pack.IqHFvE/_old 2017-01-23 11:20:26.858040947 +0100 +++ /var/tmp/diff_new_pack.IqHFvE/_new 2017-01-23 11:20:26.858040947 +0100 @@ -1,7 +1,7 @@ # -# spec file for package python-atspi +# spec file for package python3-atspi # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,7 +36,7 @@ Name: python3-atspi %define _name pyatspi -Version: 2.20.2 +Version: 2.20.3 Release: 0 Summary: Assistive Technology Service Provider Interface - Python bindings License: LGPL-2.0 ++++++ pyatspi-2.20.2.tar.xz -> pyatspi-2.20.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/Makefile.in new/pyatspi-2.20.3/Makefile.in --- old/pyatspi-2.20.2/Makefile.in 2016-05-09 20:10:16.000000000 +0200 +++ new/pyatspi-2.20.3/Makefile.in 2017-01-17 03:18:38.000000000 +0100 @@ -600,7 +600,7 @@ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir @@ -625,7 +625,7 @@ @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir @@ -643,7 +643,7 @@ distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ @@ -653,7 +653,7 @@ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/NEWS new/pyatspi-2.20.3/NEWS --- old/pyatspi-2.20.2/NEWS 2016-05-09 20:03:06.000000000 +0200 +++ new/pyatspi-2.20.3/NEWS 2017-01-17 03:18:24.000000000 +0100 @@ -1,3 +1,8 @@ +What's new in pyatspi 2.20.3: + +* Rename enum module and Enum class not to conflict with stdlib (needed + for python 3.6). + What's new in pyatspi 2.20.2: * Update STATE_LAST_DEFINED so that STATE_READ_ONLY is recognized diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/aclocal.m4 new/pyatspi-2.20.3/aclocal.m4 --- old/pyatspi-2.20.2/aclocal.m4 2016-05-09 20:10:14.000000000 +0200 +++ new/pyatspi-2.20.3/aclocal.m4 2017-01-17 03:18:38.000000000 +0100 @@ -8613,63 +8613,32 @@ m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) -dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -dnl serial 11 (pkg-config-0.29) -dnl -dnl Copyright © 2004 Scott James Remnant <[email protected]>. -dnl Copyright © 2012-2015 Dan Nicholson <[email protected]> -dnl -dnl This program is free software; you can redistribute it and/or modify -dnl it under the terms of the GNU General Public License as published by -dnl the Free Software Foundation; either version 2 of the License, or -dnl (at your option) any later version. -dnl -dnl This program is distributed in the hope that it will be useful, but -dnl WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -dnl General Public License for more details. -dnl -dnl You should have received a copy of the GNU General Public License -dnl along with this program; if not, write to the Free Software -dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -dnl 02111-1307, USA. -dnl -dnl As a special exception to the GNU General Public License, if you -dnl distribute this file as part of a program that contains a -dnl configuration script generated by Autoconf, you may include it under -dnl the same distribution terms that you use for the rest of that -dnl program. - -dnl PKG_PREREQ(MIN-VERSION) -dnl ----------------------- -dnl Since: 0.29 -dnl -dnl Verify that the version of the pkg-config macros are at least -dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's -dnl installed version of pkg-config, this checks the developer's version -dnl of pkg.m4 when generating configure. -dnl -dnl To ensure that this macro is defined, also add: -dnl m4_ifndef([PKG_PREREQ], -dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) -dnl -dnl See the "Since" comment for each macro you use to see what version -dnl of the macros you require. -m4_defun([PKG_PREREQ], -[m4_define([PKG_MACROS_VERSION], [0.29]) -m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, - [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) -])dnl PKG_PREREQ - -dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) -dnl ---------------------------------- -dnl Since: 0.16 -dnl -dnl Search for the pkg-config tool and set the PKG_CONFIG variable to -dnl first found in the path. Checks that the version of pkg-config found -dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is -dnl used since that's the first version where most current features of -dnl pkg-config existed. +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- +# serial 1 (pkg-config-0.24) +# +# Copyright © 2004 Scott James Remnant <[email protected]>. +# +# 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 +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# PKG_PROG_PKG_CONFIG([MIN-VERSION]) +# ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) @@ -8691,19 +8660,18 @@ PKG_CONFIG="" fi fi[]dnl -])dnl PKG_PROG_PKG_CONFIG +])# PKG_PROG_PKG_CONFIG -dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -dnl ------------------------------------------------------------------- -dnl Since: 0.18 -dnl -dnl Check to see whether a particular set of modules exists. Similar to -dnl PKG_CHECK_MODULES(), but does not set variables or print errors. -dnl -dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -dnl only at the first occurence in configure.ac, so if the first place -dnl it's called might be skipped (such as if it is within an "if", you -dnl have to call PKG_CHECK_EXISTS manually +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# +# Check to see whether a particular set of modules exists. Similar +# to PKG_CHECK_MODULES(), but does not set variables or print errors. +# +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +# only at the first occurence in configure.ac, so if the first place +# it's called might be skipped (such as if it is within an "if", you +# have to call PKG_CHECK_EXISTS manually +# -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ @@ -8713,10 +8681,8 @@ $3])dnl fi]) -dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) -dnl --------------------------------------------- -dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting -dnl pkg_failed based on the result. +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) +# --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" @@ -8728,11 +8694,10 @@ else pkg_failed=untried fi[]dnl -])dnl _PKG_CONFIG +])# _PKG_CONFIG -dnl _PKG_SHORT_ERRORS_SUPPORTED -dnl --------------------------- -dnl Internal check to see if pkg-config supports short errors. +# _PKG_SHORT_ERRORS_SUPPORTED +# ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then @@ -8740,17 +8705,19 @@ else _pkg_short_errors_supported=no fi[]dnl -])dnl _PKG_SHORT_ERRORS_SUPPORTED +])# _PKG_SHORT_ERRORS_SUPPORTED -dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], -dnl [ACTION-IF-NOT-FOUND]) -dnl -------------------------------------------------------------- -dnl Since: 0.4.0 -dnl -dnl Note that if there is a possibility the first call to -dnl PKG_CHECK_MODULES might not happen, you should be sure to include an -dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], +# [ACTION-IF-NOT-FOUND]) +# +# +# Note that if there is a possibility the first call to +# PKG_CHECK_MODULES might not happen, you should be sure to include an +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac +# +# +# -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl @@ -8804,40 +8771,16 @@ AC_MSG_RESULT([yes]) $3 fi[]dnl -])dnl PKG_CHECK_MODULES +])# PKG_CHECK_MODULES -dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], -dnl [ACTION-IF-NOT-FOUND]) -dnl --------------------------------------------------------------------- -dnl Since: 0.29 -dnl -dnl Checks for existence of MODULES and gathers its build flags with -dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags -dnl and VARIABLE-PREFIX_LIBS from --libs. -dnl -dnl Note that if there is a possibility the first call to -dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to -dnl include an explicit call to PKG_PROG_PKG_CONFIG in your -dnl configure.ac. -AC_DEFUN([PKG_CHECK_MODULES_STATIC], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -_save_PKG_CONFIG=$PKG_CONFIG -PKG_CONFIG="$PKG_CONFIG --static" -PKG_CHECK_MODULES($@) -PKG_CONFIG=$_save_PKG_CONFIG[]dnl -])dnl PKG_CHECK_MODULES_STATIC - - -dnl PKG_INSTALLDIR([DIRECTORY]) -dnl ------------------------- -dnl Since: 0.27 -dnl -dnl Substitutes the variable pkgconfigdir as the location where a module -dnl should install pkg-config .pc files. By default the directory is -dnl $libdir/pkgconfig, but the default can be changed by passing -dnl DIRECTORY. The user can override through the --with-pkgconfigdir -dnl parameter. +# PKG_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable pkgconfigdir as the location where a module +# should install pkg-config .pc files. By default the directory is +# $libdir/pkgconfig, but the default can be changed by passing +# DIRECTORY. The user can override through the --with-pkgconfigdir +# parameter. AC_DEFUN([PKG_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) m4_pushdef([pkg_description], @@ -8848,18 +8791,16 @@ AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) -])dnl PKG_INSTALLDIR +]) dnl PKG_INSTALLDIR -dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) -dnl -------------------------------- -dnl Since: 0.27 -dnl -dnl Substitutes the variable noarch_pkgconfigdir as the location where a -dnl module should install arch-independent pkg-config .pc files. By -dnl default the directory is $datadir/pkgconfig, but the default can be -dnl changed by passing DIRECTORY. The user can override through the -dnl --with-noarch-pkgconfigdir parameter. +# PKG_NOARCH_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable noarch_pkgconfigdir as the location where a +# module should install arch-independent pkg-config .pc files. By +# default the directory is $datadir/pkgconfig, but the default can be +# changed by passing DIRECTORY. The user can override through the +# --with-noarch-pkgconfigdir parameter. AC_DEFUN([PKG_NOARCH_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) m4_pushdef([pkg_description], @@ -8870,15 +8811,13 @@ AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) -])dnl PKG_NOARCH_INSTALLDIR +]) dnl PKG_NOARCH_INSTALLDIR -dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, -dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -dnl ------------------------------------------- -dnl Since: 0.28 -dnl -dnl Retrieves the value of the pkg-config variable for the given module. +# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, +# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# ------------------------------------------- +# Retrieves the value of the pkg-config variable for the given module. AC_DEFUN([PKG_CHECK_VAR], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl @@ -8887,7 +8826,7 @@ AS_VAR_COPY([$1], [pkg_cv_][$1]) AS_VAR_IF([$1], [""], [$5], [$4])dnl -])dnl PKG_CHECK_VAR +])# PKG_CHECK_VAR # Copyright (C) 2002-2014 Free Software Foundation, Inc. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/config/test-driver new/pyatspi-2.20.3/config/test-driver --- old/pyatspi-2.20.2/config/test-driver 2016-03-01 02:45:13.000000000 +0100 +++ new/pyatspi-2.20.3/config/test-driver 2017-01-17 03:16:19.000000000 +0100 @@ -56,21 +56,26 @@ expect_failure=no color_tests=no enable_hard_errors=yes -while test $# -gt 0; do - case $1 in +while test $# -gt 1; do + arg=${1%=*} + val=${1#*=} + if [ $arg == $val ]; then + val=$2 + shift + fi + case $arg in --help) print_usage; exit $?;; --version) echo "test-driver $scriptversion"; exit $?;; - --test-name) test_name=$2; shift;; - --log-file) log_file=$2; shift;; - --trs-file) trs_file=$2; shift;; - --color-tests) color_tests=$2; shift;; - --expect-failure) expect_failure=$2; shift;; - --enable-hard-errors) enable_hard_errors=$2; shift;; - --) shift; break;; + --test-name) test_name=$val;; + --log-file) log_file=$val;; + --trs-file) trs_file=$val;; + --color-tests) color_tests=$val;; + --expect-failure) expect_failure=$val;; + --enable-hard-errors) enable_hard_errors=$val;; + --) break;; -*) usage_error "invalid option: '$1'";; - *) break;; esac - shift + [[ $arg != $val ]] && shift done missing_opts= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/configure new/pyatspi-2.20.3/configure --- old/pyatspi-2.20.2/configure 2016-05-09 20:10:18.000000000 +0200 +++ new/pyatspi-2.20.3/configure 2017-01-17 03:18:39.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for pyatspi 2.20.2. +# Generated by GNU Autoconf 2.69 for pyatspi 2.20.3. # # Report bugs to <[email protected]>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='pyatspi' PACKAGE_TARNAME='pyatspi' -PACKAGE_VERSION='2.20.2' -PACKAGE_STRING='pyatspi 2.20.2' +PACKAGE_VERSION='2.20.3' +PACKAGE_STRING='pyatspi 2.20.3' PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='' @@ -1381,7 +1381,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures pyatspi 2.20.2 to adapt to many kinds of systems. +\`configure' configures pyatspi 2.20.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1455,7 +1455,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of pyatspi 2.20.2:";; + short | recursive ) echo "Configuration of pyatspi 2.20.3:";; esac cat <<\_ACEOF @@ -1599,7 +1599,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -pyatspi configure 2.20.2 +pyatspi configure 2.20.3 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1877,7 +1877,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by pyatspi $as_me 2.20.2, which was +It was created by pyatspi $as_me 2.20.3, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2763,7 +2763,7 @@ # Define the identity of the package. PACKAGE='pyatspi' - VERSION='2.20.2' + VERSION='2.20.3' cat >>confdefs.h <<_ACEOF @@ -14024,7 +14024,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by pyatspi $as_me 2.20.2, which was +This file was extended by pyatspi $as_me 2.20.3, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -14090,7 +14090,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -pyatspi config.status 2.20.2 +pyatspi config.status 2.20.3 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/configure.ac new/pyatspi-2.20.3/configure.ac --- old/pyatspi-2.20.2/configure.ac 2016-05-09 20:02:08.000000000 +0200 +++ new/pyatspi-2.20.3/configure.ac 2017-01-17 03:17:40.000000000 +0100 @@ -1,4 +1,4 @@ -AC_INIT([pyatspi], [2.20.2], [[email protected]]) +AC_INIT([pyatspi], [2.20.3], [[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' old/pyatspi-2.20.2/pyatspi/Makefile.am new/pyatspi-2.20.3/pyatspi/Makefile.am --- old/pyatspi-2.20.2/pyatspi/Makefile.am 2015-07-28 23:35:26.000000000 +0200 +++ new/pyatspi-2.20.3/pyatspi/Makefile.am 2017-01-17 03:17:27.000000000 +0100 @@ -5,7 +5,7 @@ appevent.py \ constants.py \ deviceevent.py \ - enum.py \ + atspienum.py \ __init__.py \ action.py \ application.py \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/pyatspi/Makefile.in new/pyatspi-2.20.3/pyatspi/Makefile.in --- old/pyatspi-2.20.2/pyatspi/Makefile.in 2016-05-09 20:10:17.000000000 +0200 +++ new/pyatspi-2.20.3/pyatspi/Makefile.in 2017-01-17 03:18:38.000000000 +0100 @@ -315,7 +315,7 @@ appevent.py \ constants.py \ deviceevent.py \ - enum.py \ + atspienum.py \ __init__.py \ action.py \ application.py \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/pyatspi/action.py new/pyatspi-2.20.3/pyatspi/action.py --- old/pyatspi-2.20.2/pyatspi/action.py 2015-07-28 23:35:26.000000000 +0200 +++ new/pyatspi-2.20.3/pyatspi/action.py 2017-01-17 03:17:27.000000000 +0100 @@ -14,7 +14,6 @@ #Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. from gi.repository import Atspi -from pyatspi.enum import * from pyatspi.utils import * from pyatspi.interface import * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/pyatspi/application.py new/pyatspi-2.20.3/pyatspi/application.py --- old/pyatspi-2.20.2/pyatspi/application.py 2015-07-28 23:35:26.000000000 +0200 +++ new/pyatspi-2.20.3/pyatspi/application.py 2017-01-17 03:17:27.000000000 +0100 @@ -14,7 +14,6 @@ #Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. from gi.repository import Atspi -from pyatspi.enum import * from pyatspi.utils import * __all__ = [ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/pyatspi/atspienum.py new/pyatspi-2.20.3/pyatspi/atspienum.py --- old/pyatspi-2.20.2/pyatspi/atspienum.py 1970-01-01 01:00:00.000000000 +0100 +++ new/pyatspi-2.20.3/pyatspi/atspienum.py 2017-01-17 03:17:27.000000000 +0100 @@ -0,0 +1,39 @@ +#Copyright (C) 2008 Codethink Ltd + +#This library is free software; you can redistribute it and/or +#modify it under the terms of the GNU Lesser General Public +#License version 2 as published by the Free Software Foundation. + +#This program is distributed in the hope that it will be useful, +#but WITHOUT ANY WARRANTY; without even the implied warranty of +#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#GNU General Public License for more details. +#You should have received a copy of the GNU Lesser General Public License +#along with this program; if not, write to the Free Software +#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +__all__ = [ + "AtspiEnum", + ] + +#------------------------------------------------------------------------------ + +class AtspiEnum(int): + def __str__(self): + return self._enum_lookup[int(self)] + + def __eq__(self, other): + if other is None: + return False + try: + if int(self) == int(other): + return True + else: + return False + except ValueError: + return False + + def __hash__(self): + return int(self) + +#END--------------------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/pyatspi/collection.py new/pyatspi-2.20.3/pyatspi/collection.py --- old/pyatspi-2.20.2/pyatspi/collection.py 2015-07-28 23:35:26.000000000 +0200 +++ new/pyatspi-2.20.3/pyatspi/collection.py 2017-01-17 03:17:27.000000000 +0100 @@ -14,7 +14,7 @@ #Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. from gi.repository import Atspi -from pyatspi.enum import * +from pyatspi.atspienum import * from pyatspi.utils import * __all__ = [ @@ -26,7 +26,7 @@ #------------------------------------------------------------------------------ -class MatchType(Enum): +class MatchType(AtspiEnum): _enum_lookup = { 0:'MATCH_INVALID', 1:'MATCH_ALL', @@ -36,7 +36,7 @@ 5:'MATCH_LAST_DEFINED', } -class SortOrder(Enum): +class SortOrder(AtspiEnum): _enum_lookup = { 0:'SORT_ORDER_INVALID', 1:'SORT_ORDER_CANONICAL', @@ -48,7 +48,7 @@ 7:'SORT_ORDER_LAST_DEFINED', } -class TreeTraversalType(Enum): +class TreeTraversalType(AtspiEnum): _enum_lookup = { 0:'TREE_RESTRICT_CHILDREN', 1:'TREE_RESTRICT_SIBLING', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/pyatspi/component.py new/pyatspi-2.20.3/pyatspi/component.py --- old/pyatspi-2.20.2/pyatspi/component.py 2015-07-28 23:35:26.000000000 +0200 +++ new/pyatspi-2.20.3/pyatspi/component.py 2017-01-17 03:17:27.000000000 +0100 @@ -14,7 +14,7 @@ #Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. from gi.repository import Atspi -from pyatspi.enum import * +from pyatspi.atspienum import * from pyatspi.utils import * from pyatspi.interface import * @@ -37,7 +37,7 @@ #------------------------------------------------------------------------------ -class CoordType(Enum): +class CoordType(AtspiEnum): _enum_lookup = { 0:'XY_SCREEN', 1:'XY_WINDOW', @@ -48,7 +48,7 @@ #------------------------------------------------------------------------------ -class ComponentLayer(Enum): +class ComponentLayer(AtspiEnum): _enum_lookup = { 0:'LAYER_INVALID', 1:'LAYER_BACKGROUND', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/pyatspi/deviceevent.py new/pyatspi-2.20.3/pyatspi/deviceevent.py --- old/pyatspi-2.20.2/pyatspi/deviceevent.py 2015-07-28 23:35:26.000000000 +0200 +++ new/pyatspi-2.20.3/pyatspi/deviceevent.py 2017-01-17 03:17:27.000000000 +0100 @@ -14,13 +14,13 @@ import pyatspi.registry as registry -from pyatspi.enum import Enum as _Enum +from pyatspi.atspienum import * import traceback #------------------------------------------------------------------------------ -class PressedEventType(_Enum): +class PressedEventType(AtspiEnum): _enum_lookup = { 0:'KEY_PRESSED_EVENT', 1:'KEY_RELEASED_EVENT', @@ -35,7 +35,7 @@ #------------------------------------------------------------------------------ -class ControllerEventMask(_Enum): +class ControllerEventMask(AtspiEnum): _enum_lookup = { 1:'KEY_PRESSED_EVENT_MASK', 2:'KEY_RELEASED_EVENT_MASK', @@ -50,7 +50,7 @@ #------------------------------------------------------------------------------ -class KeyEventType(_Enum): +class KeyEventType(AtspiEnum): _enum_lookup = { 0:'KEY_PRESSED', 1:'KEY_RELEASED', @@ -60,7 +60,7 @@ #------------------------------------------------------------------------------ -class KeySynthType(_Enum): +class KeySynthType(AtspiEnum): _enum_lookup = { 0:'KEY_PRESS', 1:'KEY_RELEASE', @@ -77,7 +77,7 @@ #------------------------------------------------------------------------------ -class ModifierType(_Enum): +class ModifierType(AtspiEnum): _enum_lookup = { 0:'MODIFIER_SHIFT', 1:'MODIFIER_SHIFTLOCK', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/pyatspi/enum.py new/pyatspi-2.20.3/pyatspi/enum.py --- old/pyatspi-2.20.2/pyatspi/enum.py 2015-07-28 23:35:26.000000000 +0200 +++ new/pyatspi-2.20.3/pyatspi/enum.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,39 +0,0 @@ -#Copyright (C) 2008 Codethink Ltd - -#This library is free software; you can redistribute it and/or -#modify it under the terms of the GNU Lesser General Public -#License version 2 as published by the Free Software Foundation. - -#This program is distributed in the hope that it will be useful, -#but WITHOUT ANY WARRANTY; without even the implied warranty of -#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -#GNU General Public License for more details. -#You should have received a copy of the GNU Lesser General Public License -#along with this program; if not, write to the Free Software -#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -__all__ = [ - "Enum", - ] - -#------------------------------------------------------------------------------ - -class Enum(int): - def __str__(self): - return self._enum_lookup[int(self)] - - def __eq__(self, other): - if other is None: - return False - try: - if int(self) == int(other): - return True - else: - return False - except ValueError: - return False - - def __hash__(self): - return int(self) - -#END--------------------------------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/pyatspi/hypertext.py new/pyatspi-2.20.3/pyatspi/hypertext.py --- old/pyatspi-2.20.2/pyatspi/hypertext.py 2015-07-28 23:35:26.000000000 +0200 +++ new/pyatspi-2.20.3/pyatspi/hypertext.py 2017-01-17 03:17:27.000000000 +0100 @@ -14,7 +14,6 @@ #Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. from gi.repository import Atspi -from pyatspi.enum import * from pyatspi.utils import * from pyatspi.interface import * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/pyatspi/image.py new/pyatspi-2.20.3/pyatspi/image.py --- old/pyatspi-2.20.2/pyatspi/image.py 2015-07-28 23:35:26.000000000 +0200 +++ new/pyatspi-2.20.3/pyatspi/image.py 2017-01-17 03:17:27.000000000 +0100 @@ -14,7 +14,6 @@ #Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. from gi.repository import Atspi -from pyatspi.enum import * from pyatspi.utils import * __all__ = [ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/pyatspi/interface.py new/pyatspi-2.20.3/pyatspi/interface.py --- old/pyatspi-2.20.2/pyatspi/interface.py 2015-07-28 23:35:26.000000000 +0200 +++ new/pyatspi-2.20.3/pyatspi/interface.py 2017-01-17 03:17:27.000000000 +0100 @@ -13,7 +13,6 @@ #Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. from gi.repository import Atspi -from pyatspi.enum import * from pyatspi.utils import * #from pyatspi.component import * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/pyatspi/role.py new/pyatspi-2.20.3/pyatspi/role.py --- old/pyatspi-2.20.2/pyatspi/role.py 2015-07-28 23:35:26.000000000 +0200 +++ new/pyatspi-2.20.3/pyatspi/role.py 2017-01-17 03:17:27.000000000 +0100 @@ -12,11 +12,11 @@ #along with this program; if not, write to the Free Software #Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -from pyatspi.enum import Enum as _Enum +from pyatspi.atspienum import * #------------------------------------------------------------------------------ -class Role(_Enum): +class Role(AtspiEnum): _enum_lookup = { 0:'ROLE_INVALID', 1:'ROLE_ACCELERATOR_LABEL', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/pyatspi/state.py new/pyatspi-2.20.3/pyatspi/state.py --- old/pyatspi-2.20.2/pyatspi/state.py 2016-05-09 17:56:26.000000000 +0200 +++ new/pyatspi-2.20.3/pyatspi/state.py 2017-01-17 03:17:27.000000000 +0100 @@ -21,11 +21,11 @@ from gi.repository import Atspi from gi.repository import GObject -from pyatspi.enum import Enum as _Enum +from pyatspi.atspienum import * #------------------------------------------------------------------------------ -class StateType(_Enum): +class StateType(AtspiEnum): _enum_lookup = { 0:'STATE_INVALID', 1:'STATE_ACTIVE', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/pyatspi/table.py new/pyatspi-2.20.3/pyatspi/table.py --- old/pyatspi-2.20.2/pyatspi/table.py 2015-07-28 23:35:26.000000000 +0200 +++ new/pyatspi-2.20.3/pyatspi/table.py 2017-01-17 03:17:27.000000000 +0100 @@ -14,7 +14,6 @@ #Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. from gi.repository import Atspi -from pyatspi.enum import * from pyatspi.utils import * from pyatspi.interface import * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/pyatspi/tablecell.py new/pyatspi-2.20.3/pyatspi/tablecell.py --- old/pyatspi-2.20.2/pyatspi/tablecell.py 2015-07-28 23:35:26.000000000 +0200 +++ new/pyatspi-2.20.3/pyatspi/tablecell.py 2017-01-17 03:17:27.000000000 +0100 @@ -13,7 +13,6 @@ #Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. from gi.repository import Atspi -from pyatspi.enum import * from pyatspi.utils import * from pyatspi.interface import * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/pyatspi/text.py new/pyatspi-2.20.3/pyatspi/text.py --- old/pyatspi-2.20.2/pyatspi/text.py 2016-03-31 20:04:15.000000000 +0200 +++ new/pyatspi-2.20.3/pyatspi/text.py 2017-01-17 03:17:27.000000000 +0100 @@ -14,7 +14,7 @@ #Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. from gi.repository import Atspi -from pyatspi.enum import * +from pyatspi.atspienum import * from pyatspi.utils import * from pyatspi.interface import * @@ -43,7 +43,7 @@ #------------------------------------------------------------------------------ -class TEXT_BOUNDARY_TYPE(Enum): +class TEXT_BOUNDARY_TYPE(AtspiEnum): _enum_lookup = { 0:'TEXT_BOUNDARY_CHAR', 1:'TEXT_BOUNDARY_WORD_START', @@ -64,7 +64,7 @@ #------------------------------------------------------------------------------ -class TEXT_CLIP_TYPE(Enum): +class TEXT_CLIP_TYPE(AtspiEnum): _enum_lookup = { 0:'TEXT_CLIP_NONE', 1:'TEXT_CLIP_MIN', @@ -79,7 +79,7 @@ #------------------------------------------------------------------------------ -class TEXT_GRANULARITY_TYPE(Enum): +class TEXT_GRANULARITY_TYPE(AtspiEnum): _enum_lookup = { 0:'TEXT_GRANULARITY_CHAR', 1:'TEXT_GRANULARITY_WORD', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/pyatspi/value.py new/pyatspi-2.20.3/pyatspi/value.py --- old/pyatspi-2.20.2/pyatspi/value.py 2015-07-28 23:35:26.000000000 +0200 +++ new/pyatspi-2.20.3/pyatspi/value.py 2017-01-17 03:17:27.000000000 +0100 @@ -14,7 +14,6 @@ #Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. from gi.repository import Atspi -from pyatspi.enum import * from pyatspi.utils import * from pyatspi.interface import * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyatspi-2.20.2/tests/pyatspi/testrunner new/pyatspi-2.20.3/tests/pyatspi/testrunner --- old/pyatspi-2.20.2/tests/pyatspi/testrunner 2016-05-09 20:10:26.000000000 +0200 +++ new/pyatspi-2.20.3/tests/pyatspi/testrunner 2017-01-17 03:18:41.000000000 +0100 @@ -1,4 +1,4 @@ -#!python3 +#!/usr/bin/python from gi.repository import GObject, GLib import dbus
