# -*- 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.17.5
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 any}
supported_archs     noarch

homepage            https://pypi.org/project/altgraph/

checksums           md5 103802ef2ad240dfa98886a909cc54d2 \
                    rmd160 3f6cc99212babb09ead8a0b1ab1d74f8ea0b84db \
                    sha256 c87b395dd12fabde9c99573a9749d67da8d29ef9de0125c7f536699b4a9bc9e7

python.versions     27 37 38 39 310 311 312 313 314

if {$subport ne $name} {
    depends_build-append  port:py${python.version}-setuptools
    test.run        yes
    python.test_framework   unittest  
    livecheck.type  none
}
