From c84fc9ea8318b029eceac650d48a4f1fd90d82bd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 3 Aug 2008 05:51:33 +0000 Subject: 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 --- doc/config/sets.docbook | 32 +++++++++++--------------------- 1 file changed, 11 insertions(+), 21 deletions(-) (limited to 'doc') 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 @@ - - portage.sets.dbapi.InheritSet - - Package set which contains all packages - that inherit one or more specific eclasses. - This class supports the following options: - - inherits: Required. A list of eclass names - which should be used to create the package set. - - - - portage.sets.dbapi.OwnerSet @@ -481,20 +468,23 @@ - - portage.sets.dbapi.RestrictSet + + portage.sets.dbapi.VariableSet Package set which contains all packages - that match specified RESTRICT values. + that match specified values of specified variable. This class supports the following options: + variable: The name of + the specified variable whose values are checked. + includes: A list of - values that must be contained within the RESTRICT - metadata. + values that must be contained within the specified + variable. excludes: A list of - values that must not be contained within the RESTRICT - metadata. + values that must not be contained within the specified + variable. @@ -545,7 +535,7 @@ security: uses NewAffectedSet with default options everything: uses EverythingSet preserved-rebuild: uses PreservedLibraryConsumerSet - live-rebuild: uses InheritSet + live-rebuild: uses VariableSet module-rebuild: uses OwnerSet downgrade: uses DowngradeSet -- cgit v1.2.3-1-g7c22