From nobody Thu Dec 02 19:17:50 2021 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 B09B518B2DD8; Thu, 2 Dec 2021 19:17:51 +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 4J4m1q125Yz4Vxb; Thu, 2 Dec 2021 19:17:51 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 0410222AE1; Thu, 2 Dec 2021 19:17:51 +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 1B2JHoat009851; Thu, 2 Dec 2021 19:17:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B2JHoLc009850; Thu, 2 Dec 2021 19:17:50 GMT (envelope-from git) Date: Thu, 2 Dec 2021 19:17:50 GMT Message-Id: <202112021917.1B2JHoLc009850@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: c121bf425f02 - main - www/py-aiohttp: fix build with python 3.11 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: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c121bf425f0236689bcd09d4215854e343d31231 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638472671; 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=MAWZ8qC3xyTOho178DUu3awzQjnf23+MhnNZftKRZ60=; b=AQIr3OvXII50yv47mCBX0iOCos6b+I6FVIIVVUSsJ1eZu1B/4sHlWcYlDqhHqW2fxH8mi4 sHGm05rizDM7HHMnap2ouHF9O9mEaotc1jYria1d2YGd83TxztF6/Vi/eh7xb0UH7h5I0R jYR1tcCbpVoyT37n39mGH2R8gzF0hDFcopR9pnW2aJcs/9G+e3V5Q5nsV+kGKnVLrxi1w1 JKS9OP2AkYV6wbNP2Desz7zfeHoA9Cy51gAoSVfG4flzQrOL16jLd9HPgZOGiFSEsKuM8T XKDdOaZLbj9BYxJ7QUkbiaysfyV2daeNqhjyTsKZfdN90cx7v46ZVXwgdLcPSw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638472671; a=rsa-sha256; cv=none; b=ma/o2jtey/LJXVBDkpWXpp7nPZfcvNt3IeCNhfFEQkw8cTWfj2nmbaizOX5HBRkYsHJqdm 0Vj02qfOiH2hM3OS3actVkHP/ak0wvF8+Naw7G9jJKRHX41K0jgPtoE1ZlmreueiXJKsKk Nvk8Yk1CT88E6sabl3mOGF9g+gqu9XTxSiTIBve3ymiX36N4dZzBNvzziOwckyCxdLTBpD HVS7LBfz4r4lDU4f08MHqZ+59Io/P/ybXrLyhFbLnzA7sX4NtXfiOpj1tMsrhW9T1fVCR9 QoAyUraQxlMx/M5AZp4IQVYZ5wHjlZYMbJd3f7QCbibYv7bQZK0wBbBATZXRkQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=c121bf425f0236689bcd09d4215854e343d31231 commit c121bf425f0236689bcd09d4215854e343d31231 Author: Dmitry Marakasov AuthorDate: 2021-11-18 16:18:29 +0000 Commit: Dmitry Marakasov CommitDate: 2021-12-02 19:16:29 +0000 www/py-aiohttp: fix build with python 3.11 Forcibly run cython on all *.pyx files, as just touching them is not enough, and the package lacks facilities to cythonize automatically. Approved by: koobs (maintainer) --- www/py-aiohttp/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/www/py-aiohttp/Makefile b/www/py-aiohttp/Makefile index 2f757c4883b7..7d8f1286355b 100644 --- a/www/py-aiohttp/Makefile +++ b/www/py-aiohttp/Makefile @@ -41,7 +41,10 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}idna_ssl>=1.0:dns/py-idna_ssl@${PY_FLAVOR} .endif pre-configure: - @${TOUCH} ${WRKSRC}/aiohttp/*.pyx +.for file in _frozenlist _helpers _http_parser _http_writer _websocket + @${RM} ${WRKSRC}/aiohttp/${file}.c + @cd ${WRKSRC} && cython-${PYTHON_VER} -3 -o aiohttp/${file}.c aiohttp/${file}.pyx -I aiohttp +.endfor post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/aiohttp/*.so