# Copyright 2013-2019 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 RFutileOptions(RPackage):
    """A scoped options management framework"""

    homepage = "https://cloud.r-project.org/package=futile.options"
    url      = "https://cloud.r-project.org/src/contrib/futile.options_1.0.0.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/futile.options"

    version('1.0.1', sha256='7a9cc974e09598077b242a1069f7fbf4fa7f85ffe25067f6c4c32314ef532570')
    version('1.0.0', sha256='ee84ece359397fbb63f145d11af678f5c8618570971e78cc64ac60dc0d14e8c2')

    depends_on('r@2.8.0:', type=('build', 'run'))
