# -*- 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
# $Id: Portfile 85352 2011-10-13 00:35:41Z jmr@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-altgraph
version             0.9
categories-append   devel
license             MIT
maintainers         jmr 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.3+ features and \
    enhancements related to modulegraph and macholib.

platforms           darwin
supported_archs     noarch

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

checksums           md5 367015bf871815b632975a26d1750133 \
                    sha1 94a434c1af98c8637969d3942d4f04bb633c382c \
                    rmd160 48263978c5634d970a58a7372a81bed55ecaefd9

python.versions     24 25 26 27

if {$subport != $name} {
    depends_lib     port:py${python.version}-distribute
    livecheck.type  none
} else {
    livecheck.type  regex
    livecheck.url   http://pypi.python.org/pypi/altgraph/
    livecheck.regex altgraph (0\.\[0-9.\]+)
}
