diff options
author | alalazo <massimiliano.culpo@googlemail.com> | 2016-06-08 16:33:49 +0200 |
---|---|---|
committer | alalazo <massimiliano.culpo@googlemail.com> | 2016-06-08 16:33:49 +0200 |
commit | 564483936f32abfd5ee79dea6263af4bd6e9bb9d (patch) | |
tree | f0b0913dbd8e5772474d275d71a761b30d04302c /var/spack/repos/builtin/packages/lmod | |
parent | 4a61efe641c9bf987a62bff729334c7cce3f141b (diff) | |
download | spack-564483936f32abfd5ee79dea6263af4bd6e9bb9d.tar.gz spack-564483936f32abfd5ee79dea6263af4bd6e9bb9d.tar.bz2 spack-564483936f32abfd5ee79dea6263af4bd6e9bb9d.tar.xz spack-564483936f32abfd5ee79dea6263af4bd6e9bb9d.zip |
qa : fixed flake8 issues
Diffstat (limited to 'var/spack/repos/builtin/packages/lmod')
-rw-r--r-- | var/spack/repos/builtin/packages/lmod/package.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/lmod/package.py b/var/spack/repos/builtin/packages/lmod/package.py index e50c2cfc4b..7d75866d52 100644 --- a/var/spack/repos/builtin/packages/lmod/package.py +++ b/var/spack/repos/builtin/packages/lmod/package.py @@ -34,7 +34,7 @@ class Lmod(Package): variable. Modulefiles for Library packages provide environment variables that specify where the library and header files can be found. """ - homepage = 'https://www.tacc.utexas.edu/research-development/tacc-projects/lmod' + homepage = 'https://www.tacc.utexas.edu/research-development/tacc-projects/lmod' # NOQA: ignore=E501 url = 'https://github.com/TACC/Lmod/archive/6.4.1.tar.gz' version('6.4.1', '7978ba777c8aa41a4d8c05fec5f780f4') @@ -48,8 +48,10 @@ class Lmod(Package): parallel = False def setup_environment(self, spack_env, run_env): - stage_lua_path = join_path(self.stage.path, 'Lmod-{version}', 'src', '?.lua') - spack_env.append_path('LUA_PATH', stage_lua_path.format(version=self.version), separator=';') + stage_lua_path = join_path( + self.stage.path, 'Lmod-{version}', 'src', '?.lua') + spack_env.append_path('LUA_PATH', stage_lua_path.format( + version=self.version), separator=';') def install(self, spec, prefix): configure('--prefix=%s' % prefix) |