summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-assertive-properties/package.py
blob: 105956cedde2e89703228d5a341a5208ba1c12ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 2013-2022 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'))