git: 59e320a96501 - main - databases/py-dbt-semantic-interfaces: Fix BUILD_DEPENDS and its usage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Oct 2025 00:06:59 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=59e320a96501ba4c5de506362fdc552ddcb3780e
commit 59e320a96501ba4c5de506362fdc552ddcb3780e
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-10-19 00:00:41 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-10-19 00:00:41 +0000
databases/py-dbt-semantic-interfaces: Fix BUILD_DEPENDS and its usage
- Fix BUILD_DEPENDS: py-hatch 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/dbt-labs/dbt-semantic-interfaces/blob/v0.10.0/pyproject.toml#L35-L36
Approved by: portmgr (blanket)
With hat: python
---
databases/py-dbt-semantic-interfaces/Makefile | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/databases/py-dbt-semantic-interfaces/Makefile b/databases/py-dbt-semantic-interfaces/Makefile
index 9247281e58b3..adaf2e3456b2 100644
--- a/databases/py-dbt-semantic-interfaces/Makefile
+++ b/databases/py-dbt-semantic-interfaces/Makefile
@@ -11,9 +11,7 @@ WWW= https://github.com/dbt-labs/dbt-semantic-interfaces
LICENSE= APACHE20
-BUILD_DEPENDS= hatch:devel/py-hatch@${PY_FLAVOR} \
- hatchling:devel/py-hatchling@${PY_FLAVOR}
-
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydantic>=1.10:devel/py-pydantic@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsonschema>=4<5:devel/py-jsonschema@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyyaml>=6<7:devel/py-pyyaml@${PY_FLAVOR} \