diff options
author | Justin S <3630356+codeandkey@users.noreply.github.com> | 2020-10-13 23:05:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-13 23:05:43 -0500 |
commit | 721efc62d1f7132f2683ec0ceddc1735a57abd36 (patch) | |
tree | 15894bc0c906b63ab7091f98c1acbf5069339865 | |
parent | beeab6e1b99ee5756ea7f57131609ea03a85458b (diff) | |
download | spack-721efc62d1f7132f2683ec0ceddc1735a57abd36.tar.gz spack-721efc62d1f7132f2683ec0ceddc1735a57abd36.tar.bz2 spack-721efc62d1f7132f2683ec0ceddc1735a57abd36.tar.xz spack-721efc62d1f7132f2683ec0ceddc1735a57abd36.zip |
busco: add 4.1.3 (#19296)
-rw-r--r-- | var/spack/repos/builtin/packages/busco/package.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/busco/package.py b/var/spack/repos/builtin/packages/busco/package.py index fec0761deb..a485dfabfe 100644 --- a/var/spack/repos/builtin/packages/busco/package.py +++ b/var/spack/repos/builtin/packages/busco/package.py @@ -14,6 +14,8 @@ class Busco(PythonPackage): url = "https://gitlab.com/api/v4/projects/ezlab%2Fbusco/repository/archive.tar.gz?sha=2.0.1" git = "https://gitlab.com/ezlab/busco.git" + version('4.1.3', sha256='08ded26aeb4f6aef791cd88524c3c00792a054c7672ea05219f468d495e7b072') + # TODO: check the installation procedure for version 3.0.2 # and uncomment the following line # version('3.0.2', sha256='dbea093315b766b0f7c4fe3cafbbdf51ade79ec84bde04f1f437b48333200f34') @@ -27,11 +29,18 @@ class Busco(PythonPackage): depends_on('hmmer') depends_on('augustus') + depends_on('py-biopython', when='@4.1.3', type=('build', 'run')) + def build(self, spec, prefix): if self.spec.satisfies('@2.0.1'): pass def install(self, spec, prefix): + if self.spec.satisfies('@4.1.3'): + install_tree('bin', prefix.bin) + install_tree('config', prefix.config) + args = self.install_args(spec, prefix) + self.setup_py('install', *args) if self.spec.satisfies('@3.0.1'): with working_dir('scripts'): mkdirp(prefix.bin) |