aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-flask-wtf/Makefile
blob: c788ad84e40391a1fa3e12d6082c7edfbdf23bcf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $FreeBSD$

PORTNAME=   Flask-WTF
PORTVERSION=    0.12
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:${PORTSDIR}/www/py-flask \
        ${PYTHON_PKGNAMEPREFIX}werkzeug>0:${PORTSDIR}/www/py-werkzeug \
        ${PYTHON_PKGNAMEPREFIX}wtforms>0:${PORTSDIR}/textproc/py-wtforms
TEST_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \
        ${PYTHON_PKGNAMEPREFIX}Flask-Babel>0:${PORTSDIR}/devel/py-flask-babel

OPTIONS_DEFINE=     TESTS
TESTS_DESC=     Install test suite dependencies
TESTS_BUILD_DEPENDS=    ${RUN_DEPENDS} \
            ${TEST_DEPENDS}

USES=       python
USE_PYTHON= autoplist distutils

regression-test: build
    @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

.include <bsd.port.mk>