# -*- 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-pytest-remotedata
version             0.4.1
revision            0

platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         nomaintainer

description         Pytest plugin for controlling remote data access.
long_description    {*}${description}

homepage            https://github.com/astropy/pytest-remotedata

checksums           rmd160  63d707a9b9b6accf6ca8dd90a118826c4546e2e2 \
                    sha256  05c08bf638cdd1ed66eb01738a1647c3c714737c3ec3abe009d2c1f793b4bb59 \
                    size    13279

python.versions     310 311 312 313 314

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

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

    # Fails as: pytest.PytestConfigWarning: Unknown config option: remote_data_strict
    test.run        no
}
