summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2021-03-22 06:52:07 -0500
committerGitHub <noreply@github.com>2021-03-22 12:52:07 +0100
commitd18de945b732da268fd0443f56dcdb9899a05081 (patch)
tree033e8c2b5bf082353d0275e7e0db1247a4d67e27
parent2741b69791988095ac0349443639141fd647d7dd (diff)
downloadspack-d18de945b732da268fd0443f56dcdb9899a05081.tar.gz
spack-d18de945b732da268fd0443f56dcdb9899a05081.tar.bz2
spack-d18de945b732da268fd0443f56dcdb9899a05081.tar.xz
spack-d18de945b732da268fd0443f56dcdb9899a05081.zip
r-lwgeom: new package (#22437)
-rw-r--r--var/spack/repos/builtin/packages/r-lwgeom/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-lwgeom/package.py b/var/spack/repos/builtin/packages/r-lwgeom/package.py
new file mode 100644
index 0000000000..140bd6113e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-lwgeom/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2021 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 RLwgeom(RPackage):
+ """Bindings to Selected 'liblwgeom' Functions for Simple Features
+
+ Access to selected functions found in 'liblwgeom'
+ <https://github.com/postgis/postgis/tree/master/liblwgeom>, the
+ light-weight geometry library used by 'PostGIS' <http://postgis.net/>."""
+
+ homepage = "https://github.com/r-spatial/lwgeom/"
+ cran = "lwgeom"
+
+ version('0.2-5', sha256='4a1d93f96c10c2aac173d8186cf7d7bef7febcb3cf066a7f45da32251496d02f')
+
+ depends_on('r@3.3.0:', type=('build', 'run'))
+ depends_on('r-rcpp', type=('build', 'run'))
+ depends_on('r-units', type=('build', 'run'))
+ depends_on('r-sf@0.9-3:', type=('build', 'run'))
+ depends_on('geos@3.5.0:')
+ depends_on('proj@4.8.0:6.999')