ViennaRNA: adding version 2.4.3 + disable swig (#6408)

* Adding version 2.4.3 to ViennaRNA

* Replaced tab indent with spaces

Flake8 error correction

* no swig for viennarna v2.4.3 only

* correcting version/argument conditional syntax error
This commit is contained in:
peetsv 2017-11-27 15:45:43 -08:00 committed by Christoph Junghans
parent e2abebe8a5
commit 52f46d2bee

View File

@ -32,8 +32,9 @@ class Viennarna(AutotoolsPackage):
"""
homepage = "https://www.tbi.univie.ac.at/RNA/"
url = "https://www.tbi.univie.ac.at/RNA/download/sourcecode/2_3_x/ViennaRNA-2.3.5.tar.gz"
url = "https://www.tbi.univie.ac.at/RNA/download/sourcecode/2_4_x/ViennaRNA-2.4.3.tar.gz"
version('2.4.3', '41be2fd36a5323a35ed50debfc7bd118')
version('2.3.5', '4542120adae9b7abb605e2304c2a1326')
variant('sse', default=True, description='Enable SSE in order to substantially speed up execution')
@ -54,6 +55,8 @@ def configure_args(self):
args = self.enable_or_disable('sse')
args += self.with_or_without('python')
args += self.with_or_without('perl')
if self.spec.satisfies('@2.4.3:'):
args.append('--without-swig')
if 'python@3:' in self.spec:
args.append('--with-python3')