script to generate macports dependency graph

Mathias Laurin mathias.laurin at gmail.com
Sun Jan 18 00:04:02 PST 2015


Sure! I completely missed that that version.

I filed a Ticket #46602.


> On 17 Jan 2015, at 16:30, Jeremy Lavergne <jeremy at lavergne.gotdns.org> wrote:
> 
> 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