summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-fs/package.py
blob: 01da707587f2e441da6846fac5463d38b8e65bfa (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
# Copyright 2013-2024 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 RFs(RPackage):
    """Cross-Platform File System Operations Based on 'libuv'.

    A cross-platform interface to file system operations, built on top of the
    'libuv' C library."""

    cran = "fs"

    license("MIT")

    version("1.6.2", sha256="548b7c0ed5ab26dc4fbd88707ae12987bcaef834dbc6de4e17d453846dc436b2")
    version("1.5.2", sha256="35cad1781d6d17c1feb56adc4607079c6844b63794d0ce1e74bb18dbc11e1987")
    version("1.5.0", sha256="36df1653571de3c628a4f769c4627f6ac53d0f9e4106d9d476afb22ae9603897")
    version("1.3.1", sha256="d6934dca8f835d8173e3fb9fd4d5e2740c8c04348dd2bcc57df1b711facb46bc")

    depends_on("r@3.1:", type=("build", "run"))
    depends_on("r@3.4:", type=("build", "run"), when="@1.6.2:")
    depends_on("gmake", type="build")

    depends_on("r-rcpp", type=("build", "run"), when="@:1.3.1")