From ad914c28d7e5a98b1d9548624ae0a0031c91c7e5 Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Mon, 10 Feb 2020 03:43:27 -0600 Subject: New package: r-proj (#14872) --- var/spack/repos/builtin/packages/r-proj/package.py | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-proj/package.py diff --git a/var/spack/repos/builtin/packages/r-proj/package.py b/var/spack/repos/builtin/packages/r-proj/package.py new file mode 100644 index 0000000000..8a9cea0941 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-proj/package.py @@ -0,0 +1,27 @@ +# Copyright 2013-2020 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 RProj(RPackage): + """A wrapper around the generic coordinate transformation software 'PROJ' + that transforms geospatial coordinates from one coordinate reference system + ('CRS') to another. This includes cartographic projections as well as + geodetic transformations. Version 6.0.0 or higher is required. The + intention is for this package to be used by user-packages such as 'reproj', + and that the older 'PROJ.4' and version 5 pathways be provided by the + legacy package. The 'PROJ' library is available from + .""" + + homepage = "https://github.com/hypertidy/PROJ" + url = "https://cloud.r-project.org/src/contrib/PROJ_0.1.0.tar.gz" + list_url = "https://cloud.r-project.org/src/contrib/Archive/PROJ" + + version('0.1.0', sha256='5186f221335e8092bbcd4d82bd323ee7e752c7c9cf83d3f94e4567e0b407aa6f') + + depends_on('r@2.10:', type=('build', 'run')) + + depends_on('proj@6:') -- cgit v1.2.3-70-g09d2