commit: ee2898bd23ae4f480df4288d9368b288db1bd1e7 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Sat Apr 1 15:56:06 2023 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sat Apr 1 19:12:17 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee2898bd
dev-python/genson: remove unused patch(es) Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/30435 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> dev-python/genson/files/genson-1.2.2-test.patch | 28 ------------------------- 1 file changed, 28 deletions(-) diff --git a/dev-python/genson/files/genson-1.2.2-test.patch b/dev-python/genson/files/genson-1.2.2-test.patch deleted file mode 100644 index 1fb14ea900b0..000000000000 --- a/dev-python/genson/files/genson-1.2.2-test.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 48cb6895f1a4b3320d9ae210debd0befe06bec43 Mon Sep 17 00:00:00 2001 -From: Jon Wolverton <[email protected]> -Date: Mon, 19 Apr 2021 14:27:42 -0400 -Subject: [PATCH] use python -m genson for test_bin - ---- - test/test_bin.py | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/test/test_bin.py b/test/test_bin.py -index cd16d38..acee10f 100644 ---- a/test/test_bin.py -+++ b/test/test_bin.py -@@ -25,8 +25,9 @@ def run(args=[], stdin_data=None): - Run the ``genson`` executable as a subprocess and return - (stdout, stderr). - """ -- genson_process = Popen(['genson'] + args, stdout=PIPE, stderr=PIPE, -- stdin=PIPE if stdin_data is not None else None) -+ genson_process = Popen( -+ ['python', '-m', 'genson'] + args, stdout=PIPE, stderr=PIPE, -+ stdin=PIPE if stdin_data is not None else None) - if stdin_data is not None: - stdin_data = stdin_data.encode('utf-8') - (stdout, stderr) = genson_process.communicate(stdin_data) --- -2.40.0 -
