summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeetsv <32349688+peetsv@users.noreply.github.com>2017-11-27 15:45:43 -0800
committerChristoph Junghans <christoph.junghans@gmail.com>2017-11-27 16:45:43 -0700
commit52f46d2beeee93c0a7f12e304855843d0e6d03cc (patch)
tree018302891d8a4d6e006bc80c186d612aaefa3e52
parente2abebe8a5b07141cefa3a881f148fe986ea6cae (diff)
downloadspack-52f46d2beeee93c0a7f12e304855843d0e6d03cc.tar.gz
spack-52f46d2beeee93c0a7f12e304855843d0e6d03cc.tar.bz2
spack-52f46d2beeee93c0a7f12e304855843d0e6d03cc.tar.xz
spack-52f46d2beeee93c0a7f12e304855843d0e6d03cc.zip
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
-rw-r--r--var/spack/repos/builtin/packages/viennarna/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/viennarna/package.py b/var/spack/repos/builtin/packages/viennarna/package.py
index c3fad661db..79c8ff28bc 100644
--- a/var/spack/repos/builtin/packages/viennarna/package.py
+++ b/var/spack/repos/builtin/packages/viennarna/package.py
@@ -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 @@ class Viennarna(AutotoolsPackage):
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')