Flake8 formatting changes

This commit is contained in:
Adam J. Stewart
2016-05-10 16:40:46 -05:00
parent ee7ec4fa66
commit 5879f8207f
5 changed files with 28 additions and 21 deletions

View File

@@ -1,5 +1,6 @@
from spack import *
class AllineaForge(Package):
"""Allinea Forge is the complete toolsuite for software development - with
everything needed to debug, profile, optimize, edit and build C, C++ and
@@ -17,13 +18,11 @@ class AllineaForge(Package):
license_vars = ['ALLINEA_LICENCE_FILE', 'ALLINEA_LICENSE_FILE']
license_url = 'http://www.allinea.com/user-guide/forge/Installation.html'
def url_for_version(self, version):
# TODO: add support for other architectures/distributions
url = "http://content.allinea.com/downloads/"
return url + "allinea-forge-%s-Redhat-6.0-x86_64.tar" % version
def install(self, spec, prefix):
textinstall = which('textinstall.sh')
textinstall('--accept-licence', prefix)