diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-11-29 15:00:44 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-29 15:00:44 -0600 |
commit | ab98ef17659c413a2eede4106574400a6e4e0ec5 (patch) | |
tree | 4aa948e39792e56298057b794c2eee2158476b34 /var/spack/repos/builtin/packages/vcftools/package.py | |
parent | 92ca63990505ba700cde99b2c5cfe80b880cbd8e (diff) | |
download | spack-ab98ef17659c413a2eede4106574400a6e4e0ec5.tar.gz spack-ab98ef17659c413a2eede4106574400a6e4e0ec5.tar.bz2 spack-ab98ef17659c413a2eede4106574400a6e4e0ec5.tar.xz spack-ab98ef17659c413a2eede4106574400a6e4e0ec5.zip |
Mass conversion of setup_(dependent_)?environment (#13924)
* Mass conversion of setup_(dependent_)?environment
* prefix -> self.prefix
Diffstat (limited to 'var/spack/repos/builtin/packages/vcftools/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/vcftools/package.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/vcftools/package.py b/var/spack/repos/builtin/packages/vcftools/package.py index 5368ddd931..5756d8457c 100644 --- a/var/spack/repos/builtin/packages/vcftools/package.py +++ b/var/spack/repos/builtin/packages/vcftools/package.py @@ -23,7 +23,7 @@ class Vcftools(AutotoolsPackage): depends_on('perl', type=('build', 'run')) depends_on('zlib') - # this needs to be in sync with what setup_environment adds to + # this needs to be in sync with what setup_run_environment adds to # PERL5LIB below def configure_args(self): return ['--with-pmdir={0}'.format(self.prefix.lib)] @@ -51,5 +51,5 @@ class Vcftools(AutotoolsPackage): kwargs = {'ignore_absent': True, 'backup': False, 'string': False} filter_file(match, substitute, *files, **kwargs) - def setup_environment(self, spack_env, run_env): - run_env.prepend_path('PERL5LIB', self.prefix.lib) + def setup_run_environment(self, env): + env.prepend_path('PERL5LIB', self.prefix.lib) |