code: def parse_pkg_info(fn):
      
      res = {}
      for ln in open(fn).read().splitlines():
          if not ln or not ln[:1].strip():
              continue
          key, value = ln.split(": ", 1)
          res[key] = value
      return res
docs: :param str fn:
      :rtype: dict[str,str]