summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2021-01-18 12:54:35 -0600
committerGitHub <noreply@github.com>2021-01-18 12:54:35 -0600
commitb424dbfead848d2badbda8c60f47ad3f9dd7a77b (patch)
tree2cfe9dee90d3d7027f22d521065eb08ae2fc4fdf
parent563d93980407c9aafbfddca27f796fb2a76c9dbd (diff)
downloadspack-b424dbfead848d2badbda8c60f47ad3f9dd7a77b.tar.gz
spack-b424dbfead848d2badbda8c60f47ad3f9dd7a77b.tar.bz2
spack-b424dbfead848d2badbda8c60f47ad3f9dd7a77b.tar.xz
spack-b424dbfead848d2badbda8c60f47ad3f9dd7a77b.zip
new package: r-rcppdate (#21114)
'date' is a C++ header library offering extensive date and time functionality for the C++11, C++14 and C++17 standards written by Howard Hinnant and released under the MIT license. A slightly modified version has been accepted (along with 'tz.h') as part of C++20. This package regroups all header files from the upstream repository by Howard Hinnant so that other R packages can use them in their C++ code. At present, few of the types have explicit 'Rcpp' wrapper though these may be added as needed.
-rw-r--r--var/spack/repos/builtin/packages/r-rcppdate/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-rcppdate/package.py b/var/spack/repos/builtin/packages/r-rcppdate/package.py
new file mode 100644
index 0000000000..95d23bfcee
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-rcppdate/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 RRcppdate(RPackage):
+ """'date' C++ Header Library for Date and Time Functionality
+
+ 'date' is a C++ header library offering extensive date and time
+ functionality for the C++11, C++14 and C++17 standards written by Howard
+ Hinnant and released under the MIT license. A slightly modified version has
+ been accepted (along with 'tz.h') as part of C++20. This package regroups
+ all header files from the upstream repository by Howard Hinnant so that
+ other R packages can use them in their C++ code. At present, few of the
+ types have explicit 'Rcpp' wrapper though these may be added as needed."""
+
+ homepage = "https://github.com/eddelbuettel/rcppdate"
+ url = "https://cloud.r-project.org/src/contrib/RcppDate_0.0.1.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/RcppDate"
+
+ version('0.0.1', sha256='117721fc677dfb4209200a7ff894fbbb8ee1b652d01b3878b11c3253733b4a5f')