Revision
81279
Author
eborisch@macports.org
Date
2011-07-28 14:48:54 -0700 (Thu, 28 Jul 2011)

Log Message

depTree tool: Add runtime deps

Modified Paths

Diff

Modified: users/eborisch/macports_utils/depTree.py (81278 => 81279)


--- users/eborisch/macports_utils/depTree.py	2011-07-28 21:40:30 UTC (rev 81278)
+++ users/eborisch/macports_utils/depTree.py	2011-07-28 21:48:54 UTC (rev 81279)
@@ -64,6 +64,8 @@
       style = "[style=dotted]"
     elif re.search("Library Dependencies",line):
       style = ""
+    elif re.search("Runtime Dependencies",line):
+      style = "[style=dashed]"
     else:
       continue
 
@@ -92,6 +94,7 @@
 dotProc.stdin.write("Digraph G {")
 for port in sys.argv[1:]:
   scanDeps(port, 0)
+dotProc.stdin.write('graph [label="Dependencies of %s"]' % ','.join(sys.argv[1:]))
 dotProc.stdin.write("}")
 
 if dotProc.returncode: