git: f77ee7e82e76 - main - benchmarks/py-naarad: Fix build with setuptools 58.0.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Mar 2022 13:49:35 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f77ee7e82e76a434625ce15cdbe5f8358e1617e2
commit f77ee7e82e76a434625ce15cdbe5f8358e1617e2
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:35:39 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:38:04 +0000
benchmarks/py-naarad: Fix build with setuptools 58.0.0+
With hat: python
---
benchmarks/py-naarad/files/patch-2to3 | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/benchmarks/py-naarad/files/patch-2to3 b/benchmarks/py-naarad/files/patch-2to3
new file mode 100644
index 000000000000..51ee552bbb8b
--- /dev/null
+++ b/benchmarks/py-naarad/files/patch-2to3
@@ -0,0 +1,9 @@
+--- src/naarad/run_steps/local_cmd.py.orig 2015-04-23 21:55:51 UTC
++++ src/naarad/run_steps/local_cmd.py
+@@ -82,5 +82,5 @@ class Local_Cmd(Run_Step):
+ if self.process.poll() is None:
+ self.process.kill()
+ logger.warning('Waited %d seconds for run_step to terminate. Killing now....', CONSTANTS.SECONDS_TO_KILL_AFTER_SIGTERM)
+- except OSError, e:
++ except OSError as e:
+ logger.error('Error while trying to kill the subprocess: %s', e)