# -*- 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.3.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/
checksums           md5     7277ceb8253253f19fcb0e327dbb9fc6 \
                    rmd160  8587db8e8641ddc77009403429a364ce6098c984 \
                    sha256  50f7587c7a2b2528f73505817f9437ac5c1d04d576e9be264d2deeffdb745a76 \
                    size    339238

python.versions     39 310 311

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