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

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/
master_sites        pypi:p/python-cinderclient/
distname            python-cinderclient-${version}
checksums           md5     ead8e95f6c5e60272da2e6f796f91894 \
                    rmd160  9706fd47624c8490cfbbcc8620a4fe986ecb79b0 \
                    sha256  625d34dd6a3626f9a02e83af554441d96ff91ab20aa081412c7530c1e87ec642 \
                    size    243949

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

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