# -*- 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-proto
version             1.45.3
revision            0

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

description         OpenTelemetry Python Protobuf definitions
long_description    {*}${description}

homepage            https://github.com/open-telemetry/opentelemetry-python/tree/main/opentelemetry-proto

distname            opentelemetry_proto-${version}

checksums           rmd160  7f13d0a9565ce8371ae27ec83fe1ac01573e0e94 \
                    sha256  5dcb9235a521ad06cdcf0931aa4c2bd51e620967925b567311a92180b79c9b49 \
                    size    46490

python.versions     313 314 315
python.pep517_backend hatch

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

    test.run        yes
}
