# -*- 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
PortGroup           deprecated 1.0

name                py-sisyphus
version             0.9.1
categories-append   devel
license             MIT
maintainers         nomaintainer
platforms           {darwin any} freebsd
supported_archs     noarch
description         python module for running python stuff as cron jobs
long_description    This module simplifies running Python stuff as cron \
                    jobs. There will be no more than one sisyphus job of a certain \
                    name running at every given time. When the job is already \
                    running and a second is started, the second one will quit \
                    immediately if the first one hasn't exceeded its maximum \
                    allowed lifetime yet. If it has exceeded the allowed lifetime \
                    the first job will be killed and the second will start \
                    running. In addition to that, logging features are provided.

homepage            http://www.livinglogic.de/Python/sisyphus/
master_sites        macports_distfiles

distname            ll-sisyphus-${version}
checksums           md5 9d03cdd036dd1ab65da167c53d97ba4a

deprecated.upstream_support no
livecheck.type      none

python.versions     27

if {${name} ne ${subport}} {
    post-destroot {
        xinstall -m 644 -W ${worksrcpath} INSTALL NEWS README NEWS.xml \
            INSTALL.xml ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 644 ${worksrcpath}/examples/Fetch.py \
            ${destroot}${prefix}/share/doc/${subport}/examples
    }
}
