def METHOD_NAME(self):
    if self.settings.compiler.get_safe("cppstd"):
        check_min_cppstd(self, self._min_cppstd)
    libzippp_version = str(self.version)
    if libzippp_version != "4.0" and len(libzippp_version.split("-")) != 2:
        raise ConanInvalidConfiguration(f"{self.ref}: version number must include '-'. (ex. '5.0-1.8.0')")
    if self.settings.compiler == "clang" and self.settings.compiler.get_safe("libcxx") == "libc++":
        raise ConanInvalidConfiguration(f"{self.ref} does not support clang with libc++. Use libstdc++ instead.")