gentle.pms.portagepm#

Implementation of package management features with Portage API.

gentle.pms.portagepm.src_unpack(ebuild: Path, tmpdir: str) Path#

Unpack the sources using Portage.

Parameters:
  • ebuild – path to the ebuild file

  • tmpdir – temporary directory

Returns:

value of ${S}

gentle.pms.portagepm.parse_mxml(xmlfile: Path) Upstream#

Parse metadata.xml files using Portage.

Parameters:

xmlfile – path to the metadata.xml file

Returns:

upstream metadata information