Add eccodes 2.13.0 (#12077)

This commit is contained in:
Adam J. Stewart 2019-07-30 17:11:29 -05:00 committed by GitHub
parent 354ef2f9ca
commit e728883c71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')