# -*- 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
description A Python module that creates call graphs for Python programs.
long_description ${description}
homepage https://github.com/gak/pycallgraph
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}
checksums rmd160 c7504663783e7e72d3a64cac77f8f8d523e50a2a \
sha256 b1262b0f9831da889c6e9a9a82a22267df497013cd2f5b36c39359a607c91e71 \
deprecated.upstream_support no
python.versions 27 35 36 37
if {${subport} ne ${name}} {
port:py${python.version}-setuptools
depends_run-append path:bin/dot:graphviz
set docdir ${prefix}/share/doc/${subport}
xinstall -m 644 -W ${worksrcpath} LICENSE ${destroot}${docdir}
file copy ${worksrcpath}/man/${python.rootname}.1 ${destroot}${prefix}/share/man/man1/${python.rootname}-${python.branch}.1