forked from Lainports/freebsd-ports
textproc/py-wtforms: update to 2.1; modernize port
Changelog: * Added render_kw to allow default rendering time options. * Updated / added a number of localizations * Updated docs * Allow widgets to set flags
This commit is contained in:
parent
b19d3b8906
commit
d697fff574
2 changed files with 8 additions and 9 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= wtforms
|
||||
PORTVERSION= 2.0.2
|
||||
PORTVERSION= 2.1
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
@ -16,26 +16,25 @@ 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}sqlalchemy08>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}
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_ARCH= yes
|
||||
USES= python zip
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
post-install:
|
||||
post-install-DOCS-on:
|
||||
@${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
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (WTForms-2.0.2.zip) = 10737758ceae03b53021f3aa7e81bfc8dd6f679c879ffeb5e64ac6570facb6c1
|
||||
SIZE (WTForms-2.0.2.zip) = 449167
|
||||
SHA256 (WTForms-2.1.zip) = ffdf10bd1fa565b8233380cb77a304cd36fd55c73023e91d4b803c96bc11d46f
|
||||
SIZE (WTForms-2.1.zip) = 553644
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue