summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2014-08-03 12:57:09 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2014-08-03 12:57:09 -0700
commitd7a3c7e555bfd93fbf93ec55608d7fc6aa8052f8 (patch)
tree4ad90756f25663035496b295c67a9a5885efc0b7
parentb7fbc77babea727ee7620c8dbe48fd91ac953ff2 (diff)
downloadspack-d7a3c7e555bfd93fbf93ec55608d7fc6aa8052f8.tar.gz
spack-d7a3c7e555bfd93fbf93ec55608d7fc6aa8052f8.tar.bz2
spack-d7a3c7e555bfd93fbf93ec55608d7fc6aa8052f8.tar.xz
spack-d7a3c7e555bfd93fbf93ec55608d7fc6aa8052f8.zip
Fix up Matt's openss packages.
-rw-r--r--lib/spack/spack/cmd/info.py10
-rw-r--r--var/spack/packages/libmonitor/package.py1
-rw-r--r--var/spack/packages/sqlite/package.py7
3 files changed, 13 insertions, 5 deletions
diff --git a/lib/spack/spack/cmd/info.py b/lib/spack/spack/cmd/info.py
index 648dbf905a..bb147b30f5 100644
--- a/lib/spack/spack/cmd/info.py
+++ b/lib/spack/spack/cmd/info.py
@@ -37,15 +37,17 @@ def info(parser, args):
package = spack.db.get(args.name)
print "Package: ", package.name
print "Homepage: ", package.homepage
- print "Download: ", package.url
print
print "Safe versions: "
- if package.versions:
- colify(reversed(sorted(package.versions)), indent=4)
+ if not package.versions:
+ print("None.")
else:
- print "None. Use spack versions %s to get a list of downloadable versions." % package.name
+ maxlen = max(len(str(v)) for v in package.versions)
+ fmt = "%%-%ss" % maxlen
+ for v in reversed(sorted(package.versions)):
+ print " " + (fmt % v) + " " + package.url_for_version(v)
print
print "Dependencies:"
diff --git a/var/spack/packages/libmonitor/package.py b/var/spack/packages/libmonitor/package.py
index ac84f2e9ac..210712436a 100644
--- a/var/spack/packages/libmonitor/package.py
+++ b/var/spack/packages/libmonitor/package.py
@@ -25,6 +25,7 @@
from spack import *
class Libmonitor(Package):
+ """Libmonitor is a library for process and thread control."""
homepage = "http://hpctoolkit.org"
url = "file:///g/g0/legendre/tools/oss/openspeedshop-release-2.1/SOURCES/libmonitor-20130218.tar.gz"
diff --git a/var/spack/packages/sqlite/package.py b/var/spack/packages/sqlite/package.py
index 19013fb324..734b0b6cb6 100644
--- a/var/spack/packages/sqlite/package.py
+++ b/var/spack/packages/sqlite/package.py
@@ -25,9 +25,14 @@
from spack import *
class Sqlite(Package):
+ """SQLite3 is an SQL database engine in a C library. Programs that
+ link the SQLite3 library can have SQL database access without
+ running a separate RDBMS process.
+ """
homepage = "www.sqlite.org"
- version('3.8.5', '0544ef6d7afd8ca797935ccc2685a9ed', url='http://www.sqlite.org/2014/sqlite-autoconf-3080500.tar.gz')
+ version('3.8.5', '0544ef6d7afd8ca797935ccc2685a9ed',
+ url='http://www.sqlite.org/2014/sqlite-autoconf-3080500.tar.gz')
def install(self, spec, prefix):
configure("--prefix=" + prefix)