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

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

description         This is a wrapper around protocol buffers. Protocol buffers \
                    is a specification format for APIs, such as those inside Google.
long_description    {*}${description}

homepage            https://github.com/googleapis/proto-plus-python

distname            proto_plus-${version}

checksums           rmd160  2062ecbbb2574b009a3de718192dd62ce2f142ed \
                    sha256  21a515a4c4c0088a773899e23c7bbade3d18f9c66c73edd4c7ee3816bc96a012 \
                    size    56142

python.versions     39 310 311 312 313

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

    depends_test-append \
                    port:py${python.version}-google-api-core

    test.run        yes
}
