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

name                py-gcn
python.rootname     pygcn
version             1.1.3
revision            0

categories-append   science
license             GPL-2+
platforms           {darwin any}
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).

homepage            https://github.com/nasa-gcn/pygcn

checksums           rmd160  30e0816b0591535c1c9ebafca5c1e2266e7b362f \
                    sha256  cc74d365e9b53bd909ec7c4c0d36badf327c848f1481909669f099526fde66dc \
                    size    30411

python.versions     312

if {${subport} ne ${name}} {
    depends_build-append \
                    port:py${python.version}-setuptools_scm

    depends_test-append \
                    port:py${python.version}-lxml

    test.run        yes
}
