From 5df64769e3e35d448b45f1462686de0f2bf740ae Mon Sep 17 00:00:00 2001 From: Amjad Kotobi Date: Mon, 25 May 2020 13:48:24 +0200 Subject: [PATCH] r-matlab: new package at v1.0.2 (#16785) --- .../repos/builtin/packages/r-matlab/package.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-matlab/package.py diff --git a/var/spack/repos/builtin/packages/r-matlab/package.py b/var/spack/repos/builtin/packages/r-matlab/package.py new file mode 100644 index 0000000000..221f5f7b31 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-matlab/package.py @@ -0,0 +1,18 @@ +# 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 RMatlab(RPackage): + """Emulate MATLAB code using R""" + + homepage = "https://cloud.r-project.org/package=matlab" + url = "https://cloud.r-project.org/src/contrib/matlab_1.0.2.tar.gz" + list_url = "https://cloud.r-project.org/src/contrib/Archive/matlab" + + version('1.0.2', sha256='a23dec736c51ae1864c1a53caac556a2f98e8020138a3b121badb0f5b7984154') + + depends_on('r@2.15:', type=('build', 'run'))