def METHOD_NAME(self):
    self.tool_requires("gnu-config/cci.20201022")
    self.tool_requires("pkgconf/1.7.4")
    if self._settings_build.os == "Windows" and not tools.get_env("CONAN_BASH_PATH"):
        self.tool_requires("msys2/cci.latest")
    if self.settings.compiler == "Visual Studio":
        self.tool_requires("automake/1.16.5")