From nobody Fri Mar 25 13:49:44 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 9D19A1A3398E; Fri, 25 Mar 2022 13:49:46 +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 4KQ3P5031Mz3Qhf; Fri, 25 Mar 2022 13:49:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648216185; 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=10xRrCJDtWwW5ZLeCASaZ87QmUkNrrDcemXSGm+DHw4=; b=XQ/4MUATFm2g7yyqYnXANAy3rdMy8KajxyFXz6+f+Me9kDDXiTT/qlDxtCfr4W9VZOoPbV YVEyFAKFivXRMRC2D0TmJitz0FBFuV9iqsWRgKvGLZHWEWLLCuhq/0OHp8lpy9UNUjWmRw E8AycLL0U8GNh+EsWcYn4hJsRm+JuQJSxb0MLXtQv3G4a5TywZTaEs5WahClj6ayYYI6/T d+XfR8uH2AA9AVLAJ+KQjVRiVFHtysMMGXI19NpvW40x3HjkRX7RIFi7S3HeMjNv3+JcFa w/O2+HuZQn1bLtWMIR3W6e3sLwtYRARq4oeWqMGT3i74XF4Zae03r7CiY8jOng== 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 C259A5982; Fri, 25 Mar 2022 13:49:44 +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 22PDniD7027744; Fri, 25 Mar 2022 13:49:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22PDniPT027743; Fri, 25 Mar 2022 13:49:44 GMT (envelope-from git) Date: Fri, 25 Mar 2022 13:49:44 GMT Message-Id: <202203251349.22PDniPT027743@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: 570242b97260 - main - databases/py-motor: 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: 570242b97260b3af680b9e83fff5245629c97c0f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648216185; 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=10xRrCJDtWwW5ZLeCASaZ87QmUkNrrDcemXSGm+DHw4=; b=dydYIEBJdI8y+v69CVvb1POc1ipWsmgPdsH4biswQgt8lniVarxtFpS0EoaZngaUiSavzn r4ZtFjgPglfotv7O7JTYD0rwVo2hzWU8deybcuV/sUcas8WNmxyLqJ9oznb+1cIi6JzO39 VjyQDA5/KnUAMDA3TMNTtrMjP9IYjlsTW8ZOHN1h6iygQ2x+kUhw4zs9/1BHPhjIxhATYj Tzb0s+u+S0N+H1VtZ2PRJ5UGc5JGGQ3AmIjr5eMXfdZKsbkyVThzgXqUc6pOZNKjuzv5ZR gEj2BlPQaNjv4EWz0BBZdUmcGFDkoaG3gtEs7B5u9VXXfpNRTQ94f5dzz6EjCw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648216185; a=rsa-sha256; cv=none; b=txygDeY8nHBYDV1y3iuwgN2Cj3aOBmV+UPZH+eBKEf6QtoiUbNhsjWcytft8bI74FrM5dV 6X6RYsp6UcCNfz2J8Izg3G/MpSTXFnZe9+42UpwmePdfUMesAD+4Zvdc4f9WSSo5KifM9L Sp+Kg+ZrmqDcbLUSFIoRbq2RlPeDT+oWPs/O2d0QWkWzWYw2LET0tl58s7QWIdJS5+jmAH 3+wuW1vGdyoWB8Om/WY139r5gext1p7ueiTiNqNiSIma7zc+5UFWqujiJx//p9s1am2LR9 vv7Y7+6wdOJyUzaFl/rtf4pWpCNqvoV7JrQhG5Z5nl7eWn9uj5eeornaDICK6Q== 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=570242b97260b3af680b9e83fff5245629c97c0f commit 570242b97260b3af680b9e83fff5245629c97c0f Author: Po-Chuan Hsieh AuthorDate: 2022-03-25 13:32:06 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-03-25 13:38:06 +0000 databases/py-motor: Fix build with setuptools 58.0.0+ With hat: python --- databases/py-motor/files/patch-asyncio | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/databases/py-motor/files/patch-asyncio b/databases/py-motor/files/patch-asyncio new file mode 100644 index 000000000000..fa2ae83652ad --- /dev/null +++ b/databases/py-motor/files/patch-asyncio @@ -0,0 +1,16 @@ +The asyncio package has been included in the standard library since Python 3.4. + +--- motor/frameworks/asyncio/__init__.py.orig 2016-10-26 16:39:52 UTC ++++ motor/frameworks/asyncio/__init__.py +@@ -25,10 +25,7 @@ import multiprocessing + import sys + from concurrent.futures import ThreadPoolExecutor + +-try: +- from asyncio import ensure_future +-except ImportError: +- from asyncio import async as ensure_future ++from asyncio import ensure_future + + CLASS_PREFIX = 'AsyncIO' +