summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rappdirs/package.py
blob: a104b85f18f03807a958579475ece462f255be54 (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
# 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 RRappdirs(RPackage):
    """Application Directories: Determine Where to Save Data, Caches, and Logs.

    An easy way to determine which directories on the users computer you should
    use to save data, caches and logs. A port of Python's 'Appdirs'
    (<https://github.com/ActiveState/appdirs>) to R."""

    cran = "rappdirs"

    license("MIT")

    version("0.3.3", sha256="49959f65b45b0b189a2792d6c1339bef59674ecae92f8c2ed9f26ff9e488c184")
    version("0.3.1", sha256="2fd891ec16d28862f65bb57e4a78f77a597930abb59380e757afd8b6c6d3264a")

    depends_on("r@2.14:", type=("build", "run"))
    depends_on("r@3.2:", type=("build", "run"), when="@0.3.2:")