spack/var/spack/repos/builtin/packages/r-proj4/package.py
2022-02-21 11:22:33 -06:00

29 lines
1.2 KiB
Python

# 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 import *
class RProj4(RPackage):
"""A simple interface to the PROJ.4 cartographic projections library.
A simple interface to lat/long projection and datum transformation of the
PROJ.4 cartographic projections library. It allows transformation of
geographic coordinates from one projection and/or datum to another."""
cran = "proj4"
version('1.0-11', sha256='c5f186530267005d53cc2e86849613b254ca4515a8b10310146f712d45a1d11d')
version('1.0-10.1', sha256='66857cbe5cba4930b18621070f9a7263ea0d8ddc3e5a035a051a1496e4e1da19')
version('1.0-10', sha256='5f396f172a17cfa9821a390f11ff7d3bff3c92ccf585572116dec459c621d1d0')
version('1.0-8.1', sha256='a3a2a8f0014fd79fa34b5957440fd38299d8e97f1a802a61a068a6c6cda10a7e')
depends_on('r@2.0.0:', type=('build', 'run'))
depends_on('proj@4.4.6:7', when='@:1.0-8')
depends_on('proj@4.4.6:')
# This is needed because the configure script links to sqlite3
depends_on('sqlite', when='@1.0-10.1:')