From nobody Thu Mar 9 04:35:28 2023 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 4PXGZS48N0z3w6jH; Thu, 9 Mar 2023 04:35:28 +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 4PXGZS3PKZz3v0v; Thu, 9 Mar 2023 04:35:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678336528; 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=zNG21j65R723X49d8RoO5H6BRkqKckgSLHXeCbjSc70=; b=Xdot52rcwxH5Z7oK57h0JD1R4y6yvylUiuU9lbbuh346EeoYO/oOPL/uaTZmvJ8fSiGPC7 LyGXDnwIIitzsvjc2MniWwST+3fjZDFSNT+HV1TPinb3eO2heoNjtph0Ko2+R43F7TAWNL XoKcDtK8GJlBKKz7ftiRSJVmjPAB1Kib+LJ0zPotqgBH9sqyB6bt7IH6lbeASLrW6UxuQe DdrAXB+y9RotZ2l6Id37Ra+eNdoKVEsBhBX9u28ZGsWGvCRcyL761OCX+DK1NlrgGkmJtC NsO0ujXiIwaOSBFEkDlyAFlfnNfyQYaoYahaCIGQWjAAtWWjaSWTILBUuvIm7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678336528; 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=zNG21j65R723X49d8RoO5H6BRkqKckgSLHXeCbjSc70=; b=BrnnORildnZm/+Mnfn82HLt3cHP8fFLPTOmFMZpBSBU7JpOAtWZMu1I3m2kJkymoc7ysWl at+5Ma5dyDJcnVS8qxKDyPgebeuRgtGuEU/ZeWJPc7BD5aTnGz5egu3g7NiNd+d/UT70IM Kc7wEyPw/MCw3Lt+IFYIr5vzsk3BEn3l/qGrffJ7Ncf28KXTmLOOPPnNnmjD9OTTwp8JxE snaO86zXIGAsYO6mMkBha1FADYEClJ3UYCfJHec0F64rQCk/EODkhNi63G8eHBf9baVF54 30wVQTe0I8qPFIPdAZ8xABOmdRiiXcNY091hXGNMfOpwvhCMELVQ7oi0e+x7mA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678336528; a=rsa-sha256; cv=none; b=h1g5MlfPmp4/OET1wNWEUPzKgiyL7S3fRv/G1/LB6ySfyEqwpSvk1lFXw8U38L1LJGCIWh pMvE5o/lA9wc3/+HAweLxyQbBUUn/4p/6VxH/2yeywyC2BBpN6MVh9NaGjL5LLA2qUAKze ITkhNbaVtc+BPc+uFay182s6VxPL2GS0Xt9RuKkvyCk+KqUd6NaJ1ICZ42W/SliLsxyVV9 Y1n7Q8jd66R7NlFg9KjVJQJmbh5psRXQ+fXL+tBS7r3cTvKq4lMXf75nxmLtBfd3SdB7SA mA6o39eGnGSoHint+omvXQQSMG7yKw1A8mr2oRbhx7vb6lVRXy+mt3OncNb6Kg== 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 4PXGZS2S8BztkW; Thu, 9 Mar 2023 04:35:28 +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 3294ZSVV046785; Thu, 9 Mar 2023 04:35:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3294ZSMO046784; Thu, 9 Mar 2023 04:35:28 GMT (envelope-from git) Date: Thu, 9 Mar 2023 04:35:28 GMT Message-Id: <202303090435.3294ZSMO046784@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Charlie Li Subject: git: a1039fe12a28 - main - python.mk: add PEP517_BUILD_CONFIG_SETTING 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: vishwin X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a1039fe12a2882341f1b7e97cbe50339860c3092 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by vishwin: URL: https://cgit.FreeBSD.org/ports/commit/?id=a1039fe12a2882341f1b7e97cbe50339860c3092 commit a1039fe12a2882341f1b7e97cbe50339860c3092 Author: Charlie Li AuthorDate: 2023-03-09 04:33:35 +0000 Commit: Charlie Li CommitDate: 2023-03-09 04:34:38 +0000 python.mk: add PEP517_BUILD_CONFIG_SETTING Reference: https://pypa-build.readthedocs.io/en/latest/#python--m-build---config-setting --- Mk/Uses/python.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk index 901261333b87..21d38f4775ad 100644 --- a/Mk/Uses/python.mk +++ b/Mk/Uses/python.mk @@ -141,11 +141,15 @@ # default: ${PYTHONBASE}/bin/${PYTHON_VERSION} # # PEP517_BUILD_CMD - Command sequence for a PEP-517 build frontend that builds a wheel. -# default: ${PYTHON_CMD} -m build -n -w +# default: ${PYTHON_CMD} -m build -n -w ${PEP517_BUILD_CONFIG_SETTING} # # PEP517_BUILD_DEPEND - Port needed to execute ${PEP517_BUILD_CMD}. # default: ${PYTHON_PKGNAMEPREFIX}build>0:devel/py-build@${PY_FLAVOR} # +# PEP517_BUILD_CONFIG_SETTING +# - Options for the build backend. Must include -C or --config-setting per option. +# default: +# # PEP517_INSTALL_CMD - Command sequence for a PEP-517 install frontend that installs a wheel. # default: ${PYTHON_CMD} -m installer -d ${STAGEDIR} -p ${PREFIX} --no-compile-bytecode ${BUILD_WRKSRC}/dist/${PORTNAME:C/[-_]+/_/g}-${PORTVERSION}-*.whl # @@ -673,7 +677,7 @@ PYDISTUTILS_EGGINFO?= ${PYDISTUTILS_PKGNAME:C/[^A-Za-z0-9.]+/_/g}-${PYDISTUTILS_ PYDISTUTILS_EGGINFODIR?=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} # PEP-517 support -PEP517_BUILD_CMD?= ${PYTHON_CMD} -m build -n -w +PEP517_BUILD_CMD?= ${PYTHON_CMD} -m build -n -w ${PEP517_BUILD_CONFIG_SETTING} PEP517_BUILD_DEPEND?= ${PYTHON_PKGNAMEPREFIX}build>0:devel/py-build@${PY_FLAVOR} PEP517_INSTALL_CMD?= ${PYTHON_CMD} -m installer -d ${STAGEDIR} -p ${PREFIX} --no-compile-bytecode ${BUILD_WRKSRC}/dist/${PORTNAME:C/[-_]+/_/g}-${PORTVERSION}-*.whl PEP517_INSTALL_DEPEND?= ${PYTHON_PKGNAMEPREFIX}installer>0:devel/py-installer@${PY_FLAVOR}