Skip to content
Snippets Groups Projects
Commit 715e0293 authored by Massimiliano Culpo's avatar Massimiliano Culpo
Browse files

spack info : added phases

parent fd2b72fd
Branches
Tags
No related merge requests found
......@@ -84,6 +84,13 @@ def print_text_info(pkg):
print " " + fmt % (name, default, desc)
print
print "Installation Phases:"
phase_str = ''
for phase in pkg.phases:
phase_str += " {0}".format(phase)
print phase_str
for deptype in ('build', 'link', 'run'):
print
print "%s Dependencies:" % deptype.capitalize()
......@@ -94,7 +101,7 @@ def print_text_info(pkg):
print " None"
print
print "Virtual packages: "
print "Virtual Packages: "
if pkg.provided:
for spec, when in pkg.provided.items():
print " %s provides %s" % (when, spec)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment