# -*- 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.2.0
revision            0

categories-append   science
platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer
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

checksums           rmd160  00d774f879e7f1541fc9054b9829c510f51f1dd0 \
                    sha256  8f74942e66cdb9a53030da29069110b3cb30afc2a034790957786028fb09f451 \
                    size    40381

python.versions     312

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-igwn-auth-utils \
                    port:py${python.version}-ligo-segments

    test.run        yes
}
