# -*- 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-protobuf
version             7.35.1
revision            0

categories-append   devel
license             BSD
maintainers         nomaintainer

description         Python bindings for Protocol Buffers
long_description    {*}${description}
homepage            https://protobuf.dev

checksums           rmd160  4c253294c41630f466a69a9cdfc571eb1d5c8ce6 \
                    sha256  ce115a26fe0c39a2c29973d914d327e516a6455464489fe3cd1e51a1b354f81a \
                    size    458717

python.versions     310 311 312 313 314

if {${subport} ne ${name}} {
    conflicts       py${python.version}-protobuf3

    depends_lib-append \
                    port:protobuf

    # Match the minimum requirement in protobuf port.
    compiler.cxx_standard   2017
}
