Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2014 09:40:05 +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: r374837 - in head/www: . py-flask-wtf
Message-ID:  <201412170940.sBH9e5HC072779@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Wed Dec 17 09:40:04 2014
New Revision: 374837
URL: https://svnweb.freebsd.org/changeset/ports/374837
QAT: https://qat.redports.org/buildarchive/r374837/

Log:
  Simple integration of Flask and WTForms, including CSRF, file upload
  and Recaptcha integration.
  
  WWW: https://flask-wtf.readthedocs.org/en/latest/

Added:
  head/www/py-flask-wtf/
  head/www/py-flask-wtf/Makefile   (contents, props changed)
  head/www/py-flask-wtf/distinfo   (contents, props changed)
  head/www/py-flask-wtf/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Wed Dec 17 09:10:49 2014	(r374836)
+++ head/www/Makefile	Wed Dec 17 09:40:04 2014	(r374837)
@@ -1536,6 +1536,7 @@
     SUBDIR += py-flask-flatpages
     SUBDIR += py-flask-sockets
     SUBDIR += py-flask-uploads
+    SUBDIR += py-flask-wtf
     SUBDIR += py-flexget
     SUBDIR += py-flup
     SUBDIR += py-formalchemy

Added: head/www/py-flask-wtf/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-flask-wtf/Makefile	Wed Dec 17 09:40:04 2014	(r374837)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME=	Flask-WTF
+PORTVERSION=	0.10.3
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	rm@FreeBSD.org
+COMMENT=	Simple integration of Flask and WTForms
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Flask>0:${PORTSDIR}/www/py-flask \
+		${PYTHON_PKGNAMEPREFIX}werkzeug>0:${PORTSDIR}/www/py-werkzeug \
+		${PYTHON_PKGNAMEPREFIX}wtforms>0:${PORTSDIR}/textproc/py-wtforms
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \
+		${PYTHON_PKGNAMEPREFIX}Flask-Babel>0:${PORTSDIR}/devel/py-flask-babel
+
+OPTIONS_DEFINE=		TESTS
+TESTS_DESC=		Install test suite dependencies
+TESTS_BUILD_DEPENDS=	${RUN_DEPENDS} \
+			${TEST_DEPENDS}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+regression-test: build
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+.include <bsd.port.mk>

Added: head/www/py-flask-wtf/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-flask-wtf/distinfo	Wed Dec 17 09:40:04 2014	(r374837)
@@ -0,0 +1,2 @@
+SHA256 (Flask-WTF-0.10.3.tar.gz) = 40da66462df074c2a0fd209e6047972bc226125f6c484c8e367ea10e71ddd718
+SIZE (Flask-WTF-0.10.3.tar.gz) = 247240

Added: head/www/py-flask-wtf/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-flask-wtf/pkg-descr	Wed Dec 17 09:40:04 2014	(r374837)
@@ -0,0 +1,4 @@
+Simple integration of Flask and WTForms, including CSRF, file upload
+and Recaptcha integration.
+
+WWW: https://flask-wtf.readthedocs.org/en/latest/



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