# -*- 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-altgraph
version             0.16.1
categories-append   devel
license             MIT
maintainers         {jmr @jmroot} openmaintainer
description         Python graph (network) package
long_description \
    altgraph is a fork of graphlib: a graph (network) package for \
    constructing graphs, BFS and DFS traversals, topological sort, \
    shortest paths, etc. with graphviz output. \
    altgraph includes some additional usage of Python 2.6+ features and \
    enhancements related to modulegraph and macholib.

platforms           darwin
supported_archs     noarch

homepage            http://undefined.org/python/#altgraph
master_sites        pypi:a/altgraph/
distname            altgraph-${version}

checksums           rmd160 df1ca2f94e633023bb41da7a7de9d4e3d4d9c71b \
                    sha256 ddf5320017147ba7b810198e0b6619bd7b5563aa034da388cea8546b877f9b0c

python.versions     27 33 34 35 36 37 38

if {$subport ne $name} {
    depends_build   port:py${python.version}-setuptools
    livecheck.type  none
}