Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= wtforms |
4 |
PORTNAME= wtforms |
5 |
PORTVERSION= 1.0.5 |
5 |
PORTVERSION= 2.0.1 |
6 |
CATEGORIES= textproc python |
6 |
CATEGORIES= textproc python |
7 |
MASTER_SITES= CHEESESHOP |
7 |
MASTER_SITES= CHEESESHOP |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 9-19
Link Here
|
9 |
DISTNAME= WTForms-${DISTVERSION} |
9 |
DISTNAME= WTForms-${DISTVERSION} |
10 |
|
10 |
|
11 |
MAINTAINER= moggie@elasticmind.net |
11 |
MAINTAINER= moggie@elasticmind.net |
12 |
COMMENT= Forms validation and rendering library for Python web development |
12 |
COMMENT= Flexible forms validation and rendering library for python |
13 |
|
13 |
|
14 |
LICENSE= BSD3CLAUSE |
14 |
LICENSE= BSD3CLAUSE |
|
|
15 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
15 |
|
16 |
|
|
|
17 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>0:${PORTSDIR}/devel/py-babel |
18 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:${PORTSDIR}/devel/py-coverage \ |
19 |
${PYTHON_PKGNAMEPREFIX}sqlalchemy-devel>0:${PORTSDIR}/databases/py-sqlalchemy-devel \ |
20 |
${PYTHON_PKGNAMEPREFIX}pep8>0:${PORTSDIR}/devel/pep8 \ |
21 |
${PYTHON_PKGNAMEPREFIX}dateutil>0:${PORTSDIR}/devel/py-dateutil |
22 |
|
23 |
OPTIONS_DEFINE= TESTS |
24 |
TESTS_DESC= Install test suite dependencies |
25 |
TESTS_BUILD_DEPENDS= ${TEST_DEPENDS} |
26 |
|
16 |
USES= python zip |
27 |
USES= python zip |
17 |
USE_PYTHON= distutils autoplist |
28 |
USE_PYTHON= autoplist distutils |
18 |
|
29 |
|
|
|
30 |
PORTDOCS= * |
31 |
|
32 |
post-install: |
33 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
34 |
(cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} _static/ ${STAGEDIR}${DOCSDIR}/) |
35 |
(cd ${WRKSRC}/docs/html/ && ${CP} *.html ${STAGEDIR}${DOCSDIR}/) |
36 |
(cd ${WRKSRC}/docs/html/ && ${CP} *.js ${STAGEDIR}${DOCSDIR}/) |
37 |
|
38 |
regression-test: build |
39 |
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test |
40 |
|
19 |
.include <bsd.port.mk> |
41 |
.include <bsd.port.mk> |