PortSystem          1.0
PortGroup           python 1.0

name                py-repoze.who
version             1.0.18
epoch               1
maintainers         nomaintainer
platforms           darwin
supported_archs     noarch

description         repoze.who is an identification and authentication \
                    framework for WSGI.
long_description    ${description}
license             BSD
homepage            http://pypi.python.org/pypi/repoze.who/

distname            repoze.who-${version}
master_sites        pypi:r/repoze.who/

checksums           rmd160 cbf710cbe264b8380f6d4ff06b95d7dc1539831c

python.versions     26

if {${name} ne ${subport}} {
    depends_lib-append \
        port:py${python.version}-setuptools \
        port:py${python.version}-paste \
        port:py${python.version}-zopeinterface
    livecheck.type      none
} else {
    livecheck.regex     {repoze.who/(.+)"}
    livecheck.type      regex
    livecheck.url       ${homepage}
}