Package size summary

def _sizes(self, package):
        """Package size summary
        """
        data = Utils().read_file(self.meta.pkg_path + package)
        for line in data.splitlines():
            if line.startswith("UNCOMPRESSED PACKAGE SIZE:"):
                digit = float((''.join(re.findall(
                    "[-+]?\d+[\.]?\d*[eE]?[-+]?\d*", line[26:]))))
                self.file_size = line[26:].strip()
                if "M" in line[26:]:
                    self.size += digit * 1024
                else:
                    self.size += digit
                    break