Date: Thu, 28 Jul 2022 09:18:41 GMT From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 631cbf11b659 - main - devel/py-click: add missing dependency for python < 3.10 Message-ID: <202207280918.26S9Ifnt096104@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pi: URL: https://cgit.FreeBSD.org/ports/commit/?id=631cbf11b6594c79aaa85f97d4cdc27f4d65a66b commit 631cbf11b6594c79aaa85f97d4cdc27f4d65a66b Author: Michael Osipov <michael.osipov@siemens.com> AuthorDate: 2022-07-28 09:16:44 +0000 Commit: Kurt Jaeger <pi@FreeBSD.org> CommitDate: 2022-07-28 09:16:44 +0000 devel/py-click: add missing dependency for python < 3.10 - see https://docs.python.org/3/library/importlib.metadata.html PR: 264043 Approved: robak (maintainer timeout) --- devel/py-click/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/devel/py-click/Makefile b/devel/py-click/Makefile index 5ca03570b372..b43d98ef4ed4 100644 --- a/devel/py-click/Makefile +++ b/devel/py-click/Makefile @@ -1,5 +1,6 @@ PORTNAME= click PORTVERSION= 8.0.3 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -20,4 +21,10 @@ NO_ARCH= yes do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -p no:warnings -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 31000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6.0:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207280918.26S9Ifnt096104>