script to generate macports dependency graph

Jeremy Lavergne jeremy at lavergne.gotdns.org
Sat Jan 17 07:30:44 PST 2015


You might consider adding this to the MacPorts respository, alongside the
Tcl version of your script:
http://trac.macports.org/browser/contrib/port-depgraph/port-depgraph

On Sat, January 17, 2015 10:28, Mathias Laurin wrote:
> 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-overvi
> ew although I did not try reading the 400+ lines of shell script...




More information about the macports-users mailing list