
We'd like to use a consistent checksum scheme everywhere so that we can: a) incorporate archive checksums into our specs and have a consistent hashing algorithm across all specs. b) index mirrors with a consistent type of checksum, and not one that is dependent on how spack packages are written. - [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
31 lines
1.0 KiB
Python
31 lines
1.0 KiB
Python
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
from spack import *
|
|
|
|
|
|
class Infernal(AutotoolsPackage):
|
|
"""Infernal (INFERence of RNA ALignment) is for searching DNA sequence
|
|
databases for RNA structure and sequence similarities. It is an
|
|
implementation of a special case of profile stochastic context-free
|
|
grammars called covariance models (CMs)."""
|
|
|
|
homepage = "http://eddylab.org/infernal/"
|
|
url = "http://eddylab.org/infernal/infernal-1.1.2.tar.gz"
|
|
|
|
version('1.1.2', sha256='ac8c24f484205cfb7124c38d6dc638a28f2b9035b9433efec5dc753c7e84226b')
|
|
|
|
variant('mpi', default=False, description='Enable MPI parallel support')
|
|
|
|
depends_on('mpi', when='+mpi')
|
|
|
|
def configure_args(self):
|
|
args = []
|
|
if '+mpi' in self.spec:
|
|
args.append('--enable-mpi')
|
|
else:
|
|
args.append('--disable-mpi')
|
|
return args
|