summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-udunits2/package.py
blob: 551455471fefa29f422f1a8b69a8914b499aa640 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 RUdunits2(RPackage):
    """Provides simple bindings to Unidata's udunits library."""

    homepage = "https://github.com/pacificclimate/Rudunits2"
    url      = "https://cloud.r-project.org/src/contrib/udunits2_0.13.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/udunits2"

    version('0.13', sha256='d155d3c07f6202b65dec4075ffd1e1c3f4f35f5fdece8cfb319d39256a3e5b79')

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