summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2016-07-11 11:42:36 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2016-08-01 13:35:21 -0500
commit5b1a882fc22483ed4cbc7ac993dea6babff358d1 (patch)
tree08f50261868fb70ce4e4039a96104d102c59d228
parenta2578c21e4a96e7734981570675dfb85cde74e93 (diff)
downloadspack-5b1a882fc22483ed4cbc7ac993dea6babff358d1.tar.gz
spack-5b1a882fc22483ed4cbc7ac993dea6babff358d1.tar.bz2
spack-5b1a882fc22483ed4cbc7ac993dea6babff358d1.tar.xz
spack-5b1a882fc22483ed4cbc7ac993dea6babff358d1.zip
Update meep's url_for_version
-rw-r--r--var/spack/repos/builtin/packages/meep/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/meep/package.py b/var/spack/repos/builtin/packages/meep/package.py
index e651d80a0b..73ed09af05 100644
--- a/var/spack/repos/builtin/packages/meep/package.py
+++ b/var/spack/repos/builtin/packages/meep/package.py
@@ -32,6 +32,7 @@ class Meep(Package):
homepage = "http://ab-initio.mit.edu/wiki/index.php/Meep"
version('1.3', '18a5b9e18008627a0411087e0bb60db5')
+ version('1.2.1', '9be2e743c3a832ae922de9d955d016c5')
version('1.1.1', '415e0cd312b6caa22b5dd612490e1ccf')
variant('blas', default=True, description='Enable BLAS support')
@@ -55,7 +56,7 @@ class Meep(Package):
def url_for_version(self, version):
base_url = "http://ab-initio.mit.edu/meep"
- if version == Version('1.3'):
+ if version > Version('1.1.1'):
return "{0}/meep-{1}.tar.gz".format(base_url, version)
else:
return "{0}/old/meep-{1}.tar.gz".format(base_url, version)