# -*- 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 92832 2012-05-08 23:37:21Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-flask-mongoalchemy
set real_name       Flask-MongoAlchemy
version             0.5.3
python.versions     25 26 27
python.default_version  27
categories-append   www
maintainers         singingwolfboy openmaintainer
description         Add Flask support for MongoDB using MongoAlchemy
long_description    ${description}
license             BSD

platforms           darwin

homepage            http://pypi.python.org/pypi/Flask-MongoAlchemy
master_sites        http://pypi.python.org/packages/source/F/${real_name}/
distname            ${real_name}-${version}
checksums           rmd160  35d2413179befa42bf644418f0fa192cd445997a \
                    sha256  4468cef1b2119971d721162133d8f15314b92439b812b3f4d1d2e0d32dbae03c

if {$name != $subport} {
    depends_lib-append  port:py${python.version}-flask \
    					port:py${python.version}-pymongo \
    					port:py${python.version}-mongoalchemy
}
