spack/var/spack/repos/builtin/packages/r-lava/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

24 lines
1019 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 RLava(RPackage):
"""Estimation and simulation of latent variable models."""
homepage = "https://cloud.r-project.org/package=lava"
url = "https://cloud.r-project.org/src/contrib/lava_1.4.7.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/lava"
version('1.6.6', sha256='7abc84dd99cce450a45ac4f232812cde3a322e432da3472f43b057fb5c59ca59')
version('1.6.4', sha256='41c6eeb96eaef9e1bfb04b31f7203e250a5ea7e7860be4d95f7f96f2a8644718')
version('1.4.7', sha256='d5cbd4835a94855478efb93051eece965db116ead203f4dd4e09d9a12d52f4bf')
depends_on('r@3.0:', type=('build', 'run'))
depends_on('r-numderiv', type=('build', 'run'))
depends_on('r-survival', type=('build', 'run'))
depends_on('r-squarem', when='@1.6.0:', type=('build', 'run'))