summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-kegg-db/package.py
blob: 475b20f63de46421a8a9fe75867491a319d94230 (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
27
28
29
30
31
32
33
# Copyright 2013-2024 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 RKeggDb(RPackage):
    """A set of annotation maps for KEGG.

    A set of annotation maps for KEGG assembled using data from KEGG."""

    # NOTE: The KEGG.db package was removed in Bioconductor-3.13

    bioc = "KEGG.db"
    url = "https://www.bioconductor.org/packages/release/data/annotation/src/contrib/KEGG.db_3.2.3.tar.gz"

    version(
        "3.2.4",
        url="https://bioconductor.org/packages/3.12/data/annotation/src/contrib/KEGG.db_3.2.4.tar.gz",
        sha256="2e60d1b664cbd1491cc00ed13a22904706c5a4651150f70daca04bf3ba9ead88",
        deprecated=True,
    )
    version(
        "3.2.3",
        url="https://bioconductor.org/packages/3.10/data/annotation/src/contrib/KEGG.db_3.2.3.tar.gz",
        sha256="02ea4630a3ec06a8d9a6151627c96d3f71dfc7e8857800bb5c0cdb6a838d6963",
        deprecated=True,
    )

    depends_on("r@2.7.0:", type=("build", "run"))
    depends_on("r-annotationdbi@1.34.3:", type=("build", "run"))