# $Id: Portfile 104897 2013-04-04 19:49:18Z ram@macports.org $

PortSystem         1.0
PortGroup          python27 1.0

name               pylal
version            0.3.0
categories         science
platforms          darwin
maintainers        ram
license            GPL

description        Python LSC Algorithm Library
long_description \
  The PyLAL package is best described as the Python LIGO Algorithm \
  Library. It was originally a Python wrapping of parts of the LAL \
  library, and although it continues to provide that function it has \
  acquired a large collection of independent code of its own so that \
  it is no longer exclusively a Python interface to LAL. In this \
  package you will find convenience code to assist with manipulating \
  XML documents using the glue.ligolw I/O library, you will find a \
  wrapping to libframe to enable GWF frame-file reading, you will \
  find binning and smoothing code, and you will find (partial) \
  wrappings of LALs burstsearch, date, inject, tools, and window \
  packages. Additionally, you will find most, if not all, of the \
  inspiral pipeline's follow-up and summary tools, and several \
  burst-related trigger post-production tools.

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

checksums          rmd160 bdbe7b963ed91f59db172ca5e36834dc87bdfee5 \
                   sha256 b4b0c9141430245edac38d378aa979982a7acad761e5d401675bd505d685ce09

depends_build      port:pkgconfig

depends_lib-append port:py27-numpy \
                   port:py27-scipy \
                   port:py27-matplotlib \
                   port:glue \
                   port:lal \
                   port:lalframe \
                   port:lalmetaio \
                   port:lalsimulation \
                   port:lalburst \
                   port:lalinspiral

# py27-scipy is not universal
universal_variant  no

#python.link_binaries_suffix

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