# -*- 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-lscsoft-glue
version             4.0.0
revision            0

categories-append   science
maintainers         nomaintainer
license             GPL-2+

description         Grid LSC User Environment
long_description    Glue is a suite of python modules and programs to allow users to run \
                    LSC codes on the grid.

homepage            https://git.ligo.org/lscsoft/glue/

checksums           rmd160  32f2a501be11133b4e52db3364131aeecffca99e \
                    sha256  c7250b695da1db6c6fc034598c2a0e46103273a279ea170d60c2472770edc8f5 \
                    size    57285

python.versions     27 312

if {${name} ne ${subport}} {
    if {${python.version} == 27} {
        version     2.0.0
        revision    0
        checksums   rmd160  98055a86e6c2f5eae1749338e4d895204eef121e \
                    sha256  9bdfaebe4c921d83d1e3d1ca24379a644665e9d7530e7070665f387767c66923 \
                    size    1618606

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

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

    depends_lib-append \
                    port:py${python.version}-six \
                    port:py${python.version}-numpy \
                    port:py${python.version}-openssl \
                    port:py${python.version}-ligo-segments
}