Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2018 21:57:06 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r487327 - head/accessibility/accerciser/files
Message-ID:  <201812122157.wBCLv6D1004572@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Wed Dec 12 21:57:06 2018
New Revision: 487327
URL: https://svnweb.freebsd.org/changeset/ports/487327

Log:
  accessibility/accerciser: fix packaging with python 3.7
  
  Add upstream patch to fix packaging/runtime with python 3.7
  
  PR:		233770
  With hat:	gnome

Added:
  head/accessibility/accerciser/files/
  head/accessibility/accerciser/files/patch-src_lib_accerciser-accerciser.py   (contents, props changed)

Added: head/accessibility/accerciser/files/patch-src_lib_accerciser-accerciser.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/accessibility/accerciser/files/patch-src_lib_accerciser-accerciser.py	Wed Dec 12 21:57:06 2018	(r487327)
@@ -0,0 +1,14 @@
+diff --git src/lib/accerciser/accerciser.py src/lib/accerciser/accerciser.py
+index fa6e5c752c2b921ab5cb324b747c0080e65f5f82..065a7fec78c62cb79acdda6fee7adc1097c586cf 100644
+--- src/lib/accerciser/accerciser.py
++++ src/lib/accerciser/accerciser.py
+@@ -103,7 +103,8 @@ class Main(Tools):
+     '''
+     GLib.timeout_add(200, self._pumpEvents)
+     try:
+-      pyatspi.Registry.start(async=True, gil=False)
++      # async is a reserved keyword in Python 3.7+, so we pass the args as dict
++      pyatspi.Registry.start(**{'async': True, 'gil': False})
+     except KeyboardInterrupt:
+       self._shutDown()
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812122157.wBCLv6D1004572>