summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-filelock/package.py
blob: 176f9cdb06bd34bc10d9bdbae57fb2528b364f6d (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
# 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 RFilelock(RPackage):
    """Portable File Locking.

    Place an exclusive or shared lock on a file. It uses 'LockFile' on Windows
    and 'fcntl' locks on Unix-like systems."""

    cran = "filelock"

    license("MIT")

    version("1.0.2", sha256="ac2915950789b16c43a625a2b8dab6ba423588db4a7d0daa75b74518b82b1403")

    depends_on("r-callr@2.0.0:", type=("build", "run"))
    depends_on("r-covr", type=("build", "run"))
    depends_on("r-testthat", type=("build", "run"))