summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-proj/package.py
blob: ceb9e6d822ccb2f8e815347812ef13e2af9bd9bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 RProj(RPackage):
    """Generic Coordinate System Transformations Using 'PROJ'.

    Currently non-operational, a harmless wrapper to allow package 'reproj' to
    install and function while relying on the 'proj4' package."""

    cran = "PROJ"

    version('0.4.0', sha256='dde90cfeca83864e61a7422e1573d2d55bb0377c32b9a8f550f47b8631121ce7')
    version('0.1.0', sha256='5186f221335e8092bbcd4d82bd323ee7e752c7c9cf83d3f94e4567e0b407aa6f')

    depends_on('r@2.10:', type=('build', 'run'))
    depends_on('r@3.0.2:', type=('build', 'run'), when='@0.4.0:')