# -*- 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 107211 2013-06-21 21:50:18Z cal@macports.org $

PortSystem          1.0
PortGroup           python 1.0
PortGroup           github 1.0

github.setup        MongoEngine mongoengine 0.8.2 v
name                py-mongoengine
checksums           rmd160  e639ae71b1b3d07db9750439ad3db7e5db18df0a \
                    sha256  15e6193dfdacb1531e4d4b31e709d82328206d0241e6ffd91de6ccf74f5499a0

license             MIT
maintainers         cal openmaintainer
platforms           darwin
supported_archs     noarch
description         \
    MongoEngine is a Document-Object Mapper (think ORM, but for document \
    databases) for working with MongoDB from Python.
long_description    \
    ${description} It uses a simple declarative API, similar to the Django ORM.

homepage        http://mongoengine.org/

python.versions     25 26 27
python.default_version 27

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

    livecheck.type          none
}
