# -*- 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-utils
python.rootname     oslo.utils
version             8.2.0
maintainers         nomaintainer
license             Apache-2
supported_archs     noarch
platforms           {darwin any}

description         OpenStack common utility type functions
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.utils/latest/
distname            oslo_utils-${version}

checksums           rmd160  7da4870cbe971c0802dafb89ec15b0b5ed69036a \
                    sha256  dcf78d14b968fb7b14263c77278b2b930a7861d3caa887d3a58b2890f6659835 \
                    size    137934

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}-debtcollector \
                    port:py${python.version}-iso8601 \
                    port:py${python.version}-netaddr \
                    port:py${python.version}-oslo-i18n \
                    port:py${python.version}-parsing \
                    port:py${python.version}-packaging \
                    port:py${python.version}-psutil \
                    port:py${python.version}-tz \
                    port:py${python.version}-yaml
}
