summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2021-06-07 10:10:46 -0500
committerGitHub <noreply@github.com>2021-06-07 17:10:46 +0200
commit004f86aab70cc0ca0bbc7d111a1c8359e885b6a7 (patch)
treedda110632d161ca3072bf007b7a3deb01387103b /var
parentc01730e33b1b7d537d915403a02532ea3bca26c7 (diff)
downloadspack-004f86aab70cc0ca0bbc7d111a1c8359e885b6a7.tar.gz
spack-004f86aab70cc0ca0bbc7d111a1c8359e885b6a7.tar.bz2
spack-004f86aab70cc0ca0bbc7d111a1c8359e885b6a7.tar.xz
spack-004f86aab70cc0ca0bbc7d111a1c8359e885b6a7.zip
r-rpostgres: add new package (#22442)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-rpostgres/package.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-rpostgres/package.py b/var/spack/repos/builtin/packages/r-rpostgres/package.py
new file mode 100644
index 0000000000..196f4565c3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-rpostgres/package.py
@@ -0,0 +1,30 @@
+# 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 RRpostgres(RPackage):
+ """'Rcpp' Interface to 'PostgreSQL'
+
+ Fully 'DBI'-compliant 'Rcpp'-backed interface to 'PostgreSQL'
+ <https://www.postgresql.org/>, an open-source relational database."""
+
+ homepage = "https://rpostgres.r-dbi.org/"
+ cran = "RPostgres"
+
+ version('1.3.1', sha256='f68ab095567317ec32d3faa10e5bcac400aee5aeca8d7132260d4e90f82158ea')
+
+ depends_on('r@3.1.0:', type=('build', 'run'))
+ depends_on('r-bit64', type=('build', 'run'))
+ depends_on('r-blob@1.2.0:', type=('build', 'run'))
+ depends_on('r-dbi@1.1.0:', type=('build', 'run'))
+ depends_on('r-hms@0.5.0:', type=('build', 'run'))
+ depends_on('r-lubridate', type=('build', 'run'))
+ depends_on('r-rcpp@0.11.4.2:', type=('build', 'run'))
+ depends_on('r-withr', type=('build', 'run'))
+ depends_on('r-bh', type=('build', 'run'))
+ depends_on('r-plogr@0.2.0:', type=('build', 'run'))
+ depends_on('postgresql@9.0:')