summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Clement (バレンタイン クレメン) <clementval@gmail.com>2019-08-23 17:30:39 +0200
committerAdam J. Stewart <ajstewart426@gmail.com>2019-08-23 10:30:39 -0500
commitedae707b9cfc0da1445877516fc0e77f5f25a3c7 (patch)
tree16d3b1029a742bffcbd069bbede244f97e7c8efb
parentc86006e9485993985a7dd0a72f9b49491c48c046 (diff)
downloadspack-edae707b9cfc0da1445877516fc0e77f5f25a3c7.tar.gz
spack-edae707b9cfc0da1445877516fc0e77f5f25a3c7.tar.bz2
spack-edae707b9cfc0da1445877516fc0e77f5f25a3c7.tar.xz
spack-edae707b9cfc0da1445877516fc0e77f5f25a3c7.zip
Add version 2.0 (#12545)
-rw-r--r--var/spack/repos/builtin/packages/claw/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/claw/package.py b/var/spack/repos/builtin/packages/claw/package.py
index 3cdae9f699..18ea7f69b8 100644
--- a/var/spack/repos/builtin/packages/claw/package.py
+++ b/var/spack/repos/builtin/packages/claw/package.py
@@ -15,6 +15,7 @@ class Claw(CMakePackage):
git = 'https://github.com/claw-project/claw-compiler.git'
maintainers = ['clementval']
+ version('2.0', commit='53e705b8bfce40a5c5636e8194a7622e337cf4f5', submodules=True)
version('1.2.3', commit='eaf5e5fb39150090e51bec1763170ce5c5355198', submodules=True)
version('1.2.2', commit='fc27a267eef9f412dd6353dc0b358a05b3fb3e16', submodules=True)
version('1.2.1', commit='939989ab52edb5c292476e729608725654d0a59a', submodules=True)
@@ -22,7 +23,8 @@ class Claw(CMakePackage):
version('1.1.0', commit='16b165a443b11b025a77cad830b1280b8c9bcf01', submodules=True)
depends_on('cmake@3.0:', type='build')
- depends_on('java@7:')
+ depends_on('java@8:', when="@2.0:")
+ depends_on('java@7:', when="@1.1.0:1.2.3")
depends_on('ant@1.9:')
depends_on('libxml2')
depends_on('bison')