# $Id: Portfile 102638 2013-02-05 16:31:59Z ram@macports.org $

PortSystem    1.0
PortGroup     python27 1.0

name          ligo-gracedb
version       1.11
categories    science
platforms     darwin
maintainers   ram
license       GPL

description   Gravitational-wave Candidate Event Database
long_description \
  A prototype system to organize candidate events from \
  gravitational-wave searches and to provide an environment to record \
  information about follow-ups. This package provides a simple client \
  tool to submit candidate events to the database.

homepage      https://www.lsc-group.phys.uwm.edu/daswg/projects/gracedb.html
master_sites  http://www.lsc-group.phys.uwm.edu/daswg/download/software/source/

checksums     rmd160 596cffad9edb6c09b44751b8855aa3389a42a9df \
              sha256 d2a9937fbccbcc26d0414ad78042e7a0dc7bdfbb84eeea284309cb552e88b0d8

depends_lib-append port:ligo-common \
                   port:py27-m2crypto \
                   port:py27-cjson

python.link_binaries_suffix

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