From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2201) id E71293858C27; Wed, 13 Oct 2021 12:41:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E71293858C27 To: cygwin-apps-cvs@sourceware.org Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20210626-2-gc7baf4a X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: f62c9f69af7345ff14a9d4a2bae99a80023626e6 X-Git-Newrev: c7baf4a1eeb46e96a1b72dc9a6e483a7621d2996 Message-Id: <20211013124105.E71293858C27@sourceware.org> Date: Wed, 13 Oct 2021 12:41:05 +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: Wed, 13 Oct 2021 12:41:06 -0000 https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=c7baf4a1eeb46e96a1b72dc9a6e483a7621d2996 commit c7baf4a1eeb46e96a1b72dc9a6e483a7621d2996 Author: Jon Turney Date: Wed Oct 13 12:02:15 2021 +0100 Link back from package contents to package summary Diff: --- calm/pkg2html.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/calm/pkg2html.py b/calm/pkg2html.py index 5113d36..30b5211 100755 --- a/calm/pkg2html.py +++ b/calm/pkg2html.py @@ -457,20 +457,20 @@ def write_arch_listing(args, packages, arch): with utils.open_amifc(listing) as f: bv = packages[p].best_version - header = p + ": " + sdesc(packages[p], bv) + desc = sdesc(packages[p], bv) if fver.endswith('-src'): - header = header + " (source)" + desc = desc + " (source)" print(textwrap.dedent('''\ - %s + %s: %s -

%s

-
''' % (header, header)), file=f)
+                                                 

%s: %s

+
''' % (p, desc, p, p, desc)), file=f)
 
                         tf = os.path.join(args.rel_area, to.path, to.fn)
                         if not os.path.exists(tf):