From 86d39255ecd2260fd3fbe015986c855403c17f48 Mon Sep 17 00:00:00 2001 From: Elizabeth F Date: Tue, 5 Apr 2016 10:53:44 -0400 Subject: [PATCH] Explained url_for_version() --- lib/spack/spack/package.py | 6 ++++-- 1 file 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 @@ def install(self, spec, prefix): 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