# -*- 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-openstackclient
version             5.3.1
categories-append   net
platforms           darwin
maintainers         nomaintainer
license             Apache-2
supported_archs     noarch

description         Command-line client for OpenStack
long_description    OpenStackClient (aka OSC) is a command-line \
                    client for OpenStack that brings the command set \
                    for Compute, Identity, Image, Network, Object \
                    Store and Block Storage APIs together in a single \
                    shell with a uniform command structure.
homepage            https://docs.openstack.org/python-openstackclient/latest/
master_sites        pypi:p/python-openstackclient/
distname            python-openstackclient-${version}
checksums           md5     f23af9b5fa44488c031e0a4d065822a8 \
                    rmd160  e87155ec05bfbcf708688dd3baa479f86f6cc7cb \
                    sha256  dcbdc95f6f577f621fc2b3862a3e1143dedd7d8a95e6ed08bd953d95aa24a1cf \
                    size    725685

python.versions     36 37 38

if {${subport} ne ${name}} {
    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}-cliff \
                    port:py${python.version}-openstacksdk \
                    port:py${python.version}-osc-lib \
                    port:py${python.version}-oslo-i18n \
                    port:py${python.version}-oslo-utils \
                    port:py${python.version}-keystoneclient \
                    port:py${python.version}-novaclient \
                    port:py${python.version}-cinderclient \
                    port:py${python.version}-stevedore

    livecheck.type  none
} else {
    livecheck.name  python-openstackclient
}
