# -*- 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.8.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  d3007b75d89e8189cbc8c8457c3fa679663b7e8e \
                    sha256  5871a62b23f98cacd5518482941ae6d2a983e2936ed52d543ad08685dc6d2343 \
                    size    35227

python.versions     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
}
