# -*- 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-tracer
version             0.3.2
revision            0

platforms           darwin
supported_archs     noarch
license             GPL-3+
maintainers         nomaintainer

description         A more flexible interface to sys.settrace
long_description    A more flexible interface to sys.settrace(), \
                    allowing chained trace hooks, prioritization \
                    of hooks, or filtering out functions to ignore \
                    for a specific hook.

homepage            https://pypi.python.org/pypi/${python.rootname}/

checksums           rmd160  11cce959b338cab44e822ddfce1d3b0e85b1f72a \
                    sha256  1ddb3f438ea5ab4180776e8bb8bfa857edf7f52264f6b8189bba2bafb1a7cae3 \
                    size    22561

python.versions     27 35 36 37 38 39

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

    depends_test-append \
                    port:py${python.version}-nose

    test.run        yes
    test.env        PYTHONPATH=${worksrcpath}/build/lib

    livecheck.type  none
}
