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

description         Common support modules for writing OpenStackClient plugins
long_description    ${description}
homepage            https://docs.openstack.org/osc-lib/latest/
checksums           md5     ded05e59a776389b6935ab811388ea9d \
                    rmd160  fcaf7f86ad54d9897288c6a90cc51fc6591a641a \
                    sha256  fcfce4d63a633c3161e2a6666764446e3f32668e814a94ab98da12e3908ee1d6 \
                    size    94181

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