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

27 lines
1.2 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 RRobustbase(RPackage):
""""Essential" Robust Statistics. Tools allowing to analyze data
with robust methods. This includes regression methodology
including model selections and multivariate statistics where we
strive to cover the book "Robust Statistics, Theory and Methods"
by 'Maronna, Martin and Yohai'; Wiley 2006."""
homepage = "https://robustbase.r-forge.r-project.org"
url = "https://cloud.r-project.org/src/contrib/robustbase_0.92-7.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/robustbase"
version('0.93-5', sha256='bde564dbd52f04ab32f9f2f9dd09b9578f3ccd2541cf5f8ff430da42a55e7f56')
version('0.93-4', sha256='ea9e03d484ef52ea805803477ffc48881e4c8c86ffda4eea56109f8b23f0a6e0')
version('0.92-7', sha256='fcbd6ccbb0291b599fe6a674a91344511e0a691b9cadba0a9d40037faa22bf8f')
depends_on('r@3.0.2:', when='@:0.93-1.1', type=('build', 'run'))
depends_on('r@3.1.0:', when='@0.93-2:', type=('build', 'run'))
depends_on('r-deoptimr', type=('build', 'run'))