[81279] users/eborisch/macports_utils/depTree.py
eborisch at macports.org
eborisch at macports.org
Thu Jul 28 14:48:55 PDT 2011
Revision: 81279
http://trac.macports.org/changeset/81279
Author: eborisch at macports.org
Date: 2011-07-28 14:48:54 -0700 (Thu, 28 Jul 2011)
Log Message:
-----------
depTree tool: Add runtime deps
Modified Paths:
--------------
users/eborisch/macports_utils/depTree.py
Modified: users/eborisch/macports_utils/depTree.py
===================================================================
--- 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:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110728/6d54d230/attachment.html>
More information about the macports-changes
mailing list