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:
-rwxr-xr-xcalm/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/calm/package.py b/calm/package.py
index 84958d7..15a81c5 100755
--- a/calm/package.py
+++ b/calm/package.py
@@ -604,6 +604,11 @@ def upgrade_oldstyle_obsoletes(packages):
logging.debug('%s is hardcoded as obsoleted by %s ' % (p, o))
else:
+ # ignore self-destruct packages
+ provides = packages[p].version_hints[vr].get('provides', '')
+ if '_self-destruct' in provides:
+ continue
+
if len(requires) == 0:
# obsolete but has no replacement
logging.warning('%s is obsolete, but has no replacement' % (p))