[calm - Cygwin server-side packaging maintenance script] branch master, updated. 20230209-110-g6d0234c
Jon Turney
jturney@sourceware.org
Sat May 4 16:41:58 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=6d0234cf6e9e0bf052d669d3480549a7517b1bd1
commit 6d0234cf6e9e0bf052d669d3480549a7517b1bd1
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date: Sat May 4 17:36:20 2024 +0100
Also allow remembered, synthetic obsoletes: in valid_requires
Diff:
---
calm/package.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/calm/package.py b/calm/package.py
index 98fdd34..03afeca 100755
--- a/calm/package.py
+++ b/calm/package.py
@@ -772,6 +772,11 @@ def validate_packages(args, packages, valid_provides_extra=None, missing_obsolet
packages[p].obsoleted_by = set()
packages[p].orphaned = False
+ # it's also valid to requires: packages which are named in a synthetic
+ # obsoletes:
+ for r in missing_obsolete_extra.values():
+ valid_requires.update(r)
+
# it's also valid to obsoletes: packages which have been removed
valid_obsoletes = set(valid_requires)
if valid_provides_extra:
More information about the Cygwin-apps-cvs
mailing list