# -*- 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-stevedore
version             5.7.0
revision            0

categories-append   devel
maintainers         nomaintainer
supported_archs     noarch
platforms           {darwin any}
license             Apache-2

description         Manage dynamic plugins for Python applications
long_description    {*}${description}

homepage            https://docs.openstack.org/stevedore

checksums           rmd160  c88d92131f0e79b48514f2fb61caba3c6309733a \
                    sha256  31dd6fe6b3cbe921e21dcefabc9a5f1cf848cf538a1f27543721b8ca09948aa3 \
                    size    516200

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_build-append port:py${python.version}-pbr

    post-destroot {
        set dest_doc ${destroot}${prefix}/share/doc/${subport}
        xinstall -d ${dest_doc}
        xinstall -m 0644 -W ${worksrcpath} \
            README.rst AUTHORS LICENSE ChangeLog CONTRIBUTING.rst ${dest_doc}
    }
}
