# -*- 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 87857 2011-12-09 12:33:33Z stromnov@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-pymongo version 2.1 revision 0 categories-append databases license Apache platforms darwin maintainers stromnov openmaintainer description Python access to mongodb long_description \ The PyMongo distribution contains tools for interacting with \ the Mongo database from Python. homepage http://www.mongodb.org/ master_sites http://pypi.python.org/packages/source/p/pymongo/ distname pymongo-${version} checksums md5 40f8c8be0edcea398ba41d5d3ba5e8b0 \ sha1 5900ac2708a5c18107ed510b90f965b3475d678e \ rmd160 a9bcbb4de71cbfa8b9674873f2662f5f55974288 python.versions 25 26 27 python.default_version 27 if {$subport != $name} { depends_build-append port:py${python.version}-distribute post-destroot { xinstall -m 755 -d ${destroot}${python.prefix}/share/doc/${subport} xinstall -m 644 -W ${worksrcpath} README.rst \ ${destroot}${python.prefix}/share/doc/${subport} } } livecheck.url [lindex ${master_sites} 0] livecheck.regex {pymongo-([.\d]+)\.tar\.gz}