# -*- 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-openstacksdk
version             0.48.0
platforms           darwin
maintainers         nomaintainer
license             Apache-2
supported_archs     noarch

description         Client library for building applications to work with OpenStack clouds
long_description    ${description}
homepage            https://docs.openstack.org/openstacksdk/
checksums           md5     6049b73b2cd51864c6bf7d1b3548b536 \
                    rmd160  e7aed89078ee3d730e82f6be6cfe526a0be10b00 \
                    sha256  8652664a30041325a980d03a37c92ca546ed923d26c246a2bb3c92fc5f24243c \
                    size    935288

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}-yaml \
                    port:py${python.version}-appdirs \
                    port:py${python.version}-requestsexceptions \
                    port:py${python.version}-jsonpatch \
                    port:py${python.version}-os-service-types \
                    port:py${python.version}-keystoneauth1 \
                    port:py${python.version}-munch \
                    port:py${python.version}-decorator \
                    port:py${python.version}-jmespath \
                    port:py${python.version}-iso8601 \
                    port:py${python.version}-netifaces \
                    port:py${python.version}-dogpile-cache \
                    port:py${python.version}-cryptography \
                    port:py${python.version}-importlib-metadata
}
