# -*- 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 106911 2013-06-11 14:40:14Z jmr@macports.org $

PortSystem          1.0
PortGroup           python 1.0
PortGroup           github 1.0

github.setup        mitsuhiko flask-sqlalchemy 0.16
name                py-flask-sqlalchemy
set real_name       Flask-SQLAlchemy
python.versions     25 26 27
python.default_version  27
categories-append   www
maintainers         and.damore openmaintainer
description         Flask support for SQLAlchemy
long_description    \
    Flask-SQLAlchemy is an extension for Flask that adds support for SQLAlchemy \
    to your application. It requires SQLAlchemy 0.6 or higher. It aims to \
    simplify using SQLAlchemy with Flask by providing useful defaults and extra \
    helpers that make it easier to accomplish common tasks.

license             BSD
platforms           darwin
homepage            http://pythonhosted.org/Flask-WTF
checksums           rmd160  46f4b85942c6e185e8846f0976fc59e3a37d9844 \
                    sha256  367598fdfc46ee9ee2fe53b7a19b6bd283301979b4ca79fb530e1be8fdabf046

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