[simutrans-pak128] 06/06: use python3

Jörg Frings-Fürst jff-guest at moszumanska.debian.org
Thu Nov 19 15:01:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

jff-guest pushed a commit to branch master
in repository simutrans-pak128.

commit 91824e072404351f34570db533c7a9658beea5d9
Author: Jörg Frings-Fürst <debian at jff-webhosting.net>
Date:   Thu Nov 19 13:49:27 2015 +0100

    use python3
---
 debian/control                        |  2 +-
 debian/patches/0001-buildsystem.patch | 10 ++++++++++
 debian/rules                          |  2 +-
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 4a22d99..06c0d7b 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends:
  debhelper (>= 9)
 Build-Depends-Indep:
  simutrans-makeobj (>= 120.1.1+repack-2),
- python
+ python3
 Standards-Version: 3.9.6
 Homepage: http://www.simutrans.com/
 Vcs-Git: git://anonscm.debian.org/pkg-games/simutrans-pak128.git
diff --git a/debian/patches/0001-buildsystem.patch b/debian/patches/0001-buildsystem.patch
index d8b3e7d..adccab4 100644
--- a/debian/patches/0001-buildsystem.patch
+++ b/debian/patches/0001-buildsystem.patch
@@ -33,3 +33,13 @@ Index: trunk/_pakmak.tab
  
  
  COMMANDS-BEFORE
+Index: trunk/pakmak.py
+===================================================================
+--- trunk.orig/pakmak.py
++++ trunk/pakmak.py
+@@ -1,4 +1,4 @@
+-#! /usr/bin/python
++#! /usr/bin/python3
+ #  -*- coding: utf-8 -*-
+ #
+ #  Vladimír Slávik 2008-2011
diff --git a/debian/rules b/debian/rules
index 0ef050e..a8e22ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ STAGING := $(CURDIR)/debian/simutrans-pak128
 	dh $@
 
 override_dh_auto_build:
-	python ./pakmak.py
+	python3 ./pakmak.py
 
 override_dh_install:
 	$(RM) simutrans/pak128/licence.txt

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/simutrans-pak128.git



More information about the Pkg-games-commits mailing list