diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2021-03-22 06:47:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-22 12:47:21 +0100 |
commit | d203456790b0b7516f0ef7969f13fe7acec8c4f3 (patch) | |
tree | f95f3286bd3525dcdafb848b73ea553839a0d354 | |
parent | c9043b62589ed275d6fafcb0efff214f37fd16b8 (diff) | |
download | spack-d203456790b0b7516f0ef7969f13fe7acec8c4f3.tar.gz spack-d203456790b0b7516f0ef7969f13fe7acec8c4f3.tar.bz2 spack-d203456790b0b7516f0ef7969f13fe7acec8c4f3.tar.xz spack-d203456790b0b7516f0ef7969f13fe7acec8c4f3.zip |
r-pool: new package (#22441)
-rw-r--r-- | var/spack/repos/builtin/packages/r-pool/package.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-pool/package.py b/var/spack/repos/builtin/packages/r-pool/package.py new file mode 100644 index 0000000000..5f0fd0fd0e --- /dev/null +++ b/var/spack/repos/builtin/packages/r-pool/package.py @@ -0,0 +1,24 @@ +# 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 RPool(RPackage): + """Object Pooling + + Enables the creation of object pools, which make it less computationally + expensive to fetch a new object. Currently the only supported pooled + objects are 'DBI' connections.""" + + homepage = "https://github.com/rstudio/pool" + cran = "pool" + + version('0.1.6', sha256='cdbe5f6c7f757c01893dc9870df0fb8d300829da0e427f6c2559b01caa52d9e1') + + depends_on('r@3.0.0:', type=('build', 'run')) + depends_on('r-dbi', type=('build', 'run')) + depends_on('r-r6', type=('build', 'run')) + depends_on('r-later@1.0.0:', type=('build', 'run')) |