Mass conversion of setup_(dependent_)?environment (#13924)

* Mass conversion of setup_(dependent_)?environment

* prefix -> self.prefix
This commit is contained in:
Adam J. Stewart
2019-11-29 15:00:44 -06:00
committed by GitHub
parent 92ca639905
commit ab98ef1765
188 changed files with 814 additions and 826 deletions

View File

@@ -35,6 +35,6 @@ def url_for_version(self, version):
url = 'http://ftp.gnome.org/pub/gnome/sources/at-spi2-core'
return url + '/%s/at-spi2-core-%s.tar.xz' % (version.up_to(2), version)
def setup_environment(self, spack_env, run_env):
def setup_build_environment(self, env):
# this avoids an "import site" error in the build
spack_env.unset('PYTHONHOME')
env.unset('PYTHONHOME')