diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/blast-legacy/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/blast-legacy/package.py | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/var/spack/repos/builtin/packages/blast-legacy/package.py b/var/spack/repos/builtin/packages/blast-legacy/package.py index fdb4b2d456..23f0e2a29f 100644 --- a/var/spack/repos/builtin/packages/blast-legacy/package.py +++ b/var/spack/repos/builtin/packages/blast-legacy/package.py @@ -10,28 +10,31 @@ from spack.package import * class BlastLegacy(Package): """Legacy NCBI BLAST distribution -- no longer supported. - Contains older programs including `blastall'""" + Contains older programs including `blastall'""" homepage = "https://www.ncbi.nlm.nih.gov/" - url = "ftp://ftp.ncbi.nlm.nih.gov/blast/executables/legacy.NOTSUPPORTED/2.2.26/ncbi.tar.gz" + url = "ftp://ftp.ncbi.nlm.nih.gov/blast/executables/legacy.NOTSUPPORTED/2.2.26/ncbi.tar.gz" - version('2.2.26', sha256='d8fffac25efc8ca894c707c840a4797a8a949ae6fd983d2f91c9972f788efb7d', deprecated=True) + version( + "2.2.26", + sha256="d8fffac25efc8ca894c707c840a4797a8a949ae6fd983d2f91c9972f788efb7d", + deprecated=True, + ) - depends_on('tcsh', type='build') + depends_on("tcsh", type="build") def install(self, spec, prefix): - filter_file('/bin/csh -f', '/usr/bin/env tcsh', 'make/ln-if-absent', - string=True) + filter_file("/bin/csh -f", "/usr/bin/env tcsh", "make/ln-if-absent", string=True) - symlink(self.stage.source_path, '../ncbi') - tcsh = which('tcsh') - with working_dir('..'): - tcsh('./ncbi/make/makedis.csh') + symlink(self.stage.source_path, "../ncbi") + tcsh = which("tcsh") + with working_dir(".."): + tcsh("./ncbi/make/makedis.csh") # depends on local data in the source tree - install_path = join_path(prefix, 'usr/local/blast-legacy') + install_path = join_path(prefix, "usr/local/blast-legacy") mkdirp(install_path) - install_tree('.', install_path) + install_tree(".", install_path) # symlink build output with binaries - symlink(join_path(install_path, 'build'), prefix.bin) + symlink(join_path(install_path, "build"), prefix.bin) |