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

description         Common support modules for writing OpenStackClient plugins
long_description    {*}${description}
homepage            https://docs.openstack.org/osc-lib/latest/
distname            osc_lib-${version}
checksums           rmd160  d717bcded2424a42d4a029ee20d9585b6212e9aa \
                    sha256  1dd15dd64c2b62101487a0f774821839df6b2baa5abc1a572c8e6c53314ee3e7 \
                    size    101874

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}-cliff \
                    port:py${python.version}-keystoneauth1 \
                    port:py${python.version}-openstacksdk \
                    port:py${python.version}-oslo-i18n \
                    port:py${python.version}-oslo-utils \
                    port:py${python.version}-requests \
                    port:py${python.version}-stevedore
}
