# -*- 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             4.5.0
maintainers         nomaintainer
license             Apache-2
supported_archs     noarch
platforms           {darwin any}

description         Client library for building applications to work with OpenStack clouds
long_description    {*}${description}
homepage            https://docs.openstack.org/openstacksdk/
checksums           rmd160  e0bcd6fd0673060ee97b09bbfeab7ade35b0c817 \
                    sha256  ab7a1240207a6969ba09ceee8f16653805730677b4497a806cd956733651fe68 \
                    size    1284921

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}-cryptography \
                    port:py${python.version}-decorator \
                    port:py${python.version}-dogpile-cache \
                    port:py${python.version}-iso8601 \
                    port:py${python.version}-jmespath \
                    port:py${python.version}-jsonpatch \
                    port:py${python.version}-keystoneauth1 \
                    port:py${python.version}-os-service-types \
                    port:py${python.version}-platformdirs \
                    port:py${python.version}-psutil \
                    port:py${python.version}-requestsexceptions \
                    port:py${python.version}-typing_extensions \
                    port:py${python.version}-yaml
}
