Date: Fri, 25 Mar 2022 13:49:56 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 63d9e504576a - main - devel/py-daemon-runner: Fix build with setuptools 58.0.0+ Message-ID: <202203251349.22PDnu83027995@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=63d9e504576ab1dbc4ab9e606596589fcd347cc9 commit 63d9e504576ab1dbc4ab9e606596589fcd347cc9 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-03-25 13:32:14 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-03-25 13:38:08 +0000 devel/py-daemon-runner: Fix build with setuptools 58.0.0+ With hat: python --- devel/py-daemon-runner/files/patch-2to3 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/devel/py-daemon-runner/files/patch-2to3 b/devel/py-daemon-runner/files/patch-2to3 new file mode 100644 index 000000000000..210ddfa2f2f3 --- /dev/null +++ b/devel/py-daemon-runner/files/patch-2to3 @@ -0,0 +1,11 @@ +--- daemon_runner.py.orig 2014-04-28 21:03:22 UTC ++++ daemon_runner.py +@@ -68,7 +68,7 @@ def watch_process(args, pid_file=None): + + try: + pidfile = acquire_pidfile_lock(pid_file) +- except Exception, e: ++ except Exception as e: + sys.stderr.write("Couldn't acquire pidfile lock {0}, owned by {1} ({2})\n".format(pid_file, get_pid(pid_file), e)) + sys.exit(1) +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203251349.22PDnu83027995>