forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games-misc/openmsx: fix Python 3 patch; add python3_8
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Stefan Strogin <[email protected]>
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 7b298b1bacc56392b9a19ba6b95d368309832ad7 Mon Sep 17 00:00:00 2001 | ||
From 5857a22e79dc77c9b571297451dc11c4a68bc198 Mon Sep 17 00:00:00 2001 | ||
From: Stefan Strogin <[email protected]> | ||
Date: Fri, 7 Feb 2020 13:15:16 +0200 | ||
Subject: [PATCH] Fix: support Python 3 | ||
|
@@ -47,7 +47,7 @@ index 689ddb9..e041d64 100755 | |
+ sys.stdout.flush() | ||
+ break | ||
diff --git a/scripts/md5list.py b/scripts/md5list.py | ||
index cf611fc..a60f977 100755 | ||
index cf611fc..781052e 100755 | ||
--- a/scripts/md5list.py | ||
+++ b/scripts/md5list.py | ||
@@ -16,28 +16,28 @@ import subprocess | ||
|
@@ -89,7 +89,7 @@ index cf611fc..a60f977 100755 | |
+ md5call = md5call + ["src/"+separate[1].strip()] | ||
+ md5sum = subprocess.Popen(md5call, stdout=subprocess.PIPE).communicate()[0] | ||
+ md5sum = md5sum.split() | ||
+ res = "%-32s = %s\n" % (separate[1], md5sum[0]) | ||
+ res = "%-32s = %s\n" % (separate[1], md5sum[0].decode()) | ||
+ sys.stdout.write(res) | ||
else: | ||
- md5call = ["md5sum"] | ||
|
@@ -302,5 +302,5 @@ index f97709a..5368831 100755 | |
\ No newline at end of file | ||
+ print(str.strip()) | ||
-- | ||
2.25.0 | ||
2.27.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
|
||
EAPI=7 | ||
|
||
PYTHON_COMPAT=( python3_{6,7} ) | ||
PYTHON_COMPAT=( python3_{6,7,8} ) | ||
|
||
inherit python-any-r1 | ||
|
||
|