git: 6fea29c9fcfe - main - devel/py-setuptools_scm: Fix portmaster build with option TOML unset
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Nov 2021 14:17:31 UTC
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=6fea29c9fcfe61c89fbbac3035ca1b7174609789 commit 6fea29c9fcfe61c89fbbac3035ca1b7174609789 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2021-11-12 14:15:26 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2021-11-12 14:15:26 +0000 devel/py-setuptools_scm: Fix portmaster build with option TOML unset * The port textproc/py-tomli is required in environments, where devel/py-setuptools_scm is already installed, even if the TOML option is unset. PR: 259797 Reported by: Ivan Rozhuk <rozhuk.im@gmail.com> --- devel/py-setuptools_scm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/py-setuptools_scm/Makefile b/devel/py-setuptools_scm/Makefile index 1468cf2268a3..58a5c111ad98 100644 --- a/devel/py-setuptools_scm/Makefile +++ b/devel/py-setuptools_scm/Makefile @@ -10,6 +10,7 @@ COMMENT= Setuptools plugin to manage your versions by scm tags LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tomli>=1.0.0:textproc/py-tomli@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=20.0:devel/py-packaging@${PY_FLAVOR} TEST_DEPENDS= git:devel/git \ ${PY_MERCURIAL} \ @@ -29,7 +30,6 @@ OPTIONS_DEFINE= TOML OPTIONS_DEFAULT= TOML TOML_DESC= Support PEP 517/518 (Keep this enabled to avoid build errors) -TOML_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tomli>=1.0.0:textproc/py-tomli@${PY_FLAVOR} TOML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tomli>=1.0.0:textproc/py-tomli@${PY_FLAVOR} # Skip integration tests that require a more recent version of py-virtualenv