# -*- 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             8.0.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     206372f2e4b8e15da33bb2b90636a9eb \
                    rmd160  f03d783c16d7bf2754e85e2b39b55de16bec184c \
                    sha256  5b7a5e06893f833b5d296d019c50d42c7368e37748ee6be8e9b15655b999424e \
                    size    914450

python.versions     310 311 312 313

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}-cinderclient \
                    port:py${python.version}-requests \
                    port:py${python.version}-stevedore
}
