From 54bab50b4716e41f7dc9e1efaeb78d6ea95f7a2f Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Sun, 17 Jan 2021 13:49:36 -0600 Subject: [PATCH] new package: r-gitcreds (#21022) Query, set, delete credentials from the 'git' credential store. Manage 'GitHub' tokens and other 'git' credentials. This package is to be used by other packages that need to authenticate to 'GitHub' and/or other 'git' repositories. --- .../builtin/packages/r-gitcreds/package.py | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-gitcreds/package.py diff --git a/var/spack/repos/builtin/packages/r-gitcreds/package.py b/var/spack/repos/builtin/packages/r-gitcreds/package.py new file mode 100644 index 0000000000..1760cd89c5 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-gitcreds/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2021 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 RGitcreds(RPackage): + """Query 'git' Credentials from 'R' + + Query, set, delete credentials from the 'git' credential store. Manage + 'GitHub' tokens and other 'git' credentials. This package is to be used by + other packages that need to authenticate to 'GitHub' and/or other 'git' + repositories.""" + + homepage = "https://github.com/r-lib/gitcreds" + url = "https://cloud.r-project.org/src/contrib/gitcreds_0.1.1.tar.gz" + list_url = "https://cloud.r-project.org/src/contrib/Archive/gitcreds" + + version('0.1.1', sha256='b14aaf4e910a9d2d6c65c93e645f0b0159c00898e669f917f83c03dfedb1dfea') + + depends_on('git', type='run')