# -*- 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          ligo-lvalert
version       1.4.3
categories    science
platforms     {darwin any}
supported_archs noarch
maintainers   nomaintainer
license       GPL-3+

# The GPL and OpenSSL licenses conflict with each other, and our build
# dependency on Python results in an indirect dependency on OpenSSL.
# However, there is no real conflict in the case of LALSuite because Python
# is used as a separately installed interpreter.
license_noconflict openssl

description   The LIGO-Virgo Alert System
long_description \
  A prototype notification service built on the xmpp (jabber) protocol \
  and the pubsub extension. It provides a basic notification tool \
  which allows multiple producers and consumers of notifications.

homepage      https://www.lsc-group.phys.uwm.edu/daswg/projects/lvalert.html
master_sites  https://software.igwn.org/lscsoft/source/

checksums     rmd160 697233420241a37e5cc275ce9fc818943ae13ef2 \
              sha256 b2f3f36d094ed8e058204bed42c286b70b24aa678a6cf2b2b714ee5f54b84823

python.default_version  27

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

depends_lib-append port:py${python.version}-ligo-common \
                   port:py${python.version}-pyxmpp \
                   port:py${python.version}-libxml2 \
                   port:py${python.version}-m2crypto \
                   port:py${python.version}-dnspython

livecheck.type   regex
livecheck.url    ${master_sites}
livecheck.regex  {ligo-lvalert-(\d+(?:\.\d+)*).tar.gz}
