diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2022-07-30 15:19:18 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2022-07-31 13:29:20 -0700 |
commit | f52f6e99dbf1131886a80112b8c79dfc414afb7c (patch) | |
tree | 05cb7d64b2395922f2f24683da49f472075be12c /var/spack/repos/builtin/packages/autofact/package.py | |
parent | 549ba1ed32372c67fc57271cde3797d58b7dec6e (diff) | |
download | spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.gz spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.bz2 spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.xz spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.zip |
black: reformat entire repository with black
Diffstat (limited to 'var/spack/repos/builtin/packages/autofact/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/autofact/package.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/var/spack/repos/builtin/packages/autofact/package.py b/var/spack/repos/builtin/packages/autofact/package.py index 28a14f39b2..bbab2e229c 100644 --- a/var/spack/repos/builtin/packages/autofact/package.py +++ b/var/spack/repos/builtin/packages/autofact/package.py @@ -12,26 +12,26 @@ class Autofact(Package): """An Automatic Functional Annotation and Classification Tool""" homepage = "https://megasun.bch.umontreal.ca/Software/AutoFACT.htm" - url = "https://megasun.bch.umontreal.ca/Software/AutoFACT_v3_4.tar" + url = "https://megasun.bch.umontreal.ca/Software/AutoFACT_v3_4.tar" - version('3_4', sha256='1465d263b19adb42f01f6e636ac40ef1c2e3dbd63461f977b89da9493fe9c6f4') + version("3_4", sha256="1465d263b19adb42f01f6e636ac40ef1c2e3dbd63461f977b89da9493fe9c6f4") - depends_on('perl', type='run') - depends_on('perl-bioperl', type='run') - depends_on('perl-io-string', type='run') - depends_on('perl-libwww-perl', type='run') - depends_on('blast-legacy', type='run') + depends_on("perl", type="run") + depends_on("perl-bioperl", type="run") + depends_on("perl-io-string", type="run") + depends_on("perl-libwww-perl", type="run") + depends_on("blast-legacy", type="run") def patch(self): - with working_dir('scripts'): + with working_dir("scripts"): files = glob.iglob("*.pl") for file in files: change = FileFilter(file) - change.filter('usr/bin/perl', 'usr/bin/env perl') + change.filter("usr/bin/perl", "usr/bin/env perl") def install(self, spec, prefix): install_tree(self.stage.source_path, prefix) def setup_run_environment(self, env): - env.prepend_path('PATH', self.prefix.scripts) - env.set('PATH2AUTOFACT', self.prefix) + env.prepend_path("PATH", self.prefix.scripts) + env.set("PATH2AUTOFACT", self.prefix) |