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

description         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.i18n/latest/
master_sites        pypi:o/oslo.i18n/
distname            oslo.i18n-${version}
checksums           md5     1b41d775a2fa72620a2e02931bd39f3f \
                    rmd160  2aa7ec36a8a7626a019a91ed27d7c81d5a769baa \
                    sha256  2e71ae3ec73a74ac71f8f407e6653243dc267eed404624255a296c34f1fc6887 \
                    size    44211

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
} else {
    livecheck.name  oslo.i18n
}
