Skip to content

Instantly share code, notes, and snippets.

@bacher09
Created May 26, 2012 12:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bacher09/2793840 to your computer and use it in GitHub Desktop.
Save bacher09/2793840 to your computer and use it in GitHub Desktop.
working with portage abstract layer, pseudocode
port_tree = PortageTree()
for package in port_tree.iter_packages():
for ebuild in package.iter_ebuilds():
ebuild.get_info() # get info about ebuild
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment