diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-06 10:28:05 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-06 10:28:05 +0100 |
commit | f1af93971b7490792d8541bc790e0d8c6d787059 (patch) | |
tree | a38046712bbc3a3844d77452d16c84e716caa3d4 /dev-util/meson/files | |
parent | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (diff) |
gentoo resync : 06.08.2019
Diffstat (limited to 'dev-util/meson/files')
-rw-r--r-- | dev-util/meson/files/meson-0.49-python3.5-tests.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/dev-util/meson/files/meson-0.49-python3.5-tests.patch b/dev-util/meson/files/meson-0.49-python3.5-tests.patch deleted file mode 100644 index 640348b2bc2d..000000000000 --- a/dev-util/meson/files/meson-0.49-python3.5-tests.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 65192af2ff62a032a3f19d065c95e12b83aae709 Mon Sep 17 00:00:00 2001 -From: Simon McVittie <smcv@collabora.com> -Date: Fri, 11 Jan 2019 18:03:15 +0000 -Subject: [PATCH] run_unittests: Use Python 3.5-compatible subprocess - invocation - -subprocess.run() didn't get the encoding parameter until 3.6. - -Signed-off-by: Simon McVittie <smcv@collabora.com> ---- - run_unittests.py | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -diff --git a/run_unittests.py b/run_unittests.py -index 342ad883..e1246140 100755 ---- a/run_unittests.py -+++ b/run_unittests.py -@@ -5029,10 +5029,9 @@ class NativeFileTests(BasePlatformTests): - ret = subprocess.run( - ["{}"] + extra_args, - stdout=subprocess.PIPE, -- stderr=subprocess.PIPE, -- encoding='utf-8') -- print(ret.stdout) -- print(ret.stderr, file=sys.stderr) -+ stderr=subprocess.PIPE) -+ print(ret.stdout.decode('utf-8')) -+ print(ret.stderr.decode('utf-8'), file=sys.stderr) - sys.exit(ret.returncode) - - if __name__ == '__main__': --- -2.21.0 - |