# -*- 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.8.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  789515091a6a0bad0039f9835627d2ecf44098cf \
                    sha256  d4a890147ffbd76bfa800f6d01dd614cfb85b7623c537b93d713656144a9edff \
                    size    35494

python.versions     312 313

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
}
