summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2020-02-10 03:42:32 -0600
committerGitHub <noreply@github.com>2020-02-10 10:42:32 +0100
commitd00a3eda6beaed99e66caa3ac429585a603abc26 (patch)
tree4934ccd7e2f61977bfae9b28bf703b70e40af66c
parent22df37c328855bbf5a06c03f9a034ec22f243c98 (diff)
downloadspack-d00a3eda6beaed99e66caa3ac429585a603abc26.tar.gz
spack-d00a3eda6beaed99e66caa3ac429585a603abc26.tar.bz2
spack-d00a3eda6beaed99e66caa3ac429585a603abc26.tar.xz
spack-d00a3eda6beaed99e66caa3ac429585a603abc26.zip
New package: r-proj4 (#14871)
-rw-r--r--var/spack/repos/builtin/packages/r-proj4/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-proj4/package.py b/var/spack/repos/builtin/packages/r-proj4/package.py
new file mode 100644
index 0000000000..ba3ad51c99
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-proj4/package.py
@@ -0,0 +1,22 @@
+# 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 RProj4(RPackage):
+ """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."""
+
+ homepage = "http://www.rforge.net/proj4/"
+ url = "https://cloud.r-project.org/src/contrib/proj4_1.0-8.1.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/proj4"
+
+ version('1.0-8.1', sha256='a3a2a8f0014fd79fa34b5957440fd38299d8e97f1a802a61a068a6c6cda10a7e')
+
+ depends_on('r@2.0.0:', type=('build', 'run'))
+
+ depends_on('proj@:5')