summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/autofact/package.py
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-10-28 20:27:54 -0500
committerGitHub <noreply@github.com>2019-10-28 20:27:54 -0500
commit2264e30d99d8b9fbdec8fa69b594e53d8ced15a1 (patch)
treeb361d4d420ab2668be84cf27efb808d364a2abc1 /var/spack/repos/builtin/packages/autofact/package.py
parent4367e16740ccd39515ad75e86cce9f65ac46ca69 (diff)
downloadspack-2264e30d99d8b9fbdec8fa69b594e53d8ced15a1.tar.gz
spack-2264e30d99d8b9fbdec8fa69b594e53d8ced15a1.tar.bz2
spack-2264e30d99d8b9fbdec8fa69b594e53d8ced15a1.tar.xz
spack-2264e30d99d8b9fbdec8fa69b594e53d8ced15a1.zip
Update URL parsing regexes and tests (#13411)
* Update URL parsing regexes and tests * Get rid of no longer used README * Merge py-udunits and py-cf-units * netcdf -> netcdf-c * setup_environment -> setup_*_environment * Fix doc tests * Few last minute fixes * Simplify prefix removal copypasta
Diffstat (limited to 'var/spack/repos/builtin/packages/autofact/package.py')
-rw-r--r--var/spack/repos/builtin/packages/autofact/package.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/autofact/package.py b/var/spack/repos/builtin/packages/autofact/package.py
index a22af26671..44bb89bff1 100644
--- a/var/spack/repos/builtin/packages/autofact/package.py
+++ b/var/spack/repos/builtin/packages/autofact/package.py
@@ -16,9 +16,9 @@ class Autofact(Package):
version('3_4', sha256='1465d263b19adb42f01f6e636ac40ef1c2e3dbd63461f977b89da9493fe9c6f4')
depends_on('perl', type='run')
- depends_on('perl-bio-perl', type='run')
+ depends_on('perl-bioperl', type='run')
depends_on('perl-io-string', type='run')
- depends_on('perl-lwp', type='run')
+ depends_on('perl-libwww-perl', type='run')
depends_on('blast-legacy', type='run')
def patch(self):
@@ -31,6 +31,6 @@ class Autofact(Package):
def install(self, spec, prefix):
install_tree(self.stage.source_path, prefix)
- def setup_environment(self, spack_env, run_env):
- run_env.prepend_path('PATH', self.prefix.scripts)
- run_env.set('PATH2AUTOFACT', self.prefix)
+ def setup_run_environment(self, env):
+ env.prepend_path('PATH', self.prefix.scripts)
+ env.set('PATH2AUTOFACT', self.prefix)