spack/var/spack/repos/builtin/packages/r-learnbayes/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
1.1 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 RLearnbayes(RPackage):
"""LearnBayes contains a collection of functions helpful in learning the
basic tenets of Bayesian statistical inference. It contains functions for
summarizing basic one and two parameter posterior distributions and
predictive distributions. It contains MCMC algorithms for summarizing
posterior distributions defined by the user. It also contains functions
for regression models, hierarchical models, Bayesian tests, and
illustrations of Gibbs sampling."""
homepage = "https://cloud.r-project.org/package=LearnBayes"
url = "https://cloud.r-project.org/src/contrib/LearnBayes_2.15.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/LearnBayes"
version('2.15.1', sha256='9b110858456523ca0b2a63f22013c4e1fbda6674b9d84dc1f4de8bffc5260532')
version('2.15', sha256='45c91114b4aaa0314feeb4311dbe78f5b75a3b76bb2d1ca0f8adb2e0f1cbe233')