summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
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')