# -*- 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.2
revision            0
distname            pytest_remotedata-${version}

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  3babf03f4467c810344fd5a5f0189f3fddf2e71a \
                    sha256  ad3eaa2691feecc2071890764d30e06211547577f965e2e4424435c5d887278d \
                    size    14034

python.versions     311 312 313 314 315

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
}
