summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Flood <simonflood@users.noreply.github.com>2018-07-26 16:07:55 +0100
committerAdam J. Stewart <ajstewart426@gmail.com>2018-07-26 10:07:55 -0500
commit80741bc4275cadb9b78bf64faead6d8f44424a85 (patch)
treebe346feaf27e455d68e3d8c2ff02fccb95bc4148
parent643a4fbb5995034a7ecdee6f35bd72376bf439e0 (diff)
downloadspack-80741bc4275cadb9b78bf64faead6d8f44424a85.tar.gz
spack-80741bc4275cadb9b78bf64faead6d8f44424a85.tar.bz2
spack-80741bc4275cadb9b78bf64faead6d8f44424a85.tar.xz
spack-80741bc4275cadb9b78bf64faead6d8f44424a85.zip
hmmer: added version 3.2.1 & updated URL (#8787)
Add HMMER 3.2.1 and updated URL then removed url_for_version function as no longer required - all HMMER downloads available from updated URL.
-rw-r--r--var/spack/repos/builtin/packages/hmmer/package.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/hmmer/package.py b/var/spack/repos/builtin/packages/hmmer/package.py
index e38dfc80bb..1eea95c75f 100644
--- a/var/spack/repos/builtin/packages/hmmer/package.py
+++ b/var/spack/repos/builtin/packages/hmmer/package.py
@@ -31,8 +31,9 @@ class Hmmer(Package):
probabilistic models called profile hidden Markov models (profile HMMs).
"""
homepage = 'http://www.hmmer.org'
- url = 'http://eddylab.org/software/hmmer3/3.1b2/hmmer-3.1b2.tar.gz'
+ url = 'http://eddylab.org/software/hmmer/hmmer-3.2.1.tar.gz'
+ version('3.2.1', '4e0ad5ed45462d4e36807d21e6d82b69')
version('3.1b2', 'c8c141018bc0ccd7fc37b33f2b945d5f')
version('3.0', '4cf685f3bc524ba5b5cdaaa070a83588')
version('2.4i', 'dab234c87e026ac1de942450750acd20')
@@ -45,14 +46,6 @@ class Hmmer(Package):
depends_on('mpi', when='+mpi')
depends_on('gsl', when='+gsl')
- def url_for_version(self, version):
- base_url = 'http://eddylab.org/software'
-
- if version >= Version('3.0'):
- return '{0}/hmmer3/{1}/hmmer-{1}.tar.gz'.format(base_url, version)
- else:
- return '{0}/hmmer/{1}/hmmer-{1}.tar.gz'.format(base_url, version)
-
def install(self, spec, prefix):
configure_args = [
'--prefix={0}'.format(prefix)