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

33 lines
1.5 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 RGistr(RPackage):
"""Work with 'GitHub' 'gists' from 'R'. This package allows the user to
create new 'gists', update 'gists' with new files, rename files, delete
files, get and delete 'gists', star and 'un-star' 'gists', fork 'gists',
open a 'gist' in your default browser, get embed code for a 'gist', list
'gist' 'commits', and get rate limit information when 'authenticated'. Some
requests require authentication and some do not."""
homepage = "https://github.com/ropensci/gistr"
url = "https://cloud.r-project.org/src/contrib/gistr_0.3.6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/gistr"
version('0.4.2', sha256='43c00c7f565732125f45f6c067724771ba1b337d6dd3a6e301639fe16e11032e')
version('0.4.0', sha256='51771a257379a17552d0c88ada72ca6263954bbe896997f8a66cde3bf0b83ce0')
version('0.3.6', sha256='ab22523b79510ec03be336e1d4600ec8a3a65afe57c5843621a4cf8f966b52e5')
depends_on('r-jsonlite@1.4:', type=('build', 'run'))
depends_on('r-httr@1.2.0:', type=('build', 'run'))
depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-assertthat', type=('build', 'run'))
depends_on('r-knitr', type=('build', 'run'))
depends_on('r-rmarkdown', type=('build', 'run'))
depends_on('r-dplyr', type=('build', 'run'))