# -*- 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-mongoose
version             0.1
revision            1
categories-append   devel
license             LGPL-2.1+
platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer
description         advanced python exception handler
long_description    Mongoose catches runaway Pythons. It provides a \
                    graceful exit and report when an uncaught Python \
                    exception occurs in deployed production or beta \
                    software, catches and reports otherwise unhandled \
                    Python exceptions in a helpful and extensible manner, \
                    automatically generates an unique Mongoose Incident \
                    Identifier to help you track the same bug across \
                    multiple computers.

homepage            http://themongoose.sourceforge.net/
master_sites        sourceforge:themongoose
checksums           md5     0dcd92b57626d6ee67d96b6132e713c5 \
                    rmd160  0db446c8fba90fbc5016a2b64fa7742f8802c5a0 \
                    sha256  4a767fc5e843946dbb11af6ab6ee870cf39f414abba54eb573a3db4e8202513f \
                    size    23408
use_bzip2           yes

python.versions     27

if {${name} ne ${subport}} {
    post-destroot {
        xinstall -m 0644 -W ${worksrcpath} README \
            ${destroot}${prefix}/share/doc/${subport}
    }

    livecheck.type  none
} else {
    livecheck.regex {mongoose-([.\d]+)\.zip}
}
