script to generate macports dependency graph

Mathias Laurin mathias.laurin at gmail.com
Sat Jan 17 07:28:29 PST 2015


I am into graphs these days and I wrote a short python script to
generate a dot file (input for graphviz) of the dependencies of
ports. It can be fed with several ports e.g.  "$(port echo
outdated)" and understands variants.

I actually find it useful so I thought I would share...

In any case it is free at
https://github.com/Synss/macports_deptree

Some ideas come from
http://www.puredarwin.org/developers/macports/macports-dependencies-overview
although I did not try reading the 400+ lines of shell script...


Best regards
Mathias



More information about the macports-users mailing list