# -*- 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-python-daemon
version             3.1.0
revision            0

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

description         Library to implement a well-behaved Unix daemon process.
long_description  \
    This library implements the well-behaved daemon specification of PEP 3143, \
    \"Standard daemon process library\". A well-behaved Unix daemon process is \
    tricky to get right, but the required steps are much the same for every \
    daemon program. A DaemonContext instance holds the behaviour and \
    configured process environment for the program\; use the instance as a \
    context manager to enter a daemon state.

homepage            https://pagure.io/python-daemon/

distname            python_daemon-${version}

checksums           rmd160  42e60c8042553c77186c1291da5c8218105440b5 \
                    sha256  fdb621d7e5f46e74b4de1ad6b0fff6e69cd91b4f219de1476190ebdd0f4781df \
                    size    61947

python.versions     312

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-docutils \
                    port:py${python.version}-changelog-chug

    depends_lib-append \
                    port:py${python.version}-lockfile
}
