summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-filelock/package.py
blob: 552a3fd6546e139a6fc54e3cccbd169cb5781f76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2022 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 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"

    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'))