# -*- 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-cinderclient
python.rootname     python-cinderclient
version             9.7.0
revision            0

categories-append   net
maintainers         nomaintainer
license             Apache-2
supported_archs     noarch
platforms           {darwin any}

description         Client for the OpenStack Volume API
long_description    Client for the OpenStack Volume API. There’s a \
                    Python API (the cinderclient module), and a \
                    command-line script (cinder). Each implements 100% \
                    of the OpenStack Volume API.

homepage            https://docs.openstack.org/python-cinderclient/latest/
distname            python_cinderclient-${version}

checksums           rmd160  06a6d91da018eca932ecc41b373f1a435e46d903 \
                    sha256  18c4501e549677984d85b0b10fd074efbd265e30add2a796d28176055a8d7dcf \
                    size    236901

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}-prettytable \
                    port:py${python.version}-keystoneauth1 \
                    port:py${python.version}-oslo-i18n \
                    port:py${python.version}-oslo-utils \
                    port:py${python.version}-requests \
                    port:py${python.version}-stevedore
}
