freebsd-ports/www/py-flask-wtf/Makefile
Antoine Brodin 377901b804 Simplify some USES=python
With hat:	portmgr
2017-12-29 09:01:54 +00:00

33 lines
823 B
Makefile

# $FreeBSD$
PORTNAME= Flask-WTF
PORTVERSION= 0.14.2
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rm@FreeBSD.org
COMMENT= Simple integration of Flask and WTForms
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>0:www/py-flask@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wtforms>0:textproc/py-wtforms@${FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Flask-Babel>0:devel/py-flask-babel@${FLAVOR}
OPTIONS_DEFINE= TESTS
TESTS_DESC= Install test suite dependencies
TESTS_BUILD_DEPENDS= ${RUN_DEPENDS} \
${TEST_DEPENDS}
NO_ARCH= yes
USES= python
USE_PYTHON= autoplist distutils
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>