busco: add 4.1.3 (#19296)
This commit is contained in:
parent
beeab6e1b9
commit
721efc62d1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user