diff options
| author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2014-12-29 15:55:32 +0000 |
|---|---|---|
| committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2014-12-29 15:55:32 +0000 |
| commit | 0f80b0d0a4571bd7db4b6368830def158c9c5045 (patch) | |
| tree | 158df17a6c43c88d7be9fdde4755ae1ea0cf0f08 /textproc/py-wtforms | |
| parent | 6c041d563145771829c602e0281c45290fa69e16 (diff) | |
Notes
Diffstat (limited to 'textproc/py-wtforms')
| -rw-r--r-- | textproc/py-wtforms/Makefile | 28 | ||||
| -rw-r--r-- | textproc/py-wtforms/distinfo | 4 |
2 files changed, 27 insertions, 5 deletions
diff --git a/textproc/py-wtforms/Makefile b/textproc/py-wtforms/Makefile index e7bb05d80d30..e4c5874fc46c 100644 --- a/textproc/py-wtforms/Makefile +++ b/textproc/py-wtforms/Makefile @@ -2,18 +2,40 @@ # $FreeBSD$ PORTNAME= wtforms -PORTVERSION= 1.0.5 +PORTVERSION= 2.0.1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= WTForms-${DISTVERSION} MAINTAINER= moggie@elasticmind.net -COMMENT= Forms validation and rendering library for Python web development +COMMENT= Flexible forms validation and rendering library for python LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>0:${PORTSDIR}/devel/py-babel +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:${PORTSDIR}/devel/py-coverage \ + ${PYTHON_PKGNAMEPREFIX}sqlalchemy-devel>0:${PORTSDIR}/databases/py-sqlalchemy-devel \ + ${PYTHON_PKGNAMEPREFIX}pep8>0:${PORTSDIR}/devel/pep8 \ + ${PYTHON_PKGNAMEPREFIX}dateutil>0:${PORTSDIR}/devel/py-dateutil + +OPTIONS_DEFINE= TESTS +TESTS_DESC= Install test suite dependencies +TESTS_BUILD_DEPENDS= ${TEST_DEPENDS} USES= python zip -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist distutils + +PORTDOCS= * + +post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} _static/ ${STAGEDIR}${DOCSDIR}/) + (cd ${WRKSRC}/docs/html/ && ${CP} *.html ${STAGEDIR}${DOCSDIR}/) + (cd ${WRKSRC}/docs/html/ && ${CP} *.js ${STAGEDIR}${DOCSDIR}/) + +regression-test: build + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include <bsd.port.mk> diff --git a/textproc/py-wtforms/distinfo b/textproc/py-wtforms/distinfo index 64760ca535f6..693cd9d16d51 100644 --- a/textproc/py-wtforms/distinfo +++ b/textproc/py-wtforms/distinfo @@ -1,2 +1,2 @@ -SHA256 (WTForms-1.0.5.zip) = b36b06e230403927c5e679ba84834053e9df380a0c0414bf70bca4ba1f672227 -SIZE (WTForms-1.0.5.zip) = 355186 +SHA256 (WTForms-2.0.1.zip) = 62859c74be4683601b5265ba83b9babd8a8f1cdd0ba31600fa1e70d295cd4ed2 +SIZE (WTForms-2.0.1.zip) = 444489 |
