tmpsettings["EBUILD_FORCE_TEST"] = "1"
tmpsettings.backup_changes("EBUILD_FORCE_TEST")
if "test" not in tmpsettings.features:
- tmpsettings.features.append("test")
- tmpsettings.features.sort()
- tmpsettings["FEATURES"] = " ".join(tmpsettings.features)
+ tmpsettings.features.add("test")
+ tmpsettings["FEATURES"] = " ".join(sorted(tmpsettings.features))
tmpsettings.backup_changes("FEATURES")
if opts.skip_manifest:
if "usersandbox" in self.features:
self.features.remove("usersandbox")
- self.features.sort()
- self["FEATURES"] = " ".join(self.features)
+ self["FEATURES"] = " ".join(sorted(self.features))
self.backup_changes("FEATURES")
self._init_dirs()
myflags.add(var_lower + "_" + x)
if not hasattr(self, "features"):
- self.features = sorted(set(
- self.configlist[-1].get("FEATURES","").split()))
+ self.features = set(
+ self.configlist[-1].get("FEATURES","").split())
self["FEATURES"] = " ".join(self.features)
myflags.update(self.useforce)
return 1
# qmerge is a special phase that implies noclean.
if "noclean" not in mysettings.features:
- mysettings.features.append("noclean")
+ mysettings.features.add("noclean")
#qmerge is specifically not supposed to do a runtime dep check
retval = merge(
mysettings["CATEGORY"], mysettings["PF"], mysettings["D"],