From cbc6a2070a08a470ed916570d6807c9b7de9564a Mon Sep 17 00:00:00 2001 From: Justin Stanley Date: Fri, 1 Mar 2019 10:17:37 -0600 Subject: [PATCH] r-bfast: new package at 1.5.7 (#10733) --- .../repos/builtin/packages/r-bfast/package.py | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-bfast/package.py diff --git a/var/spack/repos/builtin/packages/r-bfast/package.py b/var/spack/repos/builtin/packages/r-bfast/package.py new file mode 100644 index 0000000000..49a92cb972 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-bfast/package.py @@ -0,0 +1,23 @@ +# 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 RBfast(RPackage): + """bfast: Breaks For Additive Season and Trend (BFAST)""" + + homepage = "https://cran.r-project.org/package=bfast" + url = "https://cran.r-project.org/src/contrib/bfast_1.5.7.tar.gz" + list_url = "https://cran.r-project.org/src/contrib/Archive/bfast" + + version('1.5.7', sha256='01585fe8944d05ebdb13795214077bc1365f0c0372e2a1f7edb914356dace558') + + depends_on('r@2.15.0:', type=('build', 'run')) + depends_on('r-strucchange', type=('build', 'run')) + depends_on('r-zoo', type=('build', 'run')) + depends_on('r-forecast', type=('build', 'run')) + depends_on('r-sp', type=('build', 'run')) + depends_on('r-raster', type=('build', 'run'))