summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2020-02-10 03:43:27 -0600
committerGitHub <noreply@github.com>2020-02-10 10:43:27 +0100
commitad914c28d7e5a98b1d9548624ae0a0031c91c7e5 (patch)
tree8108237f3782f5321dc729a50e0c463534ee7941
parentd00a3eda6beaed99e66caa3ac429585a603abc26 (diff)
downloadspack-ad914c28d7e5a98b1d9548624ae0a0031c91c7e5.tar.gz
spack-ad914c28d7e5a98b1d9548624ae0a0031c91c7e5.tar.bz2
spack-ad914c28d7e5a98b1d9548624ae0a0031c91c7e5.tar.xz
spack-ad914c28d7e5a98b1d9548624ae0a0031c91c7e5.zip
New package: r-proj (#14872)
-rw-r--r--var/spack/repos/builtin/packages/r-proj/package.py27
1 files changed, 27 insertions, 0 deletions
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
+ <https://proj.org/>."""
+
+ 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:')