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

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

description         Command line for openstack api
long_description    This is a client for the OpenStack Nova API. There's a Python \
                    API (the novaclient module), and a command-line script (nova). \
                    Each implements 100% of the OpenStack Nova API.
homepage            https://docs.openstack.org/python-novaclient/latest/
distname            python_novaclient-${version}
checksums           md5     49eaec2c5e8c671c2e21144fc24c0e9b \
                    rmd160  8b564b91f928effe399e86afe93e637ec1fdefb2 \
                    sha256  cf6a4b8f01ec543d5a75c01c218474ba9b063bd9fd3743821fedc68a845cab4e \
                    size    340629

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