summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-xopen/package.py
blob: 362553401a2f119f99453b802801b32930c1ff67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2020 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 RXopen(RPackage):
    """Cross platform solution to open files, directories or 'URLs' with their
    associated programs."""

    homepage = "https://github.com/r-lib/xopen#readme"
    url      = "https://cloud.r-project.org/src/contrib/xopen_1.0.0.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/xopen"

    version('1.0.0', sha256='e207603844d69c226142be95281ba2f4a056b9d8cbfae7791ba60535637b3bef')

    depends_on('r@3.1:', type=('build', 'run'))
    depends_on('r-processx', type=('build', 'run'))