spack/var/spack/repos/builtin/packages/r-blob/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
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 RBlob(RPackage):
"""R's raw vector is useful for storing a single binary object.
What if you want to put a vector of them in a data frame? The blob
package provides the blob object, a list of raw vectors, suitable
for use as a column in data frame."""
homepage = "https://cloud.r-project.org/package=blob"
url = "https://cloud.r-project.org/src/contrib/blob_1.1.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/blob"
version('1.2.0', sha256='1af1cfa28607bc0e2f1f01598a00a7d5d1385ef160a9e79e568f30f56538e023')
version('1.1.0', sha256='16d6603df3ddba177f0ac4d9469c938f89131c4bf8834345db838defd9ffea16')
depends_on('r-tibble', when='@:1.1.0', type=('build', 'run'))
depends_on('r-prettyunits', when='@1.2.0:', type=('build', 'run'))
depends_on('r-rlang', when='@1.2.0:', type=('build', 'run'))
depends_on('r-vctrs@0.2.0:', when='@1.2.0:', type=('build', 'run'))