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

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/
master_sites        pypi:p/python-novaclient/
distname            python-novaclient-${version}
checksums           md5     d4326085ebb9f999c45c37c99b315009 \
                    rmd160  8d56940807effd3f96d552de86948cde21b2e1e6 \
                    sha256  cda999e2254787b962e14859f6ca71de640963f3b35c1685fb51ce3a7a0a8958 \
                    size    323260

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}-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

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