summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-jpeg/package.py
blob: 0709499e83d327f627113c7af3f3972ffce6edfd (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
# 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 RJpeg(RPackage):
    """Read and write JPEG images.

    This package provides an easy and simple way to read, write and display
    bitmap images stored in the JPEG format. It can read and write both files
    and in-memory raw vectors."""

    cran = "jpeg"

    license("GPL-2.0-only OR GPL-3.0-only")

    version("0.1-10", sha256="c8d9f609c3088f91ec4853d6cc0e66511038a465811dea79ca6a0c09519178ca")
    version("0.1-9", sha256="01a175442ec209b838a56a66a3908193aca6f040d537da7838d9368e46913072")
    version("0.1-8.1", sha256="1db0a4976fd9b2ae27a37d3e856cca35bc2909323c7a40724846a5d3c18915a9")
    version("0.1-8", sha256="d032befeb3a414cefdbf70ba29a6c01541c54387cc0a1a98a4022d86cbe60a16")

    depends_on("r@2.9.0:", type=("build", "run"))
    depends_on("jpeg")