# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 106937 2013-06-12 06:37:10Z and.damore@macports.org $

PortSystem          1.0
PortGroup           python 1.0
PortGroup           github 1.0

github.setup        ajford flask-wtf 0.8.3 v
name                py-flask-wtf
set real_name       Flask-WTF
python.versions     25 26 27
python.default_version  27
categories-append   www
maintainers         and.damore openmaintainer
description         Flask simple integration with WTForms
long_description    \
    Flask-WTF offers simple integration with WTForms. This integration includes \
    optional CSRF handling for greater security.

license             BSD
platforms           darwin
homepage            http://pythonhosted.org/Flask-WTF
checksums           rmd160  01ca6fbbf9a763a47a6981383ae4b6cb6da0b655 \
                    sha256  648a3da3713ba973d085da4d45e719e15e369e4782d3ce760d80a7f88627f832

if {$name != $subport} {
    depends_build-append    port:py${python.version}-setuptools
    depends_lib-append      port:py${python.version}-flask \
                            port:py${python.version}-wtforms
}
