Module Expr Str ImportFrom alias FunctionDef arguments args defaults body Expr Str Return IfExp CompareIn Str NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body TryExcept body Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Import alias Return Dict Str Str NameLoad Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call SubscriptLoad NameLoad Index Str NameLoad NameLoad NameLoad Return Dict Str Str NameLoad Dict Str Str NameLoad NameLoad Return Dict Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body TryExcept body Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad NameLoad handlers ExceptHandler type NameLoad body Import alias Return Dict Str Str NameLoad Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body If UnaryOpNot NameLoad body Expr Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad Return Dict Str NameLoad Return Dict Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Dict Str Str Str Str Dict Str NameLoad NameLoad If NameLoad body Assign NameStore Call NameLoad Str NameLoad NameLoad SubscriptLoad NameLoad Index Str If SubscriptLoad NameLoad Index Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str SubscriptLoad NameLoad Index Str orelse If CompareIs SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Return NameLoad If NameLoad body Assign NameStore Call NameLoad Str NameLoad NameLoad SubscriptLoad NameLoad Index Str If SubscriptLoad NameLoad Index Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str SubscriptLoad NameLoad Index Str orelse If CompareIs SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Return NameLoad If NameLoad body Assign NameStore Call NameLoad Str NameLoad NameLoad SubscriptLoad NameLoad Index Str If SubscriptLoad NameLoad Index Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str SubscriptLoad NameLoad Index Str orelse If CompareIs SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Return NameLoad If NameLoad body Assign NameStore Call NameLoad Str NameLoad NameLoad SubscriptLoad NameLoad Index Str If SubscriptLoad NameLoad Index Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str SubscriptLoad NameLoad Index Str orelse If CompareIs SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Return NameLoad If NameLoad body Assign NameStore Call NameLoad Str NameLoad NameLoad SubscriptLoad NameLoad Index Str If SubscriptLoad NameLoad Index Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str SubscriptLoad NameLoad Index Str orelse If CompareIs SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Return NameLoad If NameLoad body Assign NameStore Call NameLoad Str NameLoad SubscriptLoad NameLoad Index Str If SubscriptLoad NameLoad Index Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str orelse If CompareIs SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Return NameLoad If NameLoad body Assign NameStore Call NameLoad Str NameLoad SubscriptLoad NameLoad Index Str If SubscriptLoad NameLoad Index Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str orelse If CompareIs SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Return NameLoad If BoolOpAnd SubscriptLoad NameLoad Index Str UnaryOpNot SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list
N/A N/A 
Management of Portage package configuration on Gentoo
=====================================================

A state module to manage Portage configuration on Gentoo

.. code-block:: yaml

    salt:
        portage_config.flags:
            - use:
                - openssl
 __future__ absolute_import __virtual__ N/A N/A N/A N/A N/A 
    Only load if the portage_config module is available in __salt__
     N/A N/A N/A portage_config.get_missing_flags __salt__ portage_config False N/A mod_init N/A N/A low N/A N/A N/A 
    Enforce a nice structure on the configuration files.
     N/A N/A N/A N/A N/A __salt__ N/A portage_config.enforce_nice_config N/A N/A N/A Exception N/A N/A False N/A True N/A _flags_helper N/A N/A conf atom new_flags test N/A False N/A N/A N/A N/A new_flags N/A N/A __salt__ N/A portage_config.get_missing_flags conf atom new_flags N/A N/A N/A Exception N/A N/A traceback N/A N/A result comment False N/A N/A traceback format_exc N/A new_flags N/A N/A old_flags N/A N/A __salt__ N/A portage_config.get_flags_from_package_conf conf atom N/A N/A test N/A N/A N/A N/A __salt__ N/A portage_config.append_to_package_conf conf atom new_flags N/A N/A result changes True N/A old new old_flags new_flags N/A N/A result None N/A _mask_helper N/A N/A conf atom test N/A False N/A N/A N/A N/A is_present N/A N/A __salt__ N/A portage_config.is_present conf atom N/A N/A N/A Exception N/A N/A traceback N/A N/A result comment False N/A N/A traceback format_exc N/A N/A is_present N/A N/A N/A test N/A N/A N/A N/A __salt__ N/A portage_config.append_to_package_conf conf string atom N/A N/A result True N/A N/A result None N/A flags N/A N/A name use accept_keywords env license properties unmask mask N/A None None None None None False False N/A N/A 
    Enforce the given flags on the given package or ``DEPEND`` atom.

    .. warning::

        In most cases, the affected package(s) need to be rebuilt in
        order to apply the changes.

    name
        The name of the package or its DEPEND atom
    use
        A list of ``USE`` flags
    accept_keywords
        A list of keywords to accept. ``~ARCH`` means current host arch, and will
        be translated into a line without keywords
    env
        A list of environment files
    license
        A list of accepted licenses
    properties
        A list of additional properties
    unmask
        A boolean to unmask the package
    mask
        A boolean to mask the package
     N/A ret N/A changes comment name result N/A name True N/A use N/A N/A result N/A _flags_helper use name use N/A __opts__ N/A test N/A N/A result N/A result N/A N/A N/A N/A ret N/A changes N/A use N/A result N/A changes N/A N/A N/A N/A result N/A result False N/A N/A N/A ret N/A result False N/A N/A ret N/A comment N/A result N/A comment N/A ret N/A accept_keywords N/A N/A result N/A _flags_helper accept_keywords name accept_keywords N/A __opts__ N/A test N/A N/A result N/A result N/A N/A N/A N/A ret N/A changes N/A accept_keywords N/A result N/A changes N/A N/A N/A N/A result N/A result False N/A N/A N/A ret N/A result False N/A N/A ret N/A comment N/A result N/A comment N/A ret N/A env N/A N/A result N/A _flags_helper env name env N/A __opts__ N/A test N/A N/A result N/A result N/A N/A N/A N/A ret N/A changes N/A env N/A result N/A changes N/A N/A N/A N/A result N/A result False N/A N/A N/A ret N/A result False N/A N/A ret N/A comment N/A result N/A comment N/A ret N/A license N/A N/A result N/A _flags_helper license name license N/A __opts__ N/A test N/A N/A result N/A result N/A N/A N/A N/A ret N/A changes N/A license N/A result N/A changes N/A N/A N/A N/A result N/A result False N/A N/A N/A ret N/A result False N/A N/A ret N/A comment N/A result N/A comment N/A ret N/A properties N/A N/A result N/A _flags_helper properties name properties N/A __opts__ N/A test N/A N/A result N/A result N/A N/A N/A N/A ret N/A changes N/A properties N/A result N/A changes N/A N/A N/A N/A result N/A result False N/A N/A N/A ret N/A result False N/A N/A ret N/A comment N/A result N/A comment N/A ret N/A mask N/A N/A result N/A _mask_helper mask name N/A __opts__ N/A test N/A N/A result N/A result N/A N/A N/A N/A ret N/A changes N/A mask masked N/A N/A N/A N/A result N/A result False N/A N/A N/A ret N/A result False N/A N/A ret N/A comment N/A result N/A comment N/A ret N/A unmask N/A N/A result N/A _mask_helper unmask name N/A __opts__ N/A test N/A N/A result N/A result N/A N/A N/A N/A ret N/A changes N/A unmask unmasked N/A N/A N/A N/A result N/A result False N/A N/A N/A ret N/A result False N/A N/A ret N/A comment N/A result N/A comment N/A ret N/A N/A N/A __opts__ N/A test N/A N/A ret N/A result N/A N/A N/A ret N/A result None N/A ret N/A