[open-adventure] 09/10: Add patch to build package with Python 3

Dr. Tobias Quathamer toddy at debian.org
Sun Sep 3 18:53:19 UTC 2017


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

toddy pushed a commit to branch master
in repository open-adventure.

commit 50a9bdc41ab5e24e8ea5c9441281396134f18dfd
Author: Dr. Tobias Quathamer <toddy at debian.org>
Date:   Sun Sep 3 20:43:35 2017 +0200

    Add patch to build package with Python 3
---
 .../0001-Use-Python-3-for-package-building.patch       | 18 ++++++++++++++++++
 debian/patches/series                                  |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/0001-Use-Python-3-for-package-building.patch b/debian/patches/0001-Use-Python-3-for-package-building.patch
new file mode 100644
index 0000000..448c5b5
--- /dev/null
+++ b/debian/patches/0001-Use-Python-3-for-package-building.patch
@@ -0,0 +1,18 @@
+From: "Dr. Tobias Quathamer" <toddy at debian.org>
+Date: Sun, 3 Sep 2017 20:43:10 +0200
+Subject: Use Python 3 for package building
+
+---
+ make_dungeon.py | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/make_dungeon.py b/make_dungeon.py
+index 454a27a..26660f6 100755
+--- a/make_dungeon.py
++++ b/make_dungeon.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ 
+ # This is the open-adventure dungeon generator. It consumes a YAML description of
+ # the dungeon and outputs a dungeon.h and dungeon.c pair of C code files.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c151a36
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Use-Python-3-for-package-building.patch

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



More information about the Pkg-games-commits mailing list