def METHOD_NAME(self):
    if self.options.get_safe("with_zlib", True):
        self.requires("zlib/1.2.13")
    if self.options.tls == "openssl":
        self.requires("openssl/1.1.1s")
    elif self.options.tls == "mbedtls":
        self.requires("mbedtls/2.25.0")