git: 8b8d5ea351df - main - devel/py-cibuildwheel: Fix BUILD_DEPENDS and its usage

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 19 Oct 2025 00:07:00 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8b8d5ea351df4ef75e4030c2039e09f12a240cb7

commit 8b8d5ea351df4ef75e4030c2039e09f12a240cb7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-10-19 00:00:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-10-19 00:00:43 +0000

    devel/py-cibuildwheel: Fix BUILD_DEPENDS and its usage
    
    - Fix BUILD_DEPENDS: py-wheel is not needed
    - Fix BUILD_DEPENDS usage: it should depend on the package, not the executable
    
    from pyproject.toml:
    [build-system]
    requires = ["hatchling"]
    
    Reference:      https://github.com/pypa/cibuildwheel/blob/v2.23.2/pyproject.toml#L1-L2
    Approved by:    portmgr (blanket)
    With hat:       python
---
 devel/py-cibuildwheel/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/devel/py-cibuildwheel/Makefile b/devel/py-cibuildwheel/Makefile
index 34a5c9c0ef23..2cc0f721315e 100644
--- a/devel/py-cibuildwheel/Makefile
+++ b/devel/py-cibuildwheel/Makefile
@@ -12,8 +12,7 @@ WWW=		https://cibuildwheel.pypa.io/en/stable \
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	hatchling:devel/py-hatchling@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}bashlex>=0.13:devel/py-bashlex@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}bracex>0:textproc/py-bracex@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR} \