git: 39fbbc8a6a01 - main - devel/py-incremental: Add missing BUILD_DEPENDS and RUN_DEPENDS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Oct 2024 05:05:19 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=39fbbc8a6a01eee02649bba48f96a935e2ade511 commit 39fbbc8a6a01eee02649bba48f96a935e2ade511 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-10-07 05:02:24 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-10-07 05:04:12 +0000 devel/py-incremental: Add missing BUILD_DEPENDS and RUN_DEPENDS - While I'm here, remove PY_SETUPTOOLS: py-setuptools should be used rather than PY_SETUPTOOLS - Bump PORTREVISION for dependency change from pyproject.toml: ]requires = [ # Keep this aligned with the project dependencies. "setuptools >= 61.0", "tomli; python_version < '3.11'", ] ... dependencies = [ "setuptools >= 61.0", "tomli; python_version < '3.11'", ] PR: 281850 Reported by: dim Reference: https://github.com/twisted/incremental/blob/incremental-24.7.2/pyproject.toml#L2-L6 https://github.com/twisted/incremental/blob/incremental-24.7.2/pyproject.toml#L31-L34 Approved by: portmgr (blanket) With hat: python --- devel/py-incremental/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/devel/py-incremental/Makefile b/devel/py-incremental/Makefile index b1096ae48059..68e415711d81 100644 --- a/devel/py-incremental/Makefile +++ b/devel/py-incremental/Makefile @@ -1,5 +1,6 @@ PORTNAME= incremental PORTVERSION= 24.7.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,8 +12,12 @@ WWW= https://pypi.org/project/incremental/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PY_SETUPTOOLS} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PY_TOMLI} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PY_TOMLI} + USES= python USE_PYTHON= pep517 autoplist