summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSergey Kosukhin <skosukhin@gmail.com>2016-12-11 20:37:00 +0100
committerTodd Gamblin <tgamblin@llnl.gov>2016-12-11 11:37:00 -0800
commit42dbd4f855bd4e0c52694a9b45fc131836e7bac8 (patch)
tree322348a44465d2af3ffa2c034d849903baaa628a /var
parent70f1e929513dd2290a73684b30ec0284c118ba4e (diff)
downloadspack-42dbd4f855bd4e0c52694a9b45fc131836e7bac8.tar.gz
spack-42dbd4f855bd4e0c52694a9b45fc131836e7bac8.tar.bz2
spack-42dbd4f855bd4e0c52694a9b45fc131836e7bac8.tar.xz
spack-42dbd4f855bd4e0c52694a9b45fc131836e7bac8.zip
Updated cmor: corrected way to set constraints for the extendee. (#2543)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cmor/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cmor/package.py b/var/spack/repos/builtin/packages/cmor/package.py
index ffce000e6c..1cbf068493 100644
--- a/var/spack/repos/builtin/packages/cmor/package.py
+++ b/var/spack/repos/builtin/packages/cmor/package.py
@@ -45,7 +45,8 @@ class Cmor(AutotoolsPackage):
depends_on('udunits2')
depends_on('hdf5@:1.8')
- extends('python@:2.7', when='+python')
+ extends('python', when='+python')
+ depends_on('python@:2.7', when='+python')
depends_on('py-numpy', type=nolink, when='+python')
@AutotoolsPackage.precondition('configure')