From nobody Sat Apr 16 04:25:32 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E29FE7CED5F; Sat, 16 Apr 2022 04:25:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KgKqw36cmz3PfT; Sat, 16 Apr 2022 04:25:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650083132; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KU1eXc0CYIf+BfJsp6c2eUCAEVFJ4H+aFG/cMdZjgAU=; b=QpPVzVj0LHwyCNHvOnnUWHEH004BkkZeryJWhSucb1o3BQoOuoqbOp+Lp90ZO8pydMzUuX y5W8SmG1B3Cuh1LaPT5A6BhQac0JaNtM2FdcMdb0Q2mF2z4PUEWlvfZLKkg87T1RhQI6aN KCHRCBRfwLfqw7BxV9D5NpeLvJLJVhmmzxk41h3nF1zawcmsUfuUiOQBIK55rd2RC3kAZC X3LZfkcXM8TG5sjj8P9euwXNeh1ndC37Q86IOqxzYXwu6bdM95W1Ugzd+I2Xlqa32olthL gMbRC6XJUyWvpR6oWeNBdn4oXb7uoAU4IOuJ0rfr+BJwR+vyedwVGbNYGS9C6g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 284B722DD8; Sat, 16 Apr 2022 04:25:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23G4PWjv008892; Sat, 16 Apr 2022 04:25:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23G4PW8X008891; Sat, 16 Apr 2022 04:25:32 GMT (envelope-from git) Date: Sat, 16 Apr 2022 04:25:32 GMT Message-Id: <202204160425.23G4PW8X008891@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 291e8f2aec54 - main - www/py-ws4py: Fix build with setuptools 58.0.0+ List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 291e8f2aec54f7d824438400e9eec3d0078ca1a3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650083132; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KU1eXc0CYIf+BfJsp6c2eUCAEVFJ4H+aFG/cMdZjgAU=; b=x7JckynnYz1c6WmeQo6kshV4AIhbErm/Oy9+4T+n86U99RuTRkJY1DzDZrfHhYrrr6auWn JdbQnjSZ+ikI24KVESoNnHpgYFPQyLaHF1Jd0Rq2WOnZhl0U6DodOgNR17rBiEF8qAHhiy O/stzYk3hda/tOg/VyAlb4/cVS131KU9sjoMg9+fibC75DOT9zCAhdtFsK91FoIu+3R4oM dTp+XIrqj1LpwoJk2SUfg/z0u2R6Y9MaOq8NkK+Zko3N1WJqw148jfSgQBh6+nSrp04sOC C7+dkUUtET0BrMU6jOiRRgxQVq9CXFvCKUv5ud18CWuitWCgubwAJDEJdz87QQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650083132; a=rsa-sha256; cv=none; b=cxq5h8dxe1+n6AEk57DChkXMQG7uNYoogsdNb86aa6OLwkrRilTEQPuYDRo0ZdN0F2VKDY pRZH4THfjW8ozf8nzgMUh1fla1+z+CbgwCXsdamsn/vSYxIyujZyqn9TnlFSIcmoipyYmO Gbjg2eWrUl4rYBD6bsLrFFOie7DE0+YrPfwv/iBC8IAkEpB/xxx4Tad66eR2gUPxVGiv/G t02r1I8etGrCBwMJpKmYZNHr04Y5wGxzfghlsXqw4h4c6s+r0QvAJ6GHn+x3m+6jQf9+mq gdfdDjvxbYigIPITOIbGxYfOA/xZP/MeUcjWYdYcVw57rivJrzosGrZf5+/xRg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=291e8f2aec54f7d824438400e9eec3d0078ca1a3 commit 291e8f2aec54f7d824438400e9eec3d0078ca1a3 Author: Po-Chuan Hsieh AuthorDate: 2022-04-16 04:15:45 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-04-16 04:19:54 +0000 www/py-ws4py: Fix build with setuptools 58.0.0+ With hat: python --- www/py-ws4py/files/patch-async | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/www/py-ws4py/files/patch-async b/www/py-ws4py/files/patch-async new file mode 100644 index 000000000000..1ff9bea881b2 --- /dev/null +++ b/www/py-ws4py/files/patch-async @@ -0,0 +1,31 @@ +--- ws4py/async_websocket.py.orig 2014-01-25 21:30:21 UTC ++++ ws4py/async_websocket.py +@@ -84,7 +84,7 @@ class WebSocket(_WebSocket): + def closeit(): + yield from self.proto.writer.drain() + self.proto.writer.close() +- asyncio.async(closeit()) ++ asyncio.ensure_future(closeit()) + + def _write(self, data): + """ +@@ -94,7 +94,7 @@ class WebSocket(_WebSocket): + def sendit(data): + self.proto.writer.write(data) + yield from self.proto.writer.drain() +- asyncio.async(sendit(data)) ++ asyncio.ensure_future(sendit(data)) + + @asyncio.coroutine + def run(self): +--- ws4py/server/tulipserver.py.orig 2014-01-25 21:30:21 UTC ++++ ws4py/server/tulipserver.py +@@ -40,7 +40,7 @@ class WebSocketProtocol(asyncio.StreamReaderProtocol): + #self.stream.set_transport(transport) + asyncio.StreamReaderProtocol.connection_made(self, transport) + # Let make it concurrent for others to tag along +- f = asyncio.async(self.handle_initial_handshake()) ++ f = asyncio.ensure_future(self.handle_initial_handshake()) + f.add_done_callback(self.terminated) + + @property