# -*- 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-mongoalchemy
set real_name       MongoAlchemy
version             0.11
python.versions     25 26 27
python.default_version  27
categories-append   www
license             MIT
maintainers         singingwolfboy openmaintainer
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

homepage            http://www.mongoalchemy.org
master_sites        http://pypi.python.org/packages/source/M/${real_name}/
distname            ${real_name}-${version}
checksums           rmd160  29b7cd981ffd804526ef029f3b94dc43d912c14e \
                    sha256  a7b0191ffd928363aedd5f51ebd97e9fe870bcc14ef982a92cc609d826f3ec89

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