Fix esmf usage, add new version (#48835)
This commit is contained in:
		@@ -13,6 +13,7 @@ class PyXesmf(PythonPackage):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    license("MIT")
 | 
					    license("MIT")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    version("0.8.8", sha256="8588f83007ce7011379991f516be3691df6fb30486741f0e1c33aa962056ea33")
 | 
				
			||||||
    version("0.8.4", sha256="c5a2c4b3e8dbbc9fccd5772a940f9067d68e824215ef87ba222b06718c4eeb56")
 | 
					    version("0.8.4", sha256="c5a2c4b3e8dbbc9fccd5772a940f9067d68e824215ef87ba222b06718c4eeb56")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    with default_args(type="build"):
 | 
					    with default_args(type="build"):
 | 
				
			||||||
@@ -21,9 +22,9 @@ class PyXesmf(PythonPackage):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    with default_args(type=("build", "run")):
 | 
					    with default_args(type=("build", "run")):
 | 
				
			||||||
        depends_on("py-cf-xarray@0.5.1:")
 | 
					        depends_on("py-cf-xarray@0.5.1:")
 | 
				
			||||||
        # TODO: add optional dependency
 | 
					
 | 
				
			||||||
        # https://github.com/esmf-org/esmf/tree/develop/src/addon/esmpy
 | 
					        # esmf +python is only handled correctly in spack for 8.4+
 | 
				
			||||||
        # depends_on("py-esmpy@8:")
 | 
					        depends_on("esmf@8.4.0: +python")
 | 
				
			||||||
        depends_on("py-numba@0.55.2:")
 | 
					        depends_on("py-numba@0.55.2:")
 | 
				
			||||||
        depends_on("py-numpy@1.16:")
 | 
					        depends_on("py-numpy@1.16:")
 | 
				
			||||||
        depends_on("py-shapely")
 | 
					        depends_on("py-shapely")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user