# -*- 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             10.5.0
categories-append   net
platforms           {darwin any}
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/
python.rootname     python-openstackclient
distname            python_openstackclient-${version}
checksums           md5     d53dd280aecff0b9c07d9e79e21feb0a \
                    rmd160  5834daf4ca3b368aa16934a45fe9c040607a7fb2 \
                    sha256  a9c77b8d2b53a9413794daa5d60cbb4fa669af64799b704cfb96d75f2e002e8e \
                    size    1061432

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}-cliff \
                    port:py${python.version}-cryptography \
                    port:py${python.version}-iso8601 \
                    port:py${python.version}-openstacksdk \
                    port:py${python.version}-osc-lib \
                    port:py${python.version}-oslo-i18n \
                    port:py${python.version}-keystoneclient \
                    port:py${python.version}-manilaclient \
                    port:py${python.version}-requests \
                    port:py${python.version}-stevedore
}
