1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00

textproc/py-wtforms: update to 2.0.1

- update to 2.0.1
- add license file
- add tests support
- install documentation

PR:		195991
Submitted by:	rm (myself)
Approved by:	maintainer timeout (2 weeks)
This commit is contained in:
Ruslan Makhmatkhanov 2014-12-29 15:55:32 +00:00
parent 6c041d5631
commit 0f80b0d0a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375794
2 changed files with 27 additions and 5 deletions

View File

@ -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>

View File

@ -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