spack info : added phases
This commit is contained in:
parent
fd2b72fd0f
commit
715e029361
@ -84,6 +84,13 @@ def print_text_info(pkg):
|
|||||||
|
|
||||||
print " " + fmt % (name, default, desc)
|
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'):
|
for deptype in ('build', 'link', 'run'):
|
||||||
print
|
print
|
||||||
print "%s Dependencies:" % deptype.capitalize()
|
print "%s Dependencies:" % deptype.capitalize()
|
||||||
@ -94,7 +101,7 @@ def print_text_info(pkg):
|
|||||||
print " None"
|
print " None"
|
||||||
|
|
||||||
print
|
print
|
||||||
print "Virtual packages: "
|
print "Virtual Packages: "
|
||||||
if pkg.provided:
|
if pkg.provided:
|
||||||
for spec, when in pkg.provided.items():
|
for spec, when in pkg.provided.items():
|
||||||
print " %s provides %s" % (when, spec)
|
print " %s provides %s" % (when, spec)
|
||||||
|
Loading…
Reference in New Issue
Block a user