# $Id: Portfile 106954 2013-06-12 14:48:47Z jmr@macports.org $

PortSystem        1.0
PortGroup         python 1.0

name              py-morbid
version           0.8.7.3
license           MIT
platforms         darwin
supported_archs   noarch
maintainers       nomaintainer

description       A Twisted-based publish/subscribe messaging server that uses the STOMP protocol
long_description  Morbid is a STOMP publish/subscribe server with absolutely \
                  no potential to cluster. It supports publish/subscribe \
                  topics, and runs as a single node.

homepage          http://www.morbidq.com/
master_sites      http://pypi.python.org/packages/source/m/morbid/
distname          morbid-${version}

checksums         md5     5a2458def7e583a10c46c046dbab9c4a \
                  sha1    36cf50606c1cd97c0bce310ced35d48d7eda7d3d \
                  rmd160  c70a5cddd15071074407243d670fe4e0d3b9be16

python.versions   25

if {$subport != $name} {
    depends_build      port:py${python.version}-setuptools
    depends_lib-append port:py${python.version}-twisted \
                       port:py${python.version}-stomper
    livecheck.type    none
} else {
    livecheck.type    regex
    livecheck.url     http://pypi.python.org/pypi/morbid/
    livecheck.regex   {morbid (\d+(?:\.\d+)*)}
}
