diff options
author | Elizabeth F <rpf2116@columbia.edu> | 2016-04-05 10:53:44 -0400 |
---|---|---|
committer | Elizabeth Fischer <elizabeth.fischer@columbia.edu> | 2016-08-23 16:39:01 -0400 |
commit | 86d39255ecd2260fd3fbe015986c855403c17f48 (patch) | |
tree | 7d10dcae2cb151ac6551e652882f10e3c8e4402c /lib | |
parent | 2efd7a5e0b672eafb40fea74da434590f0362e66 (diff) | |
download | spack-86d39255ecd2260fd3fbe015986c855403c17f48.tar.gz spack-86d39255ecd2260fd3fbe015986c855403c17f48.tar.bz2 spack-86d39255ecd2260fd3fbe015986c855403c17f48.tar.xz spack-86d39255ecd2260fd3fbe015986c855403c17f48.zip |
Explained url_for_version()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/package.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py index ff8c8e96bc..8c1204402a 100644 --- a/lib/spack/spack/package.py +++ b/lib/spack/spack/package.py @@ -143,8 +143,10 @@ class Package(object): informational URL, so that users know what they're installing. - url - URL of the source archive that spack will fetch. + url or url_for_version(self, version) + If url, then the URL of the source archive that spack will fetch. + If url_for_version(), then a method returning the URL required + to fetch a particular version. install() This function tells spack how to build and install the |