# -*- 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-supervisor
version             4.3.0
revision            0

supported_archs     noarch
platforms           {darwin any}
license             BSD ZPL-2.1
maintainers         nomaintainer

description         Process manager for UNIX-like OSs
long_description    The supervisor is a client/server system that allows its users to control \
                    a number of processes on UNIX-like operating systems

homepage            https://www.supervisord.org/

checksums           rmd160  36460f299f257d952a83c30474f7e419cfa17c3d \
                    sha256  4a2bf149adf42997e1bb44b70c43b613275ec9852c3edacca86a9166b27e945e \
                    size    468912

python.versions     312 313

if {${name} ne ${subport}} {
    # 6 tests fail currently, mostly because of "error: AF_UNIX path too long", which can be ignored
    test.run        yes

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} CHANGES.rst COPYRIGHT.txt \
            LICENSES.txt README.rst supervisor/skel/sample.conf \
            docs/plugins.rst ${destroot}${docdir}
    }
}
