r-lidr and dependency r-rlas (#48051)
* r-rlas is a dependency for r-lidr * new package r-lidr w/ suggests to address masking issues * fixed flake8 issues and added maintainers * removed boost import statement for flake sake
This commit is contained in:
parent
8e163c3565
commit
4d7a637788
52
var/spack/repos/builtin/packages/r-lidr/package.py
Normal file
52
var/spack/repos/builtin/packages/r-lidr/package.py
Normal file
@ -0,0 +1,52 @@
|
||||
# Copyright 2013-2024 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.package import *
|
||||
|
||||
|
||||
class RLidr(RPackage):
|
||||
"""Airborne LiDAR data manipulation and visualisation for forestry application"""
|
||||
|
||||
homepage = "https://github.com/r-lidar/lidR"
|
||||
url = "https://cran.r-project.org/src/contrib/lidR_4.1.2.tar.gz"
|
||||
|
||||
maintainers("sidpbury")
|
||||
|
||||
license("GPL-3.0")
|
||||
|
||||
version("4.1.2", sha256="e452c35c189fb8bcfedb53b2cb1184a6feee11c2f3ccf1db4b161a9ce700a9eb")
|
||||
|
||||
variant("suggests", default=False, description="adding suggests helps masking issues")
|
||||
|
||||
# Depends
|
||||
depends_on("r@3.5.0:", type=("build", "run"))
|
||||
|
||||
# Imports
|
||||
depends_on("r-classint", type=("build", "run"))
|
||||
depends_on("r-glue", type=("build", "run"))
|
||||
depends_on("r-lazyeval", type=("build", "run"))
|
||||
depends_on("r-rcpp@1.0.3:", type=("build", "run"))
|
||||
depends_on("r-rgl", type=("build", "run"))
|
||||
depends_on("r-rlas@1.5.0:", type=("build", "run"))
|
||||
depends_on("r-sf", type=("build", "run"))
|
||||
depends_on("r-stars", type=("build", "run"))
|
||||
depends_on("r-terra@1.5:", type=("build", "run"))
|
||||
|
||||
# Linking To
|
||||
depends_on("r-bh", type=("build", "run"))
|
||||
depends_on("r-rcpparmadillo", type=("build", "run"))
|
||||
|
||||
# Suggests
|
||||
depends_on("r-future", type=("build", "run"), when="+suggests")
|
||||
depends_on("r-geometry", type=("build", "run"), when="+suggests")
|
||||
depends_on("r-gstat", type=("build", "run"), when="+suggests")
|
||||
depends_on("r-raster", type=("build", "run"), when="+suggests")
|
||||
depends_on("r-rjson", type=("build", "run"), when="+suggests")
|
||||
depends_on("r-mapview", type=("build", "run"), when="+suggests")
|
||||
depends_on("r-progress", type=("build", "run"), when="+suggests")
|
||||
depends_on("r-sp", type=("build", "run"), when="+suggests")
|
||||
depends_on("r-testthat@2.1.0:", type=("build", "run"), when="+suggests")
|
||||
depends_on("r-knitr", type=("build", "run"), when="+suggests")
|
||||
depends_on("r-rmarkdown", type=("build", "run"), when="+suggests")
|
27
var/spack/repos/builtin/packages/r-rlas/package.py
Normal file
27
var/spack/repos/builtin/packages/r-rlas/package.py
Normal file
@ -0,0 +1,27 @@
|
||||
# Copyright 2013-2024 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.package import *
|
||||
|
||||
|
||||
class RRlas(RPackage):
|
||||
"""R package to read and write las and laz files used to store LiDAR data"""
|
||||
|
||||
homepage = "https://cran.r-project.org"
|
||||
cran = "rlas"
|
||||
|
||||
maintainers("sidpbury")
|
||||
|
||||
license("LGPL-3.0-only")
|
||||
|
||||
version("1.8.0", sha256="dc7903cfcebcd8c0313e101cae732c8ef7b5839318799c1d3d7b778fa178143b")
|
||||
version("1.7.0", sha256="11768b6f21e96905cee6c39eb980b92373afed10ab144bdbab2a7a7602fc6b29")
|
||||
|
||||
depends_on("r@3.6.0:", type=("build", "run"))
|
||||
depends_on("parallel", type=("build", "run"))
|
||||
depends_on("r-r-utils", type=("build", "run"))
|
||||
depends_on("r-rcpp", type=("build", "run"))
|
||||
depends_on("r-data-table", type=("build", "run"))
|
||||
depends_on("boost@:1.84+filesystem+program_options+numpy+python+regex+serialization+thread")
|
Loading…
Reference in New Issue
Block a user