# -*- 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-oslo-serialization
python.rootname     oslo.serialization
version             5.11.0
revision            0

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

description         The oslo.utils library
long_description    The oslo.utils library provides support for common \
                    utility type functions, such as encoding, exception \
                    handling, string manipulation, and time handling.
homepage            https://docs.openstack.org/oslo.serialization/latest/
distname            oslo_serialization-${version}
checksums           rmd160  274564f092eb42faa5420abfda9b118eefe4b255 \
                    sha256  8326e85a80856c1068007423fcf6fe29dd2fe57a32f5d87fff0120b555b4b67c \
                    size    37298

python.versions     311 312 313 314

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

    depends_run-append \
                    port:py${python.version}-msgpack \
                    port:py${python.version}-oslo-utils
}
