summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-ragg/package.py
blob: dbf967b780c1e6cf29abf78b61df9cab2b453362 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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 RRagg(RPackage):
    """Graphic Devices Based on AGG.

    Anti-Grain Geometry (AGG) is a high-quality and high-performance 2D drawing
    library. The 'ragg' package provides a set of graphic devices based on AGG
    to use as alternative to the raster devices provided through the
    'grDevices' package."""

    cran = "ragg"

    license("MIT")

    version("1.2.5", sha256="936f4d75e0e01cdeefb9f57d121cdd7812d0de5a9e1a3a8315f92ce1c84da8f9")
    version("1.2.4", sha256="c547e5636a2eefaa0021a0d50fad1e813c2ce976ec0c9c3f796d38a110680dcd")
    version("1.2.3", sha256="976da0007ef0d4dbadda4734727b539671b65c1eff4ff392d734f4e2c846f2b2")

    depends_on("r-systemfonts@1.0.3:", type=("build", "run"))
    depends_on("r-textshaping@0.3.0:", type=("build", "run"))
    depends_on("freetype")
    depends_on("libpng")
    depends_on("libtiff")
    depends_on("jpeg")