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

name                py-mongoalchemy
set real_name       MongoAlchemy
version             0.21
revision            0
python.versions     27
categories-append   www
license             MIT
maintainers         nomaintainer
description         Document-Object Mapper/Toolkit for Mongo Databases
long_description    \
	MongoAlchemy is a layer on top of the Python MongoDB driver which adds \
	client-side schema definitions, an easier to work with and programmatic \
	query language, and a Document-Object mapper which allows python objects \
	to be saved and loaded into the database in a type-safe way.

platforms           {darwin any}
supported_archs     noarch

homepage            http://www.mongoalchemy.org
master_sites        pypi:M/${real_name}/
distname            ${real_name}-${version}
checksums           rmd160  852d0bc2caa890360aafa9c4d2ff9f9118234e7b \
                    sha256  133441657d58b0e3d14f8da33389ef44ba5ca2d114cb9ef3b29236f3d0b193c7 \
                    size    36950

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

    livecheck.type  none
}
