git: 77e2713ca12e - main - devel/py-pydantic-settings: Fix BUILD_DEPENDS usage: it should depend on the package, not the executable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Oct 2025 00:07:01 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=77e2713ca12e5fe85c6316e8f9f64f50158d03b0
commit 77e2713ca12e5fe85c6316e8f9f64f50158d03b0
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-10-19 00:00:45 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-10-19 00:00:45 +0000
devel/py-pydantic-settings: Fix BUILD_DEPENDS usage: it should depend on the package, not the executable
from pyproject.toml:
[build-system]
requires = ['hatchling']
Reference: https://github.com/pydantic/pydantic-settings/blob/v2.6.0/pyproject.toml#L1-L2
Approved by: portmgr (blanket)
With hat: python
---
devel/py-pydantic-settings/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devel/py-pydantic-settings/Makefile b/devel/py-pydantic-settings/Makefile
index 885ec8b09ec3..7cac073f106d 100644
--- a/devel/py-pydantic-settings/Makefile
+++ b/devel/py-pydantic-settings/Makefile
@@ -12,7 +12,7 @@ WWW= https://docs.pydantic.dev/latest/concepts/pydantic_settings/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= hatchling:devel/py-hatchling@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.7.0:devel/py-pydantic2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-dotenv>=0.21.0:www/py-python-dotenv@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \