diff options
author | Elizabeth F <rpf2116@columbia.edu> | 2016-04-01 16:36:31 -0400 |
---|---|---|
committer | citibeth <rpf2116@columbia.edu> | 2016-04-01 16:38:02 -0400 |
commit | e4f7b78e9b4ddf1d4fd7dac4782068f07626d9e0 (patch) | |
tree | 62ee0ff64a12c33fcc0d0ad1cd7d45ab943d3f90 /var | |
parent | d4e6b15d981a6bad77cb6f36cdc3a41adf05525b (diff) | |
download | spack-e4f7b78e9b4ddf1d4fd7dac4782068f07626d9e0.tar.gz spack-e4f7b78e9b4ddf1d4fd7dac4782068f07626d9e0.tar.bz2 spack-e4f7b78e9b4ddf1d4fd7dac4782068f07626d9e0.tar.xz spack-e4f7b78e9b4ddf1d4fd7dac4782068f07626d9e0.zip |
Fixed tk, and used uverridden url_for_version().
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/tcl/package.py | 12 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/tk/package.py | 4 |
2 files changed, 10 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/tcl/package.py b/var/spack/repos/builtin/packages/tcl/package.py index c2cb09ab46..db8bee88d0 100644 --- a/var/spack/repos/builtin/packages/tcl/package.py +++ b/var/spack/repos/builtin/packages/tcl/package.py @@ -9,12 +9,14 @@ class Tcl(Package): that is truly cross platform, easily deployed and highly extensible.""" homepage = "http://www.tcl.tk" - urlpat = 'http://prdownloads.sourceforge.net/tcl/tcl%s-src.tar.gz' - version('8.6.5', '0e6426a4ca9401825fbc6ecf3d89a326', url=urlpat%'8.6.5') - version('8.6.4', 'd7cbb91f1ded1919370a30edd1534304', url=urlpat%'8.6.4') - version('8.6.3', 'db382feca91754b7f93da16dc4cdad1f', url=urlpat%'8.6.3') - version('8.5.19', '0e6426a4ca9401825fbc6ecf3d89a326', url=urlpat%'8.6.5') + def url_for_version(self, version): + return 'http://prdownloads.sourceforge.net/tcl/tcl%s-src.tar.gz' % version + + version('8.6.5', '0e6426a4ca9401825fbc6ecf3d89a326') + version('8.6.4', 'd7cbb91f1ded1919370a30edd1534304') + version('8.6.3', 'db382feca91754b7f93da16dc4cdad1f') + version('8.5.19', '0e6426a4ca9401825fbc6ecf3d89a326') depends_on('zlib') diff --git a/var/spack/repos/builtin/packages/tk/package.py b/var/spack/repos/builtin/packages/tk/package.py index 6da0a423a9..839d217f34 100644 --- a/var/spack/repos/builtin/packages/tk/package.py +++ b/var/spack/repos/builtin/packages/tk/package.py @@ -8,7 +8,9 @@ class Tk(Package): applications that run unchanged across Windows, Mac OS X, Linux and more.""" homepage = "http://www.tcl.tk" - url = "http://prdownloads.sourceforge.net/tcl/tk8.6.3-src.tar.gz" + + def url_for_version(self, version): + return "http://prdownloads.sourceforge.net/tcl/tk%s-src.tar.gz" % version version('8.6.3', '85ca4dbf4dcc19777fd456f6ee5d0221') |