r-s2: new package plus new dependency r-wk (#22443)
This commit is contained in:
parent
d203456790
commit
2741b69791
2 changed files with 50 additions and 0 deletions
26
var/spack/repos/builtin/packages/r-s2/package.py
Normal file
26
var/spack/repos/builtin/packages/r-s2/package.py
Normal file
|
@ -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 RS2(RPackage):
|
||||
"""Spherical Geometry Operators Using the S2 Geometry Library
|
||||
|
||||
Provides R bindings for Google's s2 library for geometric calculations on
|
||||
the sphere. High-performance constructors and exporters provide high
|
||||
compatibility with existing spatial packages, transformers construct new
|
||||
geometries from existing geometries, predicates provide a means to select
|
||||
geometries based on spatial relationships, and accessors extract
|
||||
information about geometries."""
|
||||
|
||||
homepage = "https://r-spatial.github.io/s2/"
|
||||
cran = "s2"
|
||||
|
||||
version('1.0.4', sha256='3c274ebae33aa5473f94afb3066c6f388aced17ff3b5f6add9edcc9af22b985e')
|
||||
|
||||
depends_on('r@3.0.0:', type=('build', 'run'))
|
||||
depends_on('r-rcpp', type=('build', 'run'))
|
||||
depends_on('r-wk', type=('build', 'run'))
|
24
var/spack/repos/builtin/packages/r-wk/package.py
Normal file
24
var/spack/repos/builtin/packages/r-wk/package.py
Normal file
|
@ -0,0 +1,24 @@
|
|||
# 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 RWk(RPackage):
|
||||
"""Lightweight Well-Known Geometry Parsing
|
||||
|
||||
Provides a minimal R and C++ API for parsing well-known binary and
|
||||
well-known text representation of geometries to and from R-native formats.
|
||||
Well-known binary is compact and fast to parse; well-known text is
|
||||
human-readable and is useful for writing tests. These formats are only
|
||||
useful in R if the information they contain can be accessed in R, for which
|
||||
high-performance functions are provided here."""
|
||||
|
||||
homepage = "https://paleolimbot.github.io/wk/"
|
||||
cran = "wk"
|
||||
|
||||
version('0.4.1', sha256='daa7351af0bd657740972016906c686f335b8fa922ba10250e5000ddc2bb8950')
|
||||
|
||||
depends_on('r-cpp11', type=('build', 'run'))
|
Loading…
Reference in a new issue