Merge pull request #2684 from pentoo/updates20260210

binpkgs-missing: rebuild less
This commit is contained in:
github-actions[bot] 2026-02-10 21:00:55 +00:00 committed by GitHub
commit 8227a9dc36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,12 +11,12 @@ bindb = portage.db[root]["bintree"].dbapi
existing = []
for cpv in bindb.cpv_all():
try:
installed_build_time, = vardb.aux_get(str(cpv), ['BUILD_TIME'])
except KeyError:
continue
if installed_build_time.strip() == str(cpv.build_time):
existing.append(str(cpv))
try:
installed_build_time, = vardb.aux_get(str(cpv), ['BUILD_TIME'])
except KeyError:
continue
if installed_build_time.strip() >= str(cpv.build_time):
existing.append(str(cpv))
for cpv in sorted(set(vardb.cpv_all()).difference(existing)):
sys.stdout.write("=%s\n" % cpv)
sys.stdout.write("=%s\n" % cpv)