summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2021-01-17 13:48:55 -0600
committerGitHub <noreply@github.com>2021-01-17 13:48:55 -0600
commit92950199281e6e95712979f22abb7c53bb75e11e (patch)
tree0725b9ad59912087cd59cbeaad307b1b4706a00b
parentce14d627a63155fe0a1806d7798d0de1001a2d79 (diff)
downloadspack-92950199281e6e95712979f22abb7c53bb75e11e.tar.gz
spack-92950199281e6e95712979f22abb7c53bb75e11e.tar.bz2
spack-92950199281e6e95712979f22abb7c53bb75e11e.tar.xz
spack-92950199281e6e95712979f22abb7c53bb75e11e.zip
add version 0.9.0 to r-gistr (#21023)
-rw-r--r--var/spack/repos/builtin/packages/r-gistr/package.py20
1 files changed, 14 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/r-gistr/package.py b/var/spack/repos/builtin/packages/r-gistr/package.py
index 9f3783397f..06742cdd61 100644
--- a/var/spack/repos/builtin/packages/r-gistr/package.py
+++ b/var/spack/repos/builtin/packages/r-gistr/package.py
@@ -8,22 +8,30 @@ 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."""
+ """Work with 'GitHub' 'Gists'
+
+ Work with 'GitHub' 'gists' from 'R' (e.g.,
+ <https://en.wikipedia.org/wiki/GitHub#Gist>,
+ <https://docs.github.com/en/github/writing-on-github/creating-gists/>). A
+ 'gist' is simply one or more files with code/text/images/etc. 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.
+ 'Gists' website: <https://gist.github.com/>."""
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.9.0', sha256='170ae025151ee688e7d31b9e49112086a8ddf4fef10155e9ee289ad7f28c8929')
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-crul', when='@0.9.0:', 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'))