diff --git a/srcpkgs/pingus/patches/scons-use-python3-print.patch b/srcpkgs/pingus/patches/scons-use-python3-print.patch new file mode 100644 index 00000000000..ab3daa0e201 --- /dev/null +++ b/srcpkgs/pingus/patches/scons-use-python3-print.patch @@ -0,0 +1,26 @@ +Description: Use python3 print() +Author: Phil Wyett +Last-Update: 2019-12-29 +Bug-Debian: https://bugs.debian.org/947574 + +Index: pingus/SConscript +=================================================================== +--- SConscript ++++ SConscript +@@ -126,12 +126,12 @@ class Project: + def configure_end(self): + self.env = self.conf.Finish() + +- print "Reports:" +- print self.reports ++ print ("Reports:") ++ print (self.reports) + + if not self.fatal_error == "": +- print "Fatal Errors:" +- print self.fatal_error ++ print ("Fatal Errors:") ++ print (self.fatal_error) + Exit(1) + + def configure_gxx(self): diff --git a/srcpkgs/pingus/template b/srcpkgs/pingus/template index 5551b01171f..8e126cf7466 100644 --- a/srcpkgs/pingus/template +++ b/srcpkgs/pingus/template @@ -1,7 +1,7 @@ # Template file for 'pingus' pkgname=pingus version=0.7.6 -revision=13 +revision=14 wrksrc="pingus-v${version}" build_style=scons hostmakedepends="pkg-config" @@ -29,7 +29,7 @@ do_install() { pingus-data_package() { short_desc+=" - data files" - archs=noarch + nostrip=yes pkg_install() { vmove usr/share/pingus }