# -*- 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-dqsegdb2
version             1.2.1
revision            0

categories-append   science
maintainers         nomaintainer
license             GPL-3+
platforms           {darwin any}
supported_archs     noarch

description         Simplified python interface to DQSEGDB
long_description    dqsegdb2 is a simplified Python implementation of the \
                    DQSEGDB API as defined in LIGO-T1300625. \
                    This package only provides a query interface for GET \
                    bequests, any users wishing to make POST requests \
                    should refer to the official 'dqsegdb' port.
homepage            https://dqsegdb2.readthedocs.io

checksums           rmd160  8b0043d8969acbcfd0f6b6e632c5220cf7cc32e1 \
                    sha256  6a222dbb7024de6de845ba5ad3583859cecf8ed5ce584ff5db6f01581b821f81 \
                    size    35041

python.versions     312

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools_scm

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

    test.run        yes

    depends_test-append \
                    port:py${python.version}-requests-mock
}
