# -*- 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-modulegraph
version             0.19.6
categories-append   devel
license             MIT
maintainers         {jmr @jmroot} openmaintainer
description         Python module dependency analysis tool
long_description \
    modulegraph determines a dependency graph between Python modules \
    primarily by bytecode analysis for import statements. \
    modulegraph uses similar methods to modulefinder from the standard \
    library, but uses a more flexible internal representation, has more \
    extensive knowledge of special cases, and is extensible.

platforms           {darwin any}
supported_archs     noarch

homepage            http://undefined.org/python/#modulegraph

checksums           md5 fe73bbd9e3912fe7e46750e09733cf69 \
                    rmd160 c9de51d9e02317d9cfe0da6663253dc35778192e \
                    sha256 c914c8c95a0e10fe88505d4e9c2284b4e3dbc70943e306cc6567e36cc541bf4b

python.versions     27 37 38 39 310 311 312 313

if {$subport ne $name} {
    # Needs pkg_resources at runtime
    depends_lib     port:py${python.version}-altgraph \
                    port:py${python.version}-setuptools
    livecheck.type  none
}
