From b9dfda19c18a7ad49153e24183c542c6a77bd3b8 Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Wed, 13 Jan 2021 08:45:59 -0600 Subject: [PATCH] r-blockmodeling: added v1.0.0 (#20820) --- .../builtin/packages/r-blockmodeling/package.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/var/spack/repos/builtin/packages/r-blockmodeling/package.py b/var/spack/repos/builtin/packages/r-blockmodeling/package.py index 692be548d7..1ce04a935c 100644 --- a/var/spack/repos/builtin/packages/r-blockmodeling/package.py +++ b/var/spack/repos/builtin/packages/r-blockmodeling/package.py @@ -7,17 +7,21 @@ class RBlockmodeling(RPackage): - """blockmodeling: Generalized and Classical - Blockmodeling of Valued Networks""" + """Generalized and Classical Blockmodeling of Valued Networks + + This is primarily meant as an implementation of generalized blockmodeling + for valued networks.""" homepage = "https://cloud.r-project.org/package=blockmodeling" url = "https://cloud.r-project.org/src/contrib/blockmodeling_0.3.1.tar.gz" list_url = "https://cloud.r-project.org/src/contrib/Archive/blockmodeling/" + version('1.0.0', sha256='f10c41fff56dc7dc46dffbceacb8ff905eca06578d610a5a590fb408f0149cfc') version('0.3.4', sha256='a269c83669dd5294cff0adddab36bc023db6a276a06b74b1fa94b7e407486987') version('0.3.1', sha256='39e8360400cec6baa920d5589d4e779568bdf2954f7331be0e3cadf22a217d31') + depends_on('r@2.10:', type=('build', 'run')) depends_on('r-matrix', type=('build', 'run')) - depends_on('r-doparallel', type=('build', 'run')) - depends_on('r-dorng', type=('build', 'run')) - depends_on('r-foreach', type=('build', 'run')) + depends_on('r-doparallel', when='@:0.3.4', type=('build', 'run')) + depends_on('r-dorng', when='@:0.3.4', type=('build', 'run')) + depends_on('r-foreach', when='@:0.3.4', type=('build', 'run'))