diff options
author | Justin S <3630356+codeandkey@users.noreply.github.com> | 2020-01-14 17:47:48 -0600 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2020-01-14 17:47:48 -0600 |
commit | 4b1c356a27adc68e62d801986e67ef60336685db (patch) | |
tree | ff0e8889a7b9224d380960c9ff1256b611adeb6e /var | |
parent | ae6afaf8e10e19f2d4e70d22c0be86e6276b60ff (diff) | |
download | spack-4b1c356a27adc68e62d801986e67ef60336685db.tar.gz spack-4b1c356a27adc68e62d801986e67ef60336685db.tar.bz2 spack-4b1c356a27adc68e62d801986e67ef60336685db.tar.xz spack-4b1c356a27adc68e62d801986e67ef60336685db.zip |
trnascan-se: add and configure infernal dependency (#14502)
* trnascan-se: add and configure infernal dep
* trnascan-se: use patch() for infernal config
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/trnascan-se/package.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/trnascan-se/package.py b/var/spack/repos/builtin/packages/trnascan-se/package.py index 8a3eea7ab6..cad1a15e90 100644 --- a/var/spack/repos/builtin/packages/trnascan-se/package.py +++ b/var/spack/repos/builtin/packages/trnascan-se/package.py @@ -13,3 +13,10 @@ class TrnascanSe(AutotoolsPackage): url = "http://trna.ucsc.edu/software/trnascan-se-2.0.0.tar.gz" version('2.0.0', sha256='0dde1c07142e4bf77b21d53ddf3eeb1ef8c52248005a42323d13f8d7c798100c') + + depends_on('infernal@1.1.2', type='run', when='@2.0.0') + + def patch(self): + filter_file('infernal_dir: {bin_dir}', + 'infernal_dir: %s' % self.spec['infernal'].prefix.bin, + 'tRNAscan-SE.conf.src', string=True) |