summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-go-db/package.py
blob: bdc61b8e4c23ee2a0d760b5d9e2e0a3f4a99d1ed (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
# 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 RGoDb(RPackage):
    """A set of annotation maps describing the entire Gene Ontology.

    A set of annotation maps describing the entire Gene
    Ontology assembled using data from GO."""

    bioc = "GO.db"
    url = "https://www.bioconductor.org/packages/3.5/data/annotation/src/contrib/GO.db_3.4.1.tar.gz"

    version('3.14.0',
            sha256='45d0a681a662667d45b2472d160b72f7058ad0a28dd0ca24742e11ddfd87d8e7',
            url='https://bioconductor.org/packages/3.14/data/annotation/src/contrib/GO.db_3.14.0.tar.gz')
    version('3.12.1',
            sha256='e0316959d3d32096f9432c897413dff74fce53e15ead7917a7724467d971dab9',
            url='https://bioconductor.org/packages/3.12/data/annotation/src/contrib/GO.db_3.12.1.tar.gz')
    version('3.4.1',
            sha256='2fc2048e9d26edb98e35e4adc4d18c6df54f44836b5cc4a482d36ed99e058cc1',
            url='https://bioconductor.org/packages/3.5/data/annotation/src/contrib/GO.db_3.4.1.tar.gz')

    depends_on('r@2.7.0:', type=('build', 'run'))
    depends_on('r-annotationdbi@1.37.4:', type=('build', 'run'))
    depends_on('r-annotationdbi@1.51.3:', type=('build', 'run'), when='@3.12.1:')
    depends_on('r-annotationdbi@1.55.1:', type=('build', 'run'), when='@3.14.0:')