self.restrict_fetch = 0
self.restrict_fetch_satisfied = 0
self.interactive = 0
+ self.binary = 0
def __str__(self):
total_installs = self.upgrades + self.downgrades + self.newslot + self.new + self.reinst
details.append("%s reinstall" % self.reinst)
if self.reinst > 1:
details[-1] += "s"
+ if self.binary > 0:
+ details.append("%s binary" % self.binary)
+ if self.binary > 1:
+ details[-1] = details[-1][:-1] + "ies"
if self.uninst > 0:
details.append("%s uninstall" % self.uninst)
if self.uninst > 1:
if ordered:
if pkg_merge:
counters.reinst += 1
+ if pkg_type == "binary":
+ counters.binary += 1
elif pkg_status == "uninstall":
counters.uninst += 1
# filter out old-style virtual matches
addl += turquoise("U")+blue("D")
if ordered:
counters.downgrades += 1
+ if pkg_type == "binary":
+ counters.binary += 1
else:
# Update in slot
addl += turquoise("U") + " "
if ordered:
counters.upgrades += 1
+ if pkg_type == "binary":
+ counters.binary += 1
else:
# New slot, mark it new.
addl = " " + green("NS") + fetch + " "
myoldbest = vardb.match(portage.cpv_getkey(pkg_key))
if ordered:
counters.newslot += 1
+ if pkg_type == "binary":
+ counters.binary += 1
if "--changelog" in self._frozen_config.myopts:
inst_matches = vardb.match(pkg.slot_atom)
addl = " " + green("N") + " " + fetch + " "
if ordered:
counters.new += 1
+ if pkg_type == "binary":
+ counters.binary += 1
verboseadd = ""
repoadd = None