'Parse and cache metadata'

@property
def _parsed_pkg_info(self):

    try:
        return self._pkg_info
    except AttributeError:
        metadata = self.get_metadata(self.PKG_INFO)
        self._pkg_info = email.parser.Parser().parsestr(metadata)
        return self._pkg_info
