# -*- 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.6.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  016f91110893568c955ba207a232a173a70aad1a \
                    sha256  f22d15c6ead40c5bbfa9ca54aa7e7b4a07d59b36ae03ed12ced1a54cf0b51945 \
                    size    516074

python.versions     310 311 312 313

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}
    }
}
