@classmethod<EOL><INDENT>def from_pipfile_lock_entry(cls, package_name: str, entry: dict, develop: bool, meta: "<STR_LIT>"):<DEDENT>
_LOGGER.debug("<STR_LIT>", package_name, entry)<EOL>entry = dict(entry)<EOL>if any(not entry.get(conf) for conf in ("<STR_LIT:version>", "<STR_LIT>")):<EOL><INDENT>raise PipfileParseError(<EOL>f"<STR_LIT>"<EOL>)<EOL><DEDENT>instance = cls(<EOL>name=package_name,<EOL>version=entry.pop("<STR_LIT:version>"),<EOL>index=cls._get_index_from_meta(meta, package_name, entry.pop("<STR_LIT:index>", None)),<EOL>hashes=entry.pop("<STR_LIT>"),<EOL>markers=entry.pop("<STR_LIT>", None),<EOL>develop=develop,<EOL>)<EOL>if entry:<EOL><INDENT>_LOGGER.warning(f"<STR_LIT>")<EOL><DEDENT>return instance<EOL>
Construct PackageVersion instance from representation as stated in Pipfile.lock.