From nobody Fri Mar 25 17:20:22 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 5A0791A3026A; Fri, 25 Mar 2022 17:20:23 +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 4KQ8470jW2z3p9t; Fri, 25 Mar 2022 17:20:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648228823; 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=ogSGXeMbGXICF59jAp+52PT2s9aXqpmTFeSG+ZIjEcU=; b=mTen2Drh/+SkJL6pH5dFwwnuvyIyyXDECbHC3aVdzItZlx84SDYJ/ROXVc1b7UB1Cp732s Xmuur0mA3etYNGmAaCzsg9ig2H6HidDw9Dmim7RvyhfTdCQYnsmlrUQMMRpe7ieDNWlxg2 dW5dFGVMpC9LHWfXklHeHyI+/q7aCa03zSWpySm9bgXXpcp8feSANC6+IuwCVeMPErqVpz CpO5+gnaukcPXieIHqRStukZbeN6MO7UBPHLJb2rgusP2KtqAoVoJ0HWJNaoakNY98aqnI ox0/Qa+Fc9pPU+I4mHpjshhFPimvaCW4jAWG3HLz3aiuOltRWb9RiV6ktXT0Bw== 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 D1649109F1; Fri, 25 Mar 2022 17:20:22 +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 22PHKMSw026012; Fri, 25 Mar 2022 17:20:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22PHKMWI026011; Fri, 25 Mar 2022 17:20:22 GMT (envelope-from git) Date: Fri, 25 Mar 2022 17:20:22 GMT Message-Id: <202203251720.22PHKMWI026011@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: b4f67e369711 - main - devel/py-frozenlist: 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b4f67e369711c403ecd104ef4b286745aec1d198 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648228823; 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=ogSGXeMbGXICF59jAp+52PT2s9aXqpmTFeSG+ZIjEcU=; b=hoNsfTM8GRbULFDmfDQu9IJDMUKYiKpycdM2Ewc+oWYEYmxE7X8sshPY82qTVMXPWfd1IH Y5/frfsVUMBF1ruzL742BwCoU4gH+DRJyrb/UrvdvbX9lEOb92PdzpL01H9d7nZf6TK82/ ZG4Z1ultxHNBRW1/Is5bqEoEoD6vtWevwk6VY/jYbMcaV23mmul8o5ayMzrziYV/sOuEyv YaF+v1qHbYkInHEvzbigj0oib4lPCgybTH7Uvz2pch7BolWboW0rAxIVmMC4sPe79P+iti krCwh+sbdHhH+gmyl3pdhhNj+y9URj3QmagDbSrXfj6j+pmOFlD525x2Ylwjqg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648228823; a=rsa-sha256; cv=none; b=MRRY3EgJvb6cFGMiu50bXOo5SgSO2JG7Ot+SW5z3YgIy6kiuIgyQ0rihWWwa5y7ERx1zG8 C1vkvuPHsko/ppikeSanZcsoa33M6muv6gddDa/HIWtYwY+wgoROqce6PLoRAvQLjNxjIy kYtEzbaGxY6NygxlPTI6QKF6zg5d4ZkqBKUCBye0fT4jvJtBAq+BAf7+Stzc5pG09PG0rb qrfYyItanH+34+rDuv9q/nFO2tIupcSaX24YrqbiK9vB4g0OVRLkah1YXR+P+T1kJZTH8j /hm+XJXudZ1VTL3/riDrpJpvKfM8fX6V1VN3bI3cRYEOQMIdv0c3gP0Xrd9+zA== 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=b4f67e369711c403ecd104ef4b286745aec1d198 commit b4f67e369711c403ecd104ef4b286745aec1d198 Author: Po-Chuan Hsieh AuthorDate: 2022-03-25 17:18:59 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-03-25 17:19:24 +0000 devel/py-frozenlist: Fix build with Python 3.11 --- devel/py-frozenlist/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/devel/py-frozenlist/Makefile b/devel/py-frozenlist/Makefile index 202bdd48c7c4..cbec97351181 100644 --- a/devel/py-frozenlist/Makefile +++ b/devel/py-frozenlist/Makefile @@ -11,7 +11,10 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= gettext-runtime python:3.7+ -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist cython distutils + +pre-configure: + @cd ${WRKSRC} && ${RM} frozenlist/_frozenlist.c && cython-${PYTHON_VER} -3 -I frozenlist -o frozenlist/_frozenlist.c frozenlist/_frozenlist.pyx post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +