# -*- 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             10.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  8a4560b456161100b088bc59f2c4c8216541802f \
                    sha256  ba839dea2c1eb415e3ee151c4cc688f52e283f59bc1f77cc86772190a8b34259 \
                    size    159551

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}-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}-yaml
}
