summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-biocversion/package.py
blob: d7f3f6e097b48ae8cb1363b49904febd70906b72 (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.package import *


class RBiocversion(RPackage):
    """Set the appropriate version of Bioconductor packages.

    This package provides repository information for the appropriate
    version of Bioconductor."""

    bioc = "BiocVersion"

    version('3.14.0', commit='aa56d93d0ea5dcdbf301f120502981740fd91e1e')
    version('3.12.0', commit='23b971963c6b73550a7e330dab5a046d58ce0223')

    depends_on('r@4.0.0:', type=('build', 'run'))
    depends_on('r@4.1.0:', type=('build', 'run'), when='@3.14.0:')