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

description         
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/
master_sites        pypi:o/oslo.serialization/
distname            oslo.serialization-${version}
checksums           md5     ccbc5683ee4a772ae5e6379369a773b6 \
                    rmd160  231190c1d32e54a0442ce8531f1e2dfca512da85 \
                    sha256  f465df171be564282cb3e86ec895f5b6ae5e5b0760e9af2be96a942a5255a860 \
                    size    30816

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}-msgpack \
                    port:py${python.version}-oslo-utils \
                    port:py${python.version}-tz
} else {
    livecheck.name  oslo.serialization
}
