# -*- 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.3
revision            0
categories-append   devel
platforms           darwin
license             BSD

python.versions     27 34 35 36 37

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  c22699437dcc02363652703f5792896138f9a1e8 \
                    sha256  a5a96792abd8172c80d61b7530e134524f20e2841981038031e602ed5920fef5 \
                    size    85559

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
}