From nobody Tue Apr 18 18:10:25 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 4Q1BmK6955z45SWx; Tue, 18 Apr 2023 18:10:25 +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 4Q1BmK5Lwzz4MNn; Tue, 18 Apr 2023 18:10:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681841425; 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=AWGSY3dudeYDmpK9Nrozu4IXHLL7ifOtjNzRRq3SCu4=; b=yVAi75ZdVE3nzzFDtSYWoDeyG6sI33CXvA7aUxmWAsk5N6G63KyjtOe8ZF4HxbxgKkgCoJ R/zHEKNipvJhTkDUUqPidisMAQAjoVaW2ivXbMVvVpLPC4yg9x76uNw7xHqwIVHhWBgnge sdjBvB7iUOwsbj4JyrebzgX07qGFgFoabBYkh5HgPnHWFXK6ltKWE3x2R823Subq6Db6OQ fnKVvK9+V+fycFiNRT0+ejfuSX7EvA/eDvp7SaVe5zs3b0pkWoPleqUlq93peatZG9AObA gjW/+I39Sh66MLpL2JSxg7DB1IEWeCs63w2QXed16yn3hNGE/QdSWkw7ix7rhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681841425; 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=AWGSY3dudeYDmpK9Nrozu4IXHLL7ifOtjNzRRq3SCu4=; b=Uxna6jrRtowvKLQ+3IXxtHD5oHGFNRCrYUU+rf2Zj/utlGrnE9R+nP9nclVpPBdLRL1T0Q rv51Owz2YATvTLgS1zm9jaHOnCt+3/yNN3t2NrpwYyiJNfWbyNw1DbXkm6MpiRPeF/OSWM BVIQ3y5ucfMdiG9exhtQtN00ovNFEMdVWWmkd+Qvxd9UNAsBjWtPgcIvp26AtbcvUsI8kh s7iCvBIBENTuuaFOjYaLKQoic5aCFWX01WX4Vh8fQ7kFyM3EJ1ZQsGxM4LlJnAJrPjvClN 9q++wV3Wi1nGZpbRzoiiUHI2VvrINUv+ADUXPZ9plMCeK366FVYCKI48ltYnLw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681841425; a=rsa-sha256; cv=none; b=JhiZfIbyDcJ7sChtGI1U7TL93CEG79TlqOAqocnzwy40O6nfgBBWKs42o9avNsSEY+QMVc MKjIjsqPR8Qi2btKOiq2vK58VmyU+qVs1S1IzCJTyEnbCpMIf2m1QLOz3rgtf6Xj79WtQe OfxYmn/6cOzxusTEWRlZ/8cAw8u1WE0NFgY2G8crX4gaXD7CEE/X+xsYQej096poFsuAtE WBsPsd5jyQiPkexCXM0Fi+8nVNvxj+qWOKUUzZV6I7zqGOHBC7VZxh9wJuUN5azoOICKMZ zYrz2vKyJfuRd3kcEzx6TS+1R2Wa8r3wOEttSdaSJNwugUtVHWagCeM2ydZIlQ== 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 4Q1BmK4HTgzMk5; Tue, 18 Apr 2023 18:10:25 +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 33IIAPZR089320; Tue, 18 Apr 2023 18:10:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33IIAPtI089319; Tue, 18 Apr 2023 18:10:25 GMT (envelope-from git) Date: Tue, 18 Apr 2023 18:10:25 GMT Message-Id: <202304181810.33IIAPtI089319@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: bf2a30c06e45 - main - devel/py-scikit-build-core: Fix Makefile 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: bf2a30c06e45e61e84abf9fcf2294bbb0fa2c2eb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=bf2a30c06e45e61e84abf9fcf2294bbb0fa2c2eb commit bf2a30c06e45e61e84abf9fcf2294bbb0fa2c2eb Author: Po-Chuan Hsieh AuthorDate: 2023-04-18 17:59:25 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-04-18 18:05:13 +0000 devel/py-scikit-build-core: Fix Makefile - Fix USES=python [1] - Fix BUILD_DEPENDS and RUN_DEPENDS [2] - Bump PORTREVISION for dependency change Reference: https://github.com/scikit-build/scikit-build-core/blob/v0.3.1/pyproject.toml#L12 [1] https://github.com/scikit-build/scikit-build-core/blob/v0.3.1/pyproject.toml#L34-L41 [2] With hat: python --- devel/py-scikit-build-core/Makefile | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/devel/py-scikit-build-core/Makefile b/devel/py-scikit-build-core/Makefile index 4818254b5843..df573a06d60d 100644 --- a/devel/py-scikit-build-core/Makefile +++ b/devel/py-scikit-build-core/Makefile @@ -1,5 +1,6 @@ PORTNAME= scikit-build-core DISTVERSION= 0.3.1 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,20 +13,29 @@ WWW= https://scikit-build-core.readthedocs.io/en/latest/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}exceptiongroup>0:devel/py-exceptiongroup@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}importlib-resources>=1.3:devel/py-importlib-resources@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}packaging>=20.9:devel/py-packaging@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tomli>=1.1:textproc/py-tomli@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10.0:devel/py-typing-extensions@${PY_FLAVOR} -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.3:devel/py-hatch-vcs@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \ - ${PY_DEPENDS} -RUN_DEPENDS= ${PY_DEPENDS} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=20.9:devel/py-packaging@${PY_FLAVOR} -USES= python:3.8+ +USES= python:3.7+ USE_PYTHON= pep517 autoplist NO_ARCH= yes -.include +.include + +.if ${PYTHON_REL} < 30800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10.0:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.if ${PYTHON_REL} < 30900 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=1.3:devel/py-importlib-resources@${PY_FLAVOR} +.endif + +.if ${PYTHON_REL} < 31100 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}exceptiongroup>=0:devel/py-exceptiongroup@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tomli>=1.1:textproc/py-tomli@${PY_FLAVOR} +.endif + +.include