From nobody Fri Mar 25 13:46:09 2022 X-Original-To: dev-commits-ports-main@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 D6E521A30492; Fri, 25 Mar 2022 13:46:10 +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 4KQ3Jx5wk0z3NB5; Fri, 25 Mar 2022 13:46:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648215970; 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=NyLb+L38lMe+C+F+RADWWmiNIIrIBz39iTx9OSJlido=; b=NrXipjvZOcLPzYbSc4jGat/Rf0w/sDEL27FAuPReit7S9QX89V9Iuyy+KX8hiaOA7SuP0H t+LORcLPVfS0ck78BOPn2TvBPvcdUCz4LWT9HVBAAu3hRsKsG0F8Ur2OfD0s6XDTIWTy30 t7iDK1Qt+esfYg/kIdF/nGAMUYPGiUzgCF74lfez/R34bcOcuyeRTdF9qf04aMMxYOcxKg /txUISkLGv2tQvgYmkUsanacO6HTscyzJO1x5lc+T/Fh2LfJB/OBjSUJzgQGsF2YlFREaP 45jfP2ba/lnOKWH3gJhIxPOoG0pVAiCJjevVeSOrtXA5MP+rI9pnlhtiZ3iyMQ== 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 65A0F5535; Fri, 25 Mar 2022 13:46:09 +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 22PDk90e023005; Fri, 25 Mar 2022 13:46:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22PDk9Pm023004; Fri, 25 Mar 2022 13:46:09 GMT (envelope-from git) Date: Fri, 25 Mar 2022 13:46:09 GMT Message-Id: <202203251346.22PDk9Pm023004@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: ddbc3dc75057 - main - www/py-tornado4: Fix build with Python 3.7+ List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: ddbc3dc75057e35852d723edc19e8fbfd0c302cf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648215970; 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=NyLb+L38lMe+C+F+RADWWmiNIIrIBz39iTx9OSJlido=; b=BfJ/LypHk5frokZR0At9sjlzARaHHOg4a6gZpOpZSrb/D3KmKc5WiTTL7MTgGdJmIV+PmZ mk4FR2ucE5Fmq7U+uDlGKnZN3dMq88So4OYsIZ6W2JrdWOE+L825hHUjSJAKZgd5edM0Cr klUFZhLtWINEmsY/qmWXFKREIBSj9H+5rH4z/7WPeMnnWMib21XC3/s1a3ZPxlVhoD1Crv 39zTk3S57smXgmTRCwVsOvRiWc9Ah73qwF/hjHv7HQn9wa+Rmptfr/Z6rnSdCGhhbIgPWm lGVZ2u3FILsLybfTo6bsHWOiNEd4c8ObT0IZyihHm8ZX3nuqxwYocvLJGknTlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648215970; a=rsa-sha256; cv=none; b=K8XsZgK4J5Pg1EntASx3KFd0q3MOVbtFv2x4eJ57z9WJpQwT2P//VZXPjDdPBPeK+UBgzS iUvmVkyRAubOVZObLbogJtP2gOPNgBHfLoN78bt8MSxj8nKm/kw4CwGCULMxFCLxY9UYv9 bnSuy3Y5PWw7AMNTOVo+30gm4OOxMcLh1sCrZVLNSpVhJwbVnaFIuieLzuI0IQTL73/cPV ikjAqwd8fDGnSaOGVzVl3ZeyJDD/AIO5Bbd1Xp6haoiKkCJDBgzD2vs4rUG+PwfKHCBNRB 6cuqxjNkMAMjJWrIlsyxM3Zpgu4KUdvjNC8TP1kvWc9Ab9E8BNYL3iZ48Y/T7A== 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=ddbc3dc75057e35852d723edc19e8fbfd0c302cf commit ddbc3dc75057e35852d723edc19e8fbfd0c302cf Author: Po-Chuan Hsieh AuthorDate: 2022-03-25 13:06:05 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-03-25 13:37:22 +0000 www/py-tornado4: Fix build with Python 3.7+ --- www/py-tornado4/files/patch-tornado-test-asyncio_test.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/www/py-tornado4/files/patch-tornado-test-asyncio_test.py b/www/py-tornado4/files/patch-tornado-test-asyncio_test.py new file mode 100644 index 000000000000..d59c0a88b756 --- /dev/null +++ b/www/py-tornado4/files/patch-tornado-test-asyncio_test.py @@ -0,0 +1,12 @@ +--- tornado/test/asyncio_test.py.orig 2018-01-05 03:07:44 UTC ++++ tornado/test/asyncio_test.py +@@ -46,7 +46,8 @@ class AsyncIOLoopTest(AsyncTestCase): + if hasattr(asyncio, 'ensure_future'): + ensure_future = asyncio.ensure_future + else: +- ensure_future = asyncio.async ++ # async is a reserved word in Python 3.7 ++ ensure_future = getattr(asyncio, "async") + + x = yield ensure_future( + asyncio.get_event_loop().run_in_executor(None, lambda: 42))