def METHOD_NAME(self):
    if self.options.with_lz4:
        self.requires("lz4/1.9.4")
    if self.options.with_zlib in ["zlib-ng", "zlib-ng-compat"]:
        self.requires("zlib-ng/2.1.3")
    elif self.options.with_zlib == "zlib":
        self.requires("zlib/1.2.13")
    if self.options.with_zstd:
        self.requires("zstd/1.5.5")