# -*- 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
python.rootname     proto_plus
version             1.29.0
revision            0

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

supported_archs     noarch
platforms           {darwin any}

distname            proto_plus-${version}

checksums           rmd160  edea9f16d22aec1b3aa051fa6a1e84995ca5f42d \
                    sha256  cfb4e62ad7e13dd18f346cabbda00cab39930d36a05791fd81ddb074d6ee884f \
                    size    58592

python.versions     310 311 312 313 314 315

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
}
