summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-svglite/package.py
blob: 2003f6a798c21fa1a9587478be752e309412423e (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-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 RSvglite(RPackage):
    """An 'SVG' Graphics Device.

    A graphics device for R that produces 'Scalable Vector Graphics'. 'svglite'
    is a fork of the older 'RSvgDevice' package."""

    cran = "svglite"

    license("GPL-2.0-or-later")

    version("2.1.1", sha256="48700169eec1b05dbee9e2bae000aa84c544617b018cb3ac431a128cfd8dac56")
    version("2.1.0", sha256="ad40f590c7e80ae83001a3826b6e8394ba733446ed51fd55faeda974ab839c9b")
    version("2.0.0", sha256="76e625fe172a5b7ce99a67b6d631b037b3f7f0021cfe15f2e15e8851b89defa5")

    depends_on("r+X", type=("build", "run"))
    depends_on("r@3.0.0:", type=("build", "run"))
    depends_on("r-systemfonts@1.0.0:", type=("build", "run"))
    depends_on("r-cpp11", type=("build", "run"))
    depends_on("libpng")