summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-ragg/package.py
blob: bf292c4e1f41dcf3255d0d82dd6a9bd574483c6e (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
# Copyright 2013-2022 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"

    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")