summaryrefslogtreecommitdiffstats
path: root/games/antares/python.patch
diff options
context:
space:
mode:
author orbea <orbea@riseup.net>2020-08-18 10:01:43 -0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-08-29 10:08:40 +0700
commitdbdce6e764d7d89bca26166f717c95911d746fc9 (patch)
tree730a4be99bca5b49fea062ad25b9d539c86ff321 /games/antares/python.patch
parent3a32ab05d2ea9d2bd4300c9e939df530148131e3 (diff)
downloadslackbuilds-dbdce6e764d7d89bca26166f717c95911d746fc9.tar.gz
slackbuilds-dbdce6e764d7d89bca26166f717c95911d746fc9.tar.xz
games/antares: Updated for version 0.9.1.
Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/antares/python.patch')
-rw-r--r--games/antares/python.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/games/antares/python.patch b/games/antares/python.patch
new file mode 100644
index 0000000000..8aa27450c1
--- /dev/null
+++ b/games/antares/python.patch
@@ -0,0 +1,25 @@
+From 0137f46c58e26352b2ba88cb581974f3f263ba3f Mon Sep 17 00:00:00 2001
+From: Chris Pickel <sfiera@twotaled.com>
+Date: Fri, 5 Jun 2020 20:09:00 +0900
+Subject: [PATCH] Update to python3
+
+---
+ scripts/antares_launcher.py | 4 +---
+ 1 files changed, 1 insertions(+), 3 deletions(-)
+
+diff --git a/scripts/antares_launcher.py b/scripts/antares_launcher.py
+index d20f343e..fc5e4d32 100755
+--- a/scripts/antares_launcher.py
++++ b/scripts/antares_launcher.py
+@@ -1,10 +1,8 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ # Copyright (C) 2017 The Antares Authors
+ # This file is part of Antares, a tactical space combat game.
+ # Antares is free software, distributed under the LGPL+. See COPYING.
+
+-from __future__ import division, print_function, unicode_literals
+-
+ import gi
+ import json
+ import os