def METHOD_NAME(self):
    self.requires("hdf5/1.14.0", transitive_headers=True, transitive_libs=True)
    if Version(self.version) < "1.10.0" or self.options.get_safe('with_eigen'):
        self.requires("eigen/3.4.0", transitive_headers=True)
    if Version(self.version) < "1.10.0" or self.options.get_safe('with_spdlog'):
        self.requires("spdlog/1.11.0", transitive_headers=True, transitive_libs=True)
    if Version(self.version) >= "1.10.0" and self.options.with_zlib:
        self.requires("zlib/1.2.13", transitive_headers=True, transitive_libs=True)