# -*- 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.15 v
name                py-gcn
python.versions     27 34 35 36
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  44e739113d5bd6ef24992f906ab810c88730ee08 \
                    sha256  5e34b56d64c2d3ba97d653b652495ddf5e9c7740dc5bc18c57168edded81e8a3

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

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

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