# -*- 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.7.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  d433ccda8dfbadf7a6221e228144860c8d5588c8 \
                    sha256  bdc4d3dd97b80639b3505e46d9aa439fc95028814177f30b91743e81366c3be7 \
                    size    35067

python.versions     39 310 311 312 313

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 \
                    port:py${python.version}-tz
}
