# $Id: Portfile 92538 2012-05-01 00:43:54Z jmr@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-zope-app-module
set real_name       zope.app.module
version             3.5.0
python.versions     25 26 27
python.default_version 27
maintainers         singingwolfboy openmaintainer
platforms           darwin
description         Zope 3 persistent code/module support
license             ZPL-2.1

long_description \
    Persistent Python modules allow us to develop and store Python modules in the \
    ZODB in contrast to storing them on the filesystem. You might want to look at \
    the zodbcode package for the details of the implementation. In Zope 3 we \
    implemented persistent modules as utilities. These utilities are known as \
    module managers that manage the source code, compiled module and name of the \
    module. We then provide a special module registry that looks up the utilities \
    to find modules.

categories-append   zope

homepage            http://pypi.python.org/pypi/${real_name}
master_sites        http://pypi.python.org/packages/source/z/${real_name}
distname            ${real_name}-${version}

checksums           rmd160  ab3a805c424a02e0ccc08dc68dc3bb95d6217056 \
                    sha256  ef3c1ec5de3b2f86d8fc250e9b7b28faaed3482d699e27915eec68aac2dd944b

if {$name != $subport} {
    depends_build       port:py${python.version}-distribute
}
