From 53c9b0232b18b34dce0f80aeb6d492b3f66e7c4f Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Fri, 15 Jan 2021 02:55:28 -0600 Subject: [PATCH] add version 1.3-3 to r-dismo (#20883) --- var/spack/repos/builtin/packages/r-dismo/package.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/var/spack/repos/builtin/packages/r-dismo/package.py b/var/spack/repos/builtin/packages/r-dismo/package.py index 2a2aa1b0cc..7b0010a58e 100644 --- a/var/spack/repos/builtin/packages/r-dismo/package.py +++ b/var/spack/repos/builtin/packages/r-dismo/package.py @@ -7,16 +7,20 @@ class RDismo(RPackage): - """Functions for species distribution modeling, that is, predicting - entire geographic distributions form occurrences at a number of sites - and the environment at these sites.""" + """Species Distribution Modeling + + Methods for species distribution modeling, that is, predicting the + environmental similarity of any site to that of the locations of known + occurrences of a species.""" homepage = "https://cloud.r-project.org/package=dismo" url = "https://cloud.r-project.org/src/contrib/dismo_1.1-4.tar.gz" list_url = "https://cloud.r-project.org/src/contrib/Archive/dismo" + version('1.3-3', sha256='fd65331ac18a4287ba0856b90508ddd0e2738c653eecc5f3eb2b14e1d06949ca') version('1.1-4', sha256='f2110f716cd9e4cca5fd2b22130c6954658aaf61361d2fe688ba22bbfdfa97c8') depends_on('r@3.2.0:', type=('build', 'run')) depends_on('r-raster@2.5-2:', type=('build', 'run')) depends_on('r-sp@1.2-0:', type=('build', 'run')) + depends_on('java@8:', when='@1.3-3:')