# -*- 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.4.1
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  535a2f83e6d57baadd60fe00421f4af109563be1 \
                    sha256  3135b5ae50fe12816ef291baff420acb727fcd356106e3e9cbfa9e5985cd6f4b \
                    size    513858

python.versions     39 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}
    }
}
