# -*- 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-logbook
version             1.4.0
revision            0
categories-append   devel
platforms           darwin
license             BSD

python.versions     27 34 35 36

maintainers         {stromnov @stromnov} openmaintainer

description         Python logging replacement module.
long_description    ${description}

homepage            https://packages.python.org/Logbook/
master_sites        pypi:L/Logbook

distname            Logbook-${version}

checksums           rmd160  d243609339305bab019a29953d683b6e9935bbc0 \
                    sha256  3c0a3ebd48e89fcdd725fe393eb9226c789dca5a4e7842d65e2f256645fd1cd9 \
                    size    84334

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

    patchfiles-append   patch-setup.py.diff

    livecheck.type      none
} else {
    livecheck.name      Logbook
}