def METHOD_NAME(self):
    self.cpp_info.set_property("cmake_file_name", "docopt")
    self.cpp_info.set_property("cmake_target_name", self._cmake_target)
    self.cpp_info.set_property("pkg_config_name", "docopt")
    # TODO: back to global scope in conan v2 once cmake_find_package_* generators removed
    self.cpp_info.components["docopt"].libs = ["docopt"]
    if self.settings.os in ["Linux", "FreeBSD"]:
        self.cpp_info.components["docopt"].system_libs = ["m"]
    if is_msvc(self) and self.options.shared:
        self.cpp_info.components["docopt"].defines = ["DOCOPT_DLL"]
    if self.options.boost_regex:
        self.cpp_info.components["docopt"].requires.append("boost::boost")
    # TODO: to remove in conan v2 once cmake_find_package_* & pkg_config generators removed
    self.cpp_info.names["cmake_find_package"] = "docopt"
    self.cpp_info.names["cmake_find_package_multi"] = "docopt"
    self.cpp_info.names["pkg_config"] = "docopt"
    self.cpp_info.components["docopt"].names["cmake_find_package"] = self._cmake_target
    self.cpp_info.components["docopt"].names["cmake_find_package_multi"] = self._cmake_target
    self.cpp_info.components["docopt"].build_modules["cmake_find_package"] = [self._module_file_rel_path]
    self.cpp_info.components["docopt"].build_modules["cmake_find_package_multi"] = [self._module_file_rel_path]
    self.cpp_info.components["docopt"].set_property("cmake_target_name", self._cmake_target)