qitoolchain.binary_package.gentoo_portage – Toolchain binary packages Gentoo (with portage dependency)¶
This module implements the Gentoo binary packages class, which takes benefit from portage modules.
This module depends on portage: http://www.gentoo.org/proj/en/portage/index.xml
-
class
qitoolchain.binary_package.gentoo_portage.
GentooPackage
(package_path)¶ This class is to represent a Gentoo binary package endpoint using
portage
.-
extract
(dest_dir)¶ Extract the binary package content, without the metadata, into the
dest_dir
.Parameters: dest_dir – the extraction directory Returns: the root directory of the extracted content
-
get_metadata
()¶ Read the metadata from the binary package and store them in the instance.
Returns: the metadata dictionary
-