# -*- 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-errorhandler
version             2.0.1
revision            0
platforms           darwin
license             MIT
maintainers         nomaintainer

supported_archs     noarch

description         Handler for Python error messages
long_description    This is a handler for the python standard logging \
                    framework that can be used to tell whether \
                    messages have been logged at or above a certain \
                    level.
homepage            https://github.com/Simplistix/errorhandler

master_sites        pypi:e/errorhandler/
distname            errorhandler-${version}
checksums           rmd160  ae66f0fa9184872e2dc957a9e14709954c10ab0b \
                    sha256  7e578ad67af40845bfd044f71627a29f1fc436d53ccb058bbf1792ef31ab6163 \
                    size    8534

python.versions     27 37

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

    livecheck.type  none
}