flake8-related cleanup
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
# * have go depend on itself
|
# * have go depend on itself
|
||||||
# * have a sensible way to find gccgo without a dep on gcc
|
# * have a sensible way to find gccgo without a dep on gcc
|
||||||
|
|
||||||
|
|
||||||
class GoBootstrap(Package):
|
class GoBootstrap(Package):
|
||||||
"""Old C-bootstrapped go to bootstrap real go"""
|
"""Old C-bootstrapped go to bootstrap real go"""
|
||||||
homepage = "https://golang.org"
|
homepage = "https://golang.org"
|
||||||
@@ -48,4 +49,3 @@ def install(self, spec, prefix):
|
|||||||
|
|
||||||
def setup_environment(self, spack_env, run_env):
|
def setup_environment(self, spack_env, run_env):
|
||||||
spack_env.set('GOROOT_FINAL', self.spec.prefix)
|
spack_env.set('GOROOT_FINAL', self.spec.prefix)
|
||||||
|
|
||||||
|
|||||||
@@ -78,5 +78,3 @@ def setup_dependent_environment(self, spack_env, run_env, ext_spec):
|
|||||||
# Allow packages to find this when using module or dotkit
|
# Allow packages to find this when using module or dotkit
|
||||||
run_env.prepend_path('GOPATH', ':'.join(
|
run_env.prepend_path('GOPATH', ':'.join(
|
||||||
[ext_spec.prefix] + path_components))
|
[ext_spec.prefix] + path_components))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user