aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStanislav Ochotnicky <sochotnicky@gmail.com>2009-07-23 13:58:49 +0200
committerStanislav Ochotnicky <sochotnicky@gmail.com>2009-07-23 13:58:49 +0200
commit05b08316cfaa79290ee8fed498eb9e92c7943abc (patch)
tree9c3e507a8a341cb77d2b71775d96bc13efd4b7b2 /src
parentAdded output of retrieved info to files (diff)
downloadcollagen-05b08316cfaa79290ee8fed498eb9e92c7943abc.tar.gz
collagen-05b08316cfaa79290ee8fed498eb9e92c7943abc.tar.bz2
collagen-05b08316cfaa79290ee8fed498eb9e92c7943abc.zip
Skip unmerging packages from system set
Diffstat (limited to 'src')
-rw-r--r--src/tinderbox/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tinderbox/__init__.py b/src/tinderbox/__init__.py
index 2d18348..c487f5d 100644
--- a/src/tinderbox/__init__.py
+++ b/src/tinderbox/__init__.py
@@ -10,6 +10,7 @@ import re
import string
from string import atoi
import portage
+import portage._sets as psets
from traceback import print_exc, format_exc
@@ -31,6 +32,7 @@ class Tinderbox(object):
self.trees = portage.create_trees()
self.settings["PORTAGE_VERBOSE"]="1"
self.settings.backup_changes("PORTAGE_VERBOSE")
+ self.setconf = psets.SetConfig(None, self.settings, self.trees)
def start_tinderbox(self):
@@ -210,6 +212,8 @@ class Tinderbox(object):
package_infos.append(package.get_info())
for dep in group:
+ if dep[1] in self.setconf.getSetAtoms("system"):
+ pass
dep_cat, dep_pv = portage.catsplit(dep[1])
ret = portage.unmerge(dep_cat, dep_pv, portage.root, settings, True, vartree=vartree)