def METHOD_NAME(self):
    for patch in self.conan_data.get("patches", {}).get(self.version, []):
        tools.patch(**patch)
    pc_in = os.path.join(self._source_subfolder, "build", "serf.pc.in")
    tools.save(pc_in, tools.load(pc_in))