public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
From: jturney@sourceware.org
To: cygwin-apps-cvs@sourceware.org
Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20180130-1-ga4adfe5
Date: Wed, 31 Jan 2018 18:30:00 -0000	[thread overview]
Message-ID: <20180131183035.46443.qmail@sourceware.org> (raw)




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

commit a4adfe5b458781bf5b515dbcab71f1977194e11c
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Tue Jan 30 22:53:48 2018 +0000

    Don't suppress empty depends2: when that could cause problems
    
    Don't suppress empty depends2: if there might be a preceeding non-empty
    depends2: or requires:
    
    This is neccessary to ensure setup's parsing code doesn't re-use a previous
    non-empty value for the version under consideration.


Diff:
---
 calm/package.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/calm/package.py b/calm/package.py
index 238e048..9d73d1b 100755
--- a/calm/package.py
+++ b/calm/package.py
@@ -862,7 +862,7 @@ def write_setup_ini(args, packages, arch):
             for hints in packages[p].version_hints.values():
                 if 'requires' in hints:
                     requires = set.union(requires, hints['requires'].split())
-            # for historical reasons, empty requires are suppressed
+            # empty requires are suppressed as setup's parser can't handle that
             if requires:
                 print("requires: %s" % ' '.join(sorted(requires)), file=f)
 


                 reply	other threads:[~2018-01-31 18:30 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=20180131183035.46443.qmail@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: link
Be 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).