git: d773e5bfe4f8 - main - net/py-stomp.py: Fix build with setuptools 58.0.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Mar 2022 13:50:43 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d773e5bfe4f8298f60fc4da2b905e2dd84701ed0 commit d773e5bfe4f8298f60fc4da2b905e2dd84701ed0 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-03-25 13:33:23 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-03-25 13:38:18 +0000 net/py-stomp.py: Fix build with setuptools 58.0.0+ With hat: python --- net/py-stomp.py/files/patch-2to3 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/net/py-stomp.py/files/patch-2to3 b/net/py-stomp.py/files/patch-2to3 new file mode 100644 index 000000000000..795a89f846ba --- /dev/null +++ b/net/py-stomp.py/files/patch-2to3 @@ -0,0 +1,13 @@ +--- stomp/backwardsock25.py.orig 2016-11-13 14:00:03 UTC ++++ stomp/backwardsock25.py +@@ -25,8 +25,8 @@ def get_socket(host, port, timeout=None): + sock.connect(sa) + return sock + +- except error, msg: ++ except error as msg: + if sock is not None: + sock.close() + +- raise error, ERRMSG ++ raise error(ERRMSG)