flake8-related cleanup
This commit is contained in:
parent
af4af94203
commit
80c02ad36a
@ -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))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user