summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-biocversion/package.py
blob: bee33502114e67a861e65b791c20ca812996fc65 (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
# 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 RBiocversion(RPackage):
    """Set the appropriate version of Bioconductor packages.

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

    bioc = "BiocVersion"

    version("3.17.1", commit="a2d0c4c489be1cafdb51bf8d205161429b09ac7f")
    version("3.16.0", commit="c681e06fe30ea6815f958c1a3c74c090863680ba")
    version("3.15.2", commit="818ab03b6a3551993b712e3702126040f9fb7600")
    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:")
    depends_on("r@4.2.0:", type=("build", "run"), when="@3.15.2:")
    depends_on("r@4.3.0:", type=("build", "run"), when="@3.17.1:")