[calm - Cygwin server-side packaging maintenance script] branch master, updated. 20230209-63-g5559d1a

Jon Turney via Cygwin-apps-cvs <[email protected]> Thu, 18 Jan 2024 22:33:18 +0000 (GMT)
Newsgroups gmane.os.cygwin.cvs.apps
Message-ID <[email protected]>


https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=5559d1aef430dcf3612c4ad5150f0bc027c6d096

commit 5559d1aef430dcf3612c4ad5150f0bc027c6d096
Author: Jon Turney <[email protected]>
Date:   Thu Jan 18 20:25:41 2024 +0000

    Rewrite dependencies on removed python packages
    
    Using the now removed, obsoleted package name causes the solver to want
    to uninstall anything which depends on these, which isn't helpful right
    now.
    
    Theoretically, the information to generate these exists in our "retired
    old-style obsoleting packages" data, but do it manually for speed right
    now.


Diff:
---
 calm/past_mistakes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/calm/past_mistakes.py b/calm/past_mistakes.py
index bbad1bc..4b44f1d 100644
--- a/calm/past_mistakes.py
+++ b/calm/past_mistakes.py
@@ -172,6 +172,7 @@ nonexistent_provides = historical_provides + [
     'python2-devel',
     'python27',
     'python27-.*',
+    'python-gtk2.0',
     # random build-depends
     'python2-cython',
     'python2-wheel',
@@ -198,7 +199,6 @@ substitute_dependency = {
     'python-gnome2': 'python27-gnome2',
     'python-gnomevfs2': 'python27-gnomevfs2',
     'python-gobject': 'python27-gobject',
-    'python-gtk2.0': 'python27-gtk2.0',
     'python-jinja2': 'python27-jinja2',
     'python-keybinder': 'python27-keybinder',
     'python-lxml': 'python27-lxml',