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

    homepage = "https://svglite.r-lib.org/"
    cran     = "svglite"

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