# -*- 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        lpsinger pygcn 0.1.19 v
name                py-gcn
python.versions     27 35 36 37
categories-append   science
license             GPL-2+
platforms           darwin
supported_archs     noarch
maintainers         {aronnax @lpsinger} openmaintainer
description         anonymous VOEvent client for receiving GCN/TAN notices in XML format
long_description \
  Anonymous VOEvent client for receiving GCN/TAN notices in XML format. \
  The Gamma-ray Coordinates Network/Transient Astronomy Network (GCN/TAN, \
  http://gcn.gsfc.nasa.gov) is a system for distributing astronomical alerts, \
  largely focused on operations of and detections from high-energy satellite \
  missions. \
  This package implements a simple client that anonymously listens for VOEvent \
  (http://www.ivoa.net/documents/VOEvent) XML format notices over the custom \
  TCP/IP VOEvent Transport Protocol \
  (http://www.ivoa.net/documents/Notes/VOEventTransport).

checksums           rmd160  59d8c495e9b1f115abeaa90cfea38193c1a6f170 \
                    sha256  7e3797d765f035ce814ce7dbe434fe23f008e3ee8e68ae802760e5d5496cce07 \
                    size    19554

if {${subport} ne ${name}} {
    livecheck.type  none

    depends_build-append    port:py${python.version}-setuptools

    depends_lib-append      port:py${python.version}-six
}
