summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-clock/package.py
blob: d59e4140ab6abed12d89f752aef00f9232a17d81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 2013-2023 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 RClock(RPackage):
    """Date-Time Types and Tools.

    Provides a comprehensive library for date-time manipulations using a new
    family of orthogonal date-time classes (durations, time points,
    zoned-times, and calendars) that partition responsibilities so that the
    complexities of time zones are only considered when they are really needed.
    Capabilities include: date-time parsing, formatting, arithmetic, extraction
    and updating of components, and rounding."""

    cran = "clock"

    license("MIT")

    version("0.6.1", sha256="f80c385fd8229538968ffb71d7de53ddc82bfcec6641f8e76f299546c43c1702")

    depends_on("r@3.4:", type=("build", "run"))
    depends_on("r-rlang@1.0.4:", type=("build", "run"))
    depends_on("r-tzdb@0.3.0:", type=("build", "run"))
    depends_on("r-vctrs@0.4.1:", type=("build", "run"))
    depends_on("r-cpp11@0.4.2:", type=("build", "run"))