summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Davydov <davydden@gmail.com>2016-08-23 18:48:17 +0200
committerDenis Davydov <davydden@gmail.com>2016-08-23 18:48:17 +0200
commit52ae0ea0555d0d3ace32a2442e1da2ab1fd72669 (patch)
tree26fa87a1783c4486a1763833c49c14d6c6becee2
parentaca8576de4f92498ab15f2a8ca0b0409205520b4 (diff)
downloadspack-52ae0ea0555d0d3ace32a2442e1da2ab1fd72669.tar.gz
spack-52ae0ea0555d0d3ace32a2442e1da2ab1fd72669.tar.bz2
spack-52ae0ea0555d0d3ace32a2442e1da2ab1fd72669.tar.xz
spack-52ae0ea0555d0d3ace32a2442e1da2ab1fd72669.zip
trilinos: use version.dashed
-rw-r--r--var/spack/repos/builtin/packages/trilinos/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py
index 6537b1c2cf..3a88f67340 100644
--- a/var/spack/repos/builtin/packages/trilinos/package.py
+++ b/var/spack/repos/builtin/packages/trilinos/package.py
@@ -58,7 +58,7 @@ class Trilinos(Package):
def url_for_version(self, version):
return '%s/trilinos-release-%s.tar.gz' % \
- (Trilinos.base_url, str(version).replace('.', '-'))
+ (Trilinos.base_url, version.dashed)
variant('metis', default=True,
description='Compile with METIS and ParMETIS')