# 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 RLabeling(RPackage):
    """Provides a range of axis labeling algorithms."""

    homepage = "https://cloud.r-project.org/package=labeling"
    url      = "https://cloud.r-project.org/src/contrib/labeling_0.3.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/labeling"

    version('0.3', sha256='0d8069eb48e91f6f6d6a9148f4e2dc5026cabead15dd15fc343eff9cf33f538f')

# 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 RLabeling(RPackage):
    """Axis Labeling

    Provides a range of axis labeling algorithms."""

    homepage = "https://cloud.r-project.org/package=labeling"
    url      = "https://cloud.r-project.org/src/contrib/labeling_0.3.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/labeling"

    version('0.4.2', sha256='e022d79276173e0d62bf9e37d7574db65ab439eb2ae1833e460b1cff529bd165')
    version('0.3', sha256='0d8069eb48e91f6f6d6a9148f4e2dc5026cabead15dd15fc343eff9cf33f538f')

add version 0.4.2 to r-labeling (#21063)