git: 428d3522c21d - main - www/py-flask: Add missing DEPENDS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Apr 2022 23:40:44 UTC
The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=428d3522c21d1326b7f377b629d2a3273049e119 commit 428d3522c21d1326b7f377b629d2a3273049e119 Author: Wen Heping <wen@FreeBSD.org> AuthorDate: 2022-04-07 11:06:01 +0000 Commit: Wen Heping <wen@FreeBSD.org> CommitDate: 2022-04-07 11:06:01 +0000 www/py-flask: Add missing DEPENDS PR: 263109 Reported by: ml@netfence.it --- www/py-flask/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/www/py-flask/Makefile b/www/py-flask/Makefile index 1a945728be06..0c51f0449ed8 100644 --- a/www/py-flask/Makefile +++ b/www/py-flask/Makefile @@ -2,6 +2,7 @@ PORTNAME= Flask DISTVERSION= 2.1.1 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -27,4 +28,10 @@ NO_ARCH= yes do-test: @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) -.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>