Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2023-05-03 19:08:06 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2023-05-03 19:08:06 +0300
commit6ad4c4fde1af6d299836ab32ee1aae13eb48f427 (patch)
tree2ab7b8fecd93401d1e2b3bcee963d4392052a21a
parentdf6c091c36d3406796f9c20f2386f59e4ab70518 (diff)
Don't list obsoleted packages in rebuild report
-rw-r--r--calm/reports.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/calm/reports.py b/calm/reports.py
index 1773840..f659cf5 100644
--- a/calm/reports.py
+++ b/calm/reports.py
@@ -219,6 +219,9 @@ def provides_rebuild(args, packages, reportfile, provide_package):
if d == pp_provide:
continue
+ if po.obsoleted_by:
+ continue
+
# requires an old provide
pr = types.SimpleNamespace()
pr.pn = p