pingus: build with scons Python 3
This commit is contained in:
parent
bc01e3f031
commit
169199f0c9
2 changed files with 28 additions and 2 deletions
26
srcpkgs/pingus/patches/scons-use-python3-print.patch
Normal file
26
srcpkgs/pingus/patches/scons-use-python3-print.patch
Normal file
|
@ -0,0 +1,26 @@
|
|||
Description: Use python3 print()
|
||||
Author: Phil Wyett <philip.wyett@kathenas.org>
|
||||
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):
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue