# -*- 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-gwosc
version             0.7.1
revision            0

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

description         A python interface to the GW Open Science data archive
long_description    The `gwosc` package provides an interface to querying \
                    the open data releases hosted on <https://losc.ligo.org> \
                    from the LIGO and Virgo gravitational-wave observatories.
homepage            https://gwosc.readthedocs.io

checksums           rmd160  851120a84650933e2ffb99e77af64a957f3a8f34 \
                    sha256  5328223410081731ba4ef6f3be9f13ac4b3b9a43397fa04c1f50ddeb59895816 \
                    size    35423

python.versions     312

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

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

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

    test.run        yes
}
