git: 53c74529eba3 - main - devel/py-versioningit: Fix BUILD_DEPENDS and its usage

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=53c74529eba376503b72d258a742fdf7b68d1230

commit 53c74529eba376503b72d258a742fdf7b68d1230
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-10-19 00:00:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-10-19 00:00:47 +0000

    devel/py-versioningit: 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/jwodder/versioningit/blob/v3.3.0/pyproject.toml#L1-L2
    Approved by:    portmgr (blanket)
    With hat:       python
---
 devel/py-versioningit/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/devel/py-versioningit/Makefile b/devel/py-versioningit/Makefile
index d15f79cb9c5f..6feabb35c42d 100644
--- a/devel/py-versioningit/Makefile
+++ b/devel/py-versioningit/Makefile
@@ -11,8 +11,7 @@ WWW=		https://github.com/jwodder/versioningit
 
 LICENSE=	MIT
 
-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}importlib-metadata>3.6:devel/py-importlib-metadata@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>17.1:devel/py-packaging@${PY_FLAVOR} \
 		${PY_TOMLI} \