spack/var/spack/repos/builtin/packages/probconsrna/package.py
Todd Gamblin 62927654dd checksums: use sha256 checksums everywhere
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
2019-10-12 07:19:43 -07:00

26 lines
885 B
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 Probconsrna(Package):
"""Experimental version of PROBCONS with parameters estimated via
unsupervised training on BRAliBASE """
homepage = "http://probcons.stanford.edu/"
url = "http://probcons.stanford.edu/probconsRNA.tar.gz"
version('2005-6-7', sha256='7fe4494bd423db1d5f33f5ece2c70f9f66a0d9112e28d3eaa7dfdfe7fa66eba8')
def install(self, build, prefix):
mkdirp(prefix.bin)
install('compare', prefix.bin)
install('makegnuplot', prefix.bin)
install('probcons', prefix.bin)
# needed for tcoffee
install('probcons', prefix.bin.probconsRNA)
install('project', prefix.bin)