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. 20210626-55-g3509dd0 Date: Sat, 25 Jun 2022 13:00:06 +0000 (GMT) [thread overview] Message-ID: <20220625130006.D9DB83838786@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=3509dd0f85fd68e4bb70bbf6d08a9fa0384a6c57 commit 3509dd0f85fd68e4bb70bbf6d08a9fa0384a6c57 Author: Jon Turney <jon.turney@dronecode.org.uk> Date: Sat Jun 18 14:09:42 2022 +0100 Show all install packages for a source package Show the union of install packages over all architecture in the source package summary page. Diff: --- calm/pkg2html.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/calm/pkg2html.py b/calm/pkg2html.py index 565e515..04e0836 100755 --- a/calm/pkg2html.py +++ b/calm/pkg2html.py @@ -238,7 +238,12 @@ def update_package_listings(args, packages): if po.kind == package.Kind.source: es = p - print('<span class="detail">install package(s)</span>: %s<br><br>' % ', '.join([linkify_package(p) for p in sorted(po.is_used_by)]), file=f) + + install_packages = set() + for arch in pos: + install_packages.update(pos[arch].is_used_by) + print('<span class="detail">install package(s)</span>: %s<br><br>' % ', '.join([linkify_package(p) for p in sorted(install_packages)]), file=f) + homepage = po.version_hints[po.best_version].get('homepage', None) if homepage: print('<span class="detail">homepage</span>: <a href="%s">%s</a><br><br>' % (homepage, homepage), file=f)
reply other threads:[~2022-06-25 13:00 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=20220625130006.D9DB83838786@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).