Module portage

Ensure that a package managed by Portage is installed or absent.

Info:

Functions

present(version, deep, newuse, nodeps, noreplace, oneshot, onlydeps, sync, update, unmask)
Install package atom. See emerge(1).

Promiser:

    package atom. Can be "category/package" or "category/package-version"

Aliases:

  • installed
  • install

Parameters:

  • version package version
  • deep evaluate entire dependency tree [Default: false]
  • newuse reinstall packages that had a change in its USE flags [Default: false]
  • nodeps do not merge dependencies [Default: false]
  • noreplace skip already installed packages [Default: false]
  • oneshot do not update the world file [Default: true]
  • onlydeps only merge dependencies [Default: false]
  • sync perform an emerge --sync before installing packages) [Default: false]
  • update update package to the best version [Default: false]
  • unmask enable auto-unmask and auto-unmask-write options [Default: false]

Usage:

    portage.present("dev-util/strace"){
        version = "4.8"
    }
    portage.present("dev-util/strace-4.8")()
    portage.present("dev-util/strace")()
absent(atom, depclean)
Remove package atom.

Promiser:

    package atom. Can be "category/package" or "category/package-version"

Aliases:

    remove

Parameters:

  • atom package atom to unmerge [REQUIRED] [ALIAS: package]
  • depclean Remove packages not associated with explicitly installed packages [DEFAULT: false]

Usage:

    portage.absent("dev-util/strace")()
generated by LDoc 1.4.6 Last updated 2017-05-09 15:50:38