diff options
-rw-r--r-- | var/spack/repos/builtin/packages/eccodes/package.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/eccodes/package.py b/var/spack/repos/builtin/packages/eccodes/package.py index 0aacb4cc81..4316133e8e 100644 --- a/var/spack/repos/builtin/packages/eccodes/package.py +++ b/var/spack/repos/builtin/packages/eccodes/package.py @@ -17,6 +17,7 @@ class Eccodes(CMakePackage): maintainers = ['skosukhin'] + version('2.13.0', sha256='c5ce1183b5257929fc1f1c8496239e52650707cfab24f4e0e1f1a471135b8272') version('2.5.0', '5a7e92c58418d855082fa573efd352aa') version('2.2.0', 'b27e6f0a3eea5b92dac37372e4c45a62') @@ -56,7 +57,9 @@ class Eccodes(CMakePackage): # Can be built with Python2 or Python3. depends_on('python', when='+memfs', type='build') # The interface works only for Python2. - depends_on('python@2.6:2.999', when='+python', + # Python 3 support was added in 2.13.0: + # https://confluence.ecmwf.int/display/ECC/Python+3+interface+for+ecCodes + depends_on('python@2.6:2.999', when='@:2.12+python', type=('build', 'link', 'run')) depends_on('py-numpy', when='+python', type=('build', 'run')) extends('python', when='+python') |