[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/182: gnu: python-pyatspi: Update to 2.32.1.
From: |
guix-commits |
Subject: |
40/182: gnu: python-pyatspi: Update to 2.32.1. |
Date: |
Fri, 15 Nov 2019 00:01:30 -0500 (EST) |
kkebreau pushed a commit to branch wip-gnome-updates
in repository guix.
commit caed111c190528bdfcd47ee25e9cbc47dbddd6ad
Author: Kei Kebreau <address@hidden>
Date: Thu Jul 25 07:55:07 2019 -0400
gnu: python-pyatspi: Update to 2.32.1.
* gnu/packages/gnome.scm (python-pyatspi): Update to 2.32.1.
[source]: Remove patch.
* gnu/packages/patches/python-pyatspi-python-37.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
---
gnu/local.mk | 1 -
gnu/packages/gnome.scm | 6 +-
.../patches/python-pyatspi-python-37.patch | 82 ----------------------
3 files changed, 2 insertions(+), 87 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 7f18a08..f0fc1cd 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1277,7 +1277,6 @@ dist_patch_DATA =
\
%D%/packages/patches/python-mox3-python3.6-compat.patch \
%D%/packages/patches/python-testtools.patch \
%D%/packages/patches/python-paste-remove-timing-test.patch \
- %D%/packages/patches/python-pyatspi-python-37.patch \
%D%/packages/patches/python-pycrypto-CVE-2013-7459.patch \
%D%/packages/patches/python2-pygobject-2-gi-info-type-error-domain.patch \
%D%/packages/patches/python-pygpgme-fix-pinentry-tests.patch \
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index fba2df1..e719be2 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -7723,7 +7723,7 @@ kill/reinice processes.")
(define-public python-pyatspi
(package
(name "python-pyatspi")
- (version "2.26.0")
+ (version "2.32.1")
(source (origin
(method url-fetch)
(uri (string-append
@@ -7732,9 +7732,7 @@ kill/reinice processes.")
"/pyatspi-" version ".tar.xz"))
(sha256
(base32
- "0xdnix7gxzgf75xy9ris4dd6b05mqwicw190b98xqmypydyf95n6"))
- ;; Patch from upstream, fixed in newer versions.
- (patches (search-patches "python-pyatspi-python-37.patch"))))
+ "1283cbwd2kacgdij96xk26721f6amyzdhy2py11kdj5cprdlm5c4"))))
(build-system gnu-build-system)
(arguments
`(#:phases
diff --git a/gnu/packages/patches/python-pyatspi-python-37.patch
b/gnu/packages/patches/python-pyatspi-python-37.patch
deleted file mode 100644
index caa6aea..0000000
--- a/gnu/packages/patches/python-pyatspi-python-37.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-From 29a7b929f7f1160b643dc5f5911533887173fcff Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <address@hidden>
-Date: Thu, 28 Jun 2018 17:10:33 +0200
-Subject: [PATCH] Rename async to asynchronous, keep backwards comaptibility
-
-async is a keyword in Python 3.7 and keeping it results in SyntaxError.
-
-Fixes https://gitlab.gnome.org/GNOME/pyatspi2/issues/1
----
- pyatspi/registry.py | 35 +++++++++++++++++++++++++++--------
- 1 file changed, 27 insertions(+), 8 deletions(-)
-
-diff --git a/pyatspi/registry.py b/pyatspi/registry.py
-index cb28395..f73ee16 100644
---- a/pyatspi/registry.py
-+++ b/pyatspi/registry.py
-@@ -50,9 +50,9 @@ class Registry(object):
- 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 @@ class Registry(object):
-
- 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
---
-2.22.0
-
- 32/182: gnu: gnome-system-monitor: Update to 3.32.1., (continued)
- 32/182: gnu: gnome-system-monitor: Update to 3.32.1., guix-commits, 2019/11/15
- 15/182: gnu: gnome-control-center: Update to 3.32.2., guix-commits, 2019/11/15
- 20/182: gnu: totem: Update to 3.32.1., guix-commits, 2019/11/15
- 28/182: gnu: gnome-screenshot: Update to 3.32.0., guix-commits, 2019/11/15
- 34/182: gnu: libwnck: Update to 3.32.0., guix-commits, 2019/11/15
- 38/182: gnu: gnome-terminal: Update to 3.32.2., guix-commits, 2019/11/15
- 39/182: gnu: devhelp: Update to 3.32.0., guix-commits, 2019/11/15
- 30/182: gnu: gnome-calendar: Update to 3.32.2., guix-commits, 2019/11/15
- 35/182: gnu: five-or-more: Update to 3.32.0., guix-commits, 2019/11/15
- 37/182: gnu: gnome-sudoku: Update to 3.32.0., guix-commits, 2019/11/15
- 40/182: gnu: python-pyatspi: Update to 2.32.1.,
guix-commits <=
- 41/182: gnu: orca: Update to 3.32.0., guix-commits, 2019/11/15
- 44/182: gnu: gdm: Update to 3.32.0., guix-commits, 2019/11/15
- 43/182: gnu: libdazzle: Use xorg-server-fot-tests., guix-commits, 2019/11/15
- 46/182: gnu: network-manager: Update to 1.18.2., guix-commits, 2019/11/15
- 48/182: gnu: gnome-klotski: Update to 3.32.0., guix-commits, 2019/11/15
- 51/182: gnu: seahorse: Update to 3.32.2., guix-commits, 2019/11/15
- 18/182: gnu: dconf-editor: Update to 3.32.0., guix-commits, 2019/11/15
- 42/182: gnu: cheese: Update to 3.32.1., guix-commits, 2019/11/15
- 49/182: gnu: gnome-maps: Update to 3.32.2.1., guix-commits, 2019/11/15
- 21/182: gnu: evolution-data-server: Update to 3.32.4., guix-commits, 2019/11/15