Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2014 15:55:33 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375794 - head/textproc/py-wtforms
Message-ID:  <201412291555.sBTFtXK2007836@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Mon Dec 29 15:55:32 2014
New Revision: 375794
URL: https://svnweb.freebsd.org/changeset/ports/375794
QAT: https://qat.redports.org/buildarchive/r375794/

Log:
  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)

Modified:
  head/textproc/py-wtforms/Makefile
  head/textproc/py-wtforms/distinfo

Modified: head/textproc/py-wtforms/Makefile
==============================================================================
--- head/textproc/py-wtforms/Makefile	Mon Dec 29 15:43:40 2014	(r375793)
+++ head/textproc/py-wtforms/Makefile	Mon Dec 29 15:55:32 2014	(r375794)
@@ -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>

Modified: head/textproc/py-wtforms/distinfo
==============================================================================
--- head/textproc/py-wtforms/distinfo	Mon Dec 29 15:43:40 2014	(r375793)
+++ head/textproc/py-wtforms/distinfo	Mon Dec 29 15:55:32 2014	(r375794)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412291555.sBTFtXK2007836>