5f9c66010f
Update DEPENDS PR: 255873 [1] Reported by: vidwer+fbsdbugs@gmail.com [1]
30 lines
888 B
Makefile
30 lines
888 B
Makefile
# Created by: Olivier Duchateau <duchateau.olivier@gmail.com>
|
|
|
|
PORTNAME= Flask
|
|
DISTVERSION= 2.0.2
|
|
CATEGORIES= www python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= wen@FreeBSD.org
|
|
COMMENT= Micro web framework
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}werkzeug>=2.0:www/py-werkzeug@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0:devel/py-Jinja2@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}itsdangerous>=2.0:security/py-itsdangerous@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}click>=7.1.2:devel/py-click@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= cpe python:3.6+
|
|
CPE_VENDOR= palletsprojects
|
|
USE_PYTHON= distutils concurrent autoplist
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
|
|
|
|
.include <bsd.port.mk>
|