From df855f842ab8d29125d14b736163ba677de124ae Mon Sep 17 00:00:00 2001 From: 0x5c Date: Mon, 28 Mar 2022 19:24:43 -0400 Subject: [PATCH] onboard: fix SyntaxWarning in install --- srcpkgs/onboard/patches/fix-brokenformat.patch | 15 +++++++++++++++ srcpkgs/onboard/template | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/onboard/patches/fix-brokenformat.patch diff --git a/srcpkgs/onboard/patches/fix-brokenformat.patch b/srcpkgs/onboard/patches/fix-brokenformat.patch new file mode 100644 index 000000000000..e5d200208a93 --- /dev/null +++ b/srcpkgs/onboard/patches/fix-brokenformat.patch @@ -0,0 +1,15 @@ +Fix for https://bugs.launchpad.net/onboard/+bug/1948723 + + +-- +--- a/Onboard/LayoutLoaderSVG.py ++++ b/Onboard/LayoutLoaderSVG.py +@@ -445,7 +445,7 @@ + except KeyError as ex: + (strerror) = ex + raise Exceptions.LayoutFileError("Unrecognized modifier %s in" \ +- "definition of %s" (strerror, full_id)) ++ "definition of %s" % (strerror, full_id)) + + value = attributes.get("action") + if value: diff --git a/srcpkgs/onboard/template b/srcpkgs/onboard/template index c147bf58a65c..8a3e7565ae50 100644 --- a/srcpkgs/onboard/template +++ b/srcpkgs/onboard/template @@ -1,7 +1,7 @@ # Template file for 'onboard' pkgname=onboard version=1.4.1 -revision=9 +revision=10 build_style=python3-module hostmakedepends="intltool pkg-config python3-distutils-extra" makedepends="dconf-devel eudev-libudev-devel gtk+3-devel hunspell-devel