# -*- 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

PortSystem          1.0
PortGroup           python 1.0
PortGroup           github 1.0

github.setup        MongoEngine mongoengine 0.8.7 v
name                py-mongoengine
checksums           rmd160  2dc060bd56dac10233af5166321afef3c787738f \
                    sha256  7888ef32492991c415208b4dd27e730e9b2add141172ffaf6ef0a0d800685357

license             MIT
maintainers         {cal @neverpanic} 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     27 34 35 36

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

    livecheck.type          none
}