From 35ed2b26b538981dd29c57d09d546439cd39a20d Mon Sep 17 00:00:00 2001 From: Jen Herting Date: Fri, 9 Apr 2021 16:08:18 -0400 Subject: [PATCH] New package: r-assertive-properties (#22914) Co-authored-by: Alex C Leute Co-authored-by: Alex Leute --- .../r-assertive-properties/package.py | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-assertive-properties/package.py diff --git a/var/spack/repos/builtin/packages/r-assertive-properties/package.py b/var/spack/repos/builtin/packages/r-assertive-properties/package.py new file mode 100644 index 00000000000..d297feb5e5b --- /dev/null +++ b/var/spack/repos/builtin/packages/r-assertive-properties/package.py @@ -0,0 +1,27 @@ +# 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 RAssertiveProperties(RPackage): + """assertive.properties: Assertions to Check Properties of + Variables + + A set of predicates and assertions for checking the + properties of variables, such as length, names and + attributes. This is mainly for use by other package + developers who want to include run-time testing features in + their own packages. End-users will usually want to use + assertive directly.""" + + homepage = "https://bitbucket.org/richierocks/assertive.properties" + url = "https://cloud.r-project.org/src/contrib/assertive.properties_0.0-4.tar.gz" + list_url = "https://cloud.r-project.org/src/contrib/Archive/assertive.properties" + + version('0.0-4', sha256='5c0663fecb4b7c30f2e1d65da8644534fcfe97fb3d8b51f74c1327cd14291a6b') + + depends_on('r@3.0.0:', type=('build', 'run')) + depends_on('r-assertive-base@0.0-7:', type=('build', 'run'))