summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-timechange/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/r-timechange/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-timechange/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-timechange/package.py b/var/spack/repos/builtin/packages/r-timechange/package.py
new file mode 100644
index 0000000000..cdffa5f94f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-timechange/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2022 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.package import *
+
+
+class RTimechange(RPackage):
+ """Efficient Manipulation of Date-Times.
+
+ Efficient routines for manipulation of date-time objects while accounting
+ for time-zones and daylight saving times. The package includes utilities
+ for updating of date-time components (year, month, day etc.), modification
+ of time-zones, rounding of date-times, period addition and subtraction etc.
+ Parts of the 'CCTZ' source code, released under the Apache 2.0 License, are
+ included in this package. See <https://github.com/google/cctz> for more
+ details."""
+
+ cran = "timechange"
+
+ version("0.1.1", sha256="8503919d233d7d7b81fe47692f0f2d6742ff4cae7320a5522bf98f077f5d7f70")
+
+ depends_on("r@3.3:", type=("build", "run"))
+ depends_on("r-cpp11@0.2.7:", type=("build", "run"))