diff options
author | Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> | 2021-11-01 23:10:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-01 17:10:13 -0500 |
commit | 78a073218fcef0c4efc7bd1d5539d54fc5569475 (patch) | |
tree | bbc37c003036ad856e35694d5a583762179bc2fa /var | |
parent | 881b2dcf052de7597f2e68476c58a8d633fc03fc (diff) | |
download | spack-78a073218fcef0c4efc7bd1d5539d54fc5569475.tar.gz spack-78a073218fcef0c4efc7bd1d5539d54fc5569475.tar.bz2 spack-78a073218fcef0c4efc7bd1d5539d54fc5569475.tar.xz spack-78a073218fcef0c4efc7bd1d5539d54fc5569475.zip |
r-tzdb: add new package (#27105)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/r-tzdb/package.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-tzdb/package.py b/var/spack/repos/builtin/packages/r-tzdb/package.py new file mode 100644 index 0000000000..1c52cfcd58 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-tzdb/package.py @@ -0,0 +1,28 @@ +# 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 RTzdb(RPackage): + """Time Zone Database Information. + + Provides an up-to-date copy of the Internet Assigned Numbers Authority + (IANA) Time Zone Database. It is updated periodically to reflect changes + made by political bodies to time zone boundaries, UTC offsets, and + daylight saving time rules. Additionally, this package provides a C++ + interface for working with the 'date' library. 'date' provides + comprehensive support for working with dates and date-times, which this + package exposes to make it easier for other R packages to utilize. Headers + are provided for calendar specific calculations, along with a limited + interface for time zone manipulations.""" + + homepage = "https://github.com/r-lib/tzdb" + cran = "tzdb" + + version('0.2.0', sha256='c335905d452b400af7ed54b916b5246cb3f47ede0602911a2bcb25a1cf56d5a9') + + depends_on('r@3.3:', type=('build', 'run')) + depends_on('r-cpp11@0.4.0:', type=('build', 'run')) |