summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-07-16 01:12:11 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2015-07-16 01:12:11 -0700
commite0976963903ff938e1433e6b3c71d9ada1240c2d (patch)
treef3364d81e50d1ba83e04a807f475e9bf3c9404e8 /var
parent9087f26537304727fc268023233a705481afc26a (diff)
downloadspack-e0976963903ff938e1433e6b3c71d9ada1240c2d.tar.gz
spack-e0976963903ff938e1433e6b3c71d9ada1240c2d.tar.bz2
spack-e0976963903ff938e1433e6b3c71d9ada1240c2d.tar.xz
spack-e0976963903ff938e1433e6b3c71d9ada1240c2d.zip
Update concretize to check for more changes and iterate further.
Diffstat (limited to 'var')
-rw-r--r--var/spack/mock_packages/optional-dep-test-3/package.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/mock_packages/optional-dep-test-3/package.py b/var/spack/mock_packages/optional-dep-test-3/package.py
new file mode 100644
index 0000000000..e6cb3bd6e7
--- /dev/null
+++ b/var/spack/mock_packages/optional-dep-test-3/package.py
@@ -0,0 +1,17 @@
+from spack import *
+
+class OptionalDepTest3(Package):
+ """Depends on the optional-dep-test package"""
+
+ homepage = "http://www.example.com"
+ url = "http://www.example.com/optional-dep-test-3-1.0.tar.gz"
+
+ version('1.0', '0123456789abcdef0123456789abcdef')
+
+ variant('var', default=False)
+
+ depends_on('a', when='~var')
+ depends_on('b', when='+var')
+
+ def install(self, spec, prefix):
+ pass