# -*- 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-opentelemetry-test-utils
version             0.66b3
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             Apache-2
maintainers         nomaintainer

description         Test utilities for OpenTelemetry unit tests
long_description    {*}${description}

homepage            https://github.com/open-telemetry/opentelemetry-python/tree/main/tests/opentelemetry-test-utils

distname            opentelemetry_test_utils-${version}

checksums           rmd160  5ba9a6d15a92252f1409b037053f1d1ba96db874 \
                    sha256  bd3615017387c0fba0a4721c44f1d191756dbc9b52cc8cf34d8c27eefac47368 \
                    size    15939

python.versions     313 314 315
python.pep517_backend hatch

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-asgiref \
                    port:py${python.version}-opentelemetry-api \
                    port:py${python.version}-opentelemetry-sdk \
                    port:py${python.version}-requests
}
