diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-08-03 05:51:33 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-08-03 05:51:33 +0000 |
commit | c84fc9ea8318b029eceac650d48a4f1fd90d82bd (patch) | |
tree | d989ca90a36589c22fb56beb360d03a1afddb559 /doc | |
parent | b5bb808906b6121cebc9736238bd125252e21460 (diff) | |
download | portage-c84fc9ea8318b029eceac650d48a4f1fd90d82bd.tar.gz portage-c84fc9ea8318b029eceac650d48a4f1fd90d82bd.tar.bz2 portage-c84fc9ea8318b029eceac650d48a4f1fd90d82bd.zip |
Add a more generic VariableSet to replace the InheritSet and RestrictSet
classes. Thanks to Arfrever Frehtes Taifersar Arahesis for this patch from
bug #233589 (with some minor adjustments from me).
svn path=/main/trunk/; revision=11320
Diffstat (limited to 'doc')
-rw-r--r-- | doc/config/sets.docbook | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/doc/config/sets.docbook b/doc/config/sets.docbook index 052ace0d4..14e171fb2 100644 --- a/doc/config/sets.docbook +++ b/doc/config/sets.docbook @@ -455,19 +455,6 @@ </para> </sect3> </sect2> - <sect2 id='config-set-classes-InheritSet'> - <title>portage.sets.dbapi.InheritSet</title> - <para> - Package set which contains all packages - that inherit one or more specific eclasses. - This class supports the following options: - <itemizedlist> - <listitem><varname>inherits</varname>: Required. A list of eclass names - which should be used to create the package set. - </listitem> - </itemizedlist> - </para> - </sect2> <sect2 id='config-set-classes-OwnerSet'> <title>portage.sets.dbapi.OwnerSet</title> <para> @@ -481,20 +468,23 @@ </itemizedlist> </para> </sect2> - <sect2 id='config-set-classes-RestrictSet'> - <title>portage.sets.dbapi.RestrictSet</title> + <sect2 id='config-set-classes-VariableSet'> + <title>portage.sets.dbapi.VariableSet</title> <para> Package set which contains all packages - that match specified RESTRICT values. + that match specified values of specified variable. This class supports the following options: <itemizedlist> + <listitem><varname>variable</varname>: The name of + the specified variable whose values are checked. + </listitem> <listitem><varname>includes</varname>: A list of - values that must be contained within the RESTRICT - metadata. + values that must be contained within the specified + variable. </listitem> <listitem><varname>excludes</varname>: A list of - values that must not be contained within the RESTRICT - metadata. + values that must not be contained within the specified + variable. </listitem> </itemizedlist> </para> @@ -545,7 +535,7 @@ <listitem><varname>security</varname>: uses <classname>NewAffectedSet</classname> with default options</listitem> <listitem><varname>everything</varname>: uses <classname>EverythingSet</classname></listitem> <listitem><varname>preserved-rebuild</varname>: uses <classname>PreservedLibraryConsumerSet</classname></listitem> - <listitem><varname>live-rebuild</varname>: uses <classname>InheritSet</classname></listitem> + <listitem><varname>live-rebuild</varname>: uses <classname>VariableSet</classname></listitem> <listitem><varname>module-rebuild</varname>: uses <classname>OwnerSet</classname></listitem> <listitem><varname>downgrade</varname>: uses <classname>DowngradeSet</classname></listitem> </itemizedlist> |