spack/var/spack/repos/builtin/packages/r-wk/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

28 lines
1.2 KiB
Python

# Copyright 2013-2023 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 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."""
cran = "wk"
version("0.7.0", sha256="e24327d38f2ff2d502c67c60eba3b4e44079a64ed8b805df64f231dc4712a2de")
version("0.6.0", sha256="af2c2837056a6dcc9f64d5ace29601d6d668c95769f855ca0329648d7326eaf5")
version("0.4.1", sha256="daa7351af0bd657740972016906c686f335b8fa922ba10250e5000ddc2bb8950")
depends_on("r@2.10:", type=("build", "run"), when="@0.7.0:")
depends_on("r-cpp11", type=("build", "run"))
depends_on("r-cpp11", when="@:0.6.0")