public inbox for cygwin-apps-cvs@sourceware.org help / color / mirror / Atom feed
From: Jon Turney <jturney@sourceware.org> To: cygwin-apps-cvs@sourceware.org Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20230209-61-g74e7968 Date: Thu, 18 Jan 2024 19:12:43 +0000 (GMT) [thread overview] Message-ID: <20240118191244.3410D3858C29@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=74e796870e2480cde4d14c622cef7369a8e10d2b commit 74e796870e2480cde4d14c622cef7369a8e10d2b Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Tue Oct 17 13:37:14 2023 +0100 Expunge all python2 modules Diff: --- calm/package.py | 4 ++-- calm/past_mistakes.py | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/calm/package.py b/calm/package.py index f84d494..f70fb98 100755 --- a/calm/package.py +++ b/calm/package.py @@ -1636,10 +1636,10 @@ def mark_fn(packages, po, v, certain_age, vault_requests): # - if package depends on anything in expired_provides # requires = po.version_hints[v].get('depends', '').split(', ') - if re.match(r'^python(|2|27)-', pn): + if re.match(r'^python(|2|27)[-_]', pn): if any(ep in requires for ep in past_mistakes.expired_provides) or po.obsolete: logging.debug("package '%s' version '%s' not retained as it requires a provide known to be expired" % (pn, v)) - return Freshness.conditional + return Freshness.stale # - explicitly marked as 'noretain' # diff --git a/calm/past_mistakes.py b/calm/past_mistakes.py index 5b7ddb1..c8fbde9 100644 --- a/calm/past_mistakes.py +++ b/calm/past_mistakes.py @@ -171,10 +171,37 @@ nonexistent_provides = historical_provides + [ 'python2', 'python2-devel', 'python27', + 'python-appindicator', + 'python-avahi', + 'python-cairo', + 'python-chardet', + 'python-dbus', + 'python-docutils', + 'python-fontforge', + 'python-gconf', + 'python-gi', + 'python-gnome2', + 'python-gnomevfs2', + 'python-gobject', + 'python-gtk2.0', + 'python-jinja2', + 'python-keybinder', 'python-lxml', + 'python-marisa', 'python-mx', + 'python-numpy', + 'python-orbit', 'python-pygments', + 'python-pykde4', 'python-pynotify', + 'python-pyqt4', + 'python-rdflib', + 'python-reportlab', + 'python-twisted', + 'python-vte', + 'python-wnck', + 'python-xdg', + 'python-zeitgeist', '_windows', r'perl5_\d+', r'ruby_\d+',
reply other threads:[~2024-01-18 19:12 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20240118191244.3410D3858C29@sourceware.org \ --to=jturney@sourceware.org \ --cc=cygwin-apps-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).