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

23 lines
943 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 RFormula(RPackage):
"""Infrastructure for extended formulas with multiple parts on the right-hand
side and/or multiple responses on the left-hand side."""
homepage = "https://cloud.r-project.org/package=Formula"
url = "https://cloud.r-project.org/src/contrib/Formula_1.2-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/Formula"
version('1.2-3', sha256='1411349b20bd09611a9fd0ee6d15f780c758ad2b0e490e908facb49433823872')
version('1.2-2', sha256='8def4600fb7457d38db8083733477501b54528974aa216e4adf8871bff4aa429')
version('1.2-1', sha256='5db1ef55119b299c9d291e1c5c08e2d51b696303daf4e7295c38ff5fc428360a')
depends_on('r@2.0.0:', type=('build', 'run'))