# -*- 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
version             4.3.0
platforms           darwin
maintainers         nomaintainer
license             Apache-2
supported_archs     noarch

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/
master_sites        pypi:o/oslo.utils/
distname            oslo.utils-${version}
checksums           md5     2ae6596cc5df348a8f62e256da94222a \
                    rmd160  fcd7f3e6c89374fda8506fd0a7dfe9a9f705af04 \
                    sha256  c608d9676974ae7e81ce51eeecd122690881c3bdc31b26f51c42327a350bd313 \
                    size    93589

python.versions     36 37 38

if {${subport} ne ${name}} {
    livecheck.type  none

    depends_build-append \
                    port:py${python.version}-setuptools \
                    port:py${python.version}-pbr

    depends_run-append \
                    port:py${python.version}-six \
                    port:py${python.version}-iso8601 \
                    port:py${python.version}-oslo-i18n \
                    port:py${python.version}-tz \
                    port:py${python.version}-netaddr \
                    port:py${python.version}-netifaces \
                    port:py${python.version}-debtcollector \
                    port:py${python.version}-parsing \
                    port:py${python.version}-packaging

    livecheck.type  none
} else {
    livecheck.name  oslo.utils
}
