summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-png/package.py
blob: d0cc9c24db7b1c195b74687bcf86d09f0d0077e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2018 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 RPng(RPackage):
    """This package provides an easy and simple way to read, write and display
    bitmap images stored in the PNG format. It can read and write both files
    and in-memory raw vectors."""

    homepage = "http://www.rforge.net/png/"
    url      = "https://cran.r-project.org/src/contrib/png_0.1-7.tar.gz"
    list_url = "https://cran.r-project.org/src/contrib/Archive/png"

    version('0.1-7', '1ebc8b8aa5979b12c5ec2384b30d649f')

    depends_on('libpng')