From 0d284637cc31fc288c3c8e445e25ef2db4bc95aa Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Tue, 31 Dec 2019 16:10:32 -0600 Subject: [PATCH] voltron: apply py3.7+ patch --- srcpkgs/voltron/patches/fix-py3.8.patch | 25 +++++++++++++++++++++++++ srcpkgs/voltron/template | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/voltron/patches/fix-py3.8.patch diff --git a/srcpkgs/voltron/patches/fix-py3.8.patch b/srcpkgs/voltron/patches/fix-py3.8.patch new file mode 100644 index 00000000000..7ed21d783e4 --- /dev/null +++ b/srcpkgs/voltron/patches/fix-py3.8.patch @@ -0,0 +1,25 @@ +https://github.com/snare/voltron/commit/09d1d75b4d158faef17c8aca22f258c60157550a.patch + +From 09d1d75b4d158faef17c8aca22f258c60157550a Mon Sep 17 00:00:00 2001 +From: malet +Date: Sat, 6 Oct 2018 15:55:09 +0200 +Subject: [PATCH] Renaming the async variable + +--- + voltron/plugins/view/memory.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/voltron/plugins/view/memory.py b/voltron/plugins/view/memory.py +index 09e4d65..b18abed 100644 +--- voltron/plugins/view/memory.py ++++ voltron/plugins/view/memory.py +@@ -13,7 +13,7 @@ + class MemoryView(TerminalView): + printable_filter = ''.join([(len(repr(chr(x))) == 3) and chr(x) or '.' for x in range(256)]) + +- async = True ++ asynchronous = True + last_memory = None + last_address = 0 + + diff --git a/srcpkgs/voltron/template b/srcpkgs/voltron/template index 38f47a824e3..45325a8a4e5 100644 --- a/srcpkgs/voltron/template +++ b/srcpkgs/voltron/template @@ -1,7 +1,7 @@ # Template file for 'voltron' pkgname=voltron version=0.1.7 -revision=2 +revision=3 archs=noarch build_style=python3-module pycompile_module="voltron"