# -*- 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-gwdatafind
version             1.0.2

categories-append   science
maintainers         nomaintainer

platforms           darwin
license             GPL-3

description         The client library for the LIGO Data Replicator (LDR) \
                    service.
long_description    The DataFind service allows users to query for the \
                    location of Gravitational-Wave Frame (GWF) files \
                    containing data from the current gravitational-wave \
                    detectors.
homepage            https://gwdatafind.readthedocs.io

master_sites        pypi:g/gwdatafind
distname            gwdatafind-${version}
checksums           rmd160  0ab3223d8526bae8bcaadb942ee28cd4e0334483 \
                    sha256  1c26a2abf912c25c214c08da304328042ca2945e8acc92923b8eba03b838bc2b \
                    size    31397

python.versions     27 36 37 38
python.default_version 38

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-six \
                        port:py${python.version}-ligo-segments \
                        port:py${python.version}-openssl

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

    livecheck.type      none
} else {
    livecheck.type      pypi
}
