# -*- 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

PortSystem          1.0
PortGroup           python 1.0
PortGroup           github 1.0

github.setup        jdswinbank Comet 3.0.0
name                py-comet
python.versions     27 35 36 37
categories-append   science www
maintainers         {aronnax @lpsinger} openmaintainer
description         A complete VOEvent transport system
long_description    \
    Comet is a Python implementation of the VOEvent Transport Protocol (VTP). \
    The core of Comet is a multi-functional VOEvent broker. It is capable of \
    receiving events either by subscribing to one or more remote brokers or \
    by direct connection from authors, and can then both process those events \
    locally and forward them to its own subscribers. In addition, Comet \
    provides a tool for publishing VOEvents to a remote broker. See the \
    website for further details and documentation.

license             BSD
platforms           darwin
supported_archs     noarch
homepage            https://comet.readthedocs.io

checksums           rmd160  a228b558beed26b7cfb4aa61dc90eb2b4f0fe008 \
                    sha256  0d25efdc5ac530451ce005d40d2b396d08f3937f82eb54a6885060ed5e674fd7 \
                    size    105502

if {${name} ne ${subport}} {
    depends_lib-append      port:py${python.version}-lxml \
                            port:py${python.version}-service_identity \
                            port:py${python.version}-twisted \
                            port:py${python.version}-zopeinterface

    livecheck.type          none
}