summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-dbi/package.py
blob: bd8e4289e3eae44a3e86bf6f1ba763bed94caeb2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2019 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 RDbi(RPackage):
    """A database interface definition for communication between R and
    relational database management systems. All classes in this package are
    virtual and need to be extended by the various R/DBMS implementations."""

    homepage = "http://rstats-db.github.io/DBI"
    url      = "https://cloud.r-project.org/src/contrib/DBI_0.7.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/DBI"

    version('1.0.0', sha256='ff16f118eb3f759183441835e932b87358dd80ab9800ce576a8f3df1b6f01cf5')
    version('0.4-1', 'c7ee8f1c5037c2284e99c62698d0f087')
    version('0.7', '66065dd687d758b72d638adb6a8cab2e')

    depends_on('r@3.0.0:', type=('build', 'run'))