From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2201) id D9DB83838786; Sat, 25 Jun 2022 13:00:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D9DB83838786 To: cygwin-apps-cvs@sourceware.org Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20210626-55-g3509dd0 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 39ee07ed3713329bde426fd9efa53f1bed5df89e X-Git-Newrev: 3509dd0f85fd68e4bb70bbf6d08a9fa0384a6c57 Message-Id: <20220625130006.D9DB83838786@sourceware.org> Date: Sat, 25 Jun 2022 13:00:06 +0000 (GMT) From: Jon TURNEY X-BeenThere: cygwin-apps-cvs@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin-apps git logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jun 2022 13:00:07 -0000 https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=3509dd0f85fd68e4bb70bbf6d08a9fa0384a6c57 commit 3509dd0f85fd68e4bb70bbf6d08a9fa0384a6c57 Author: Jon Turney 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('install package(s): %s

' % ', '.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('install package(s): %s

' % ', '.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('homepage: %s

' % (homepage, homepage), file=f)