def METHOD_NAME(self):
    if self.options.with_idna == "icu":
        self.requires("icu/72.1")
    elif self.options.with_idna == "libidn":
        self.requires("libidn/1.36")
    elif self.options.with_idna == "libidn2":
        self.requires("libidn2/2.3.0")
    if self.options.with_idna in ("libidn", "libidn2"):
        self.requires("libunistring/0.9.10")