public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20160705-83-g6db7de4
@ 2017-05-25 22:08 jturney
  0 siblings, 0 replies; only message in thread
From: jturney @ 2017-05-25 22:08 UTC (permalink / raw)
  To: cygwin-apps-cvs




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

commit 6db7de406660e756c1a4df4a8bbd39c29b53cbca
Author: Ken Brown <kbrown@cornell.edu>
Date:   Tue May 23 14:13:29 2017 -0400

    Allow an obsolete package with source to have empty install tarfiles


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

diff --git a/calm/package.py b/calm/package.py
index 6ddb4a5..b0ec360 100755
--- a/calm/package.py
+++ b/calm/package.py
@@ -636,6 +636,9 @@ def validate_packages(args, packages):
             if packages[p].tars[packages[p].vermap[v]['source']].is_empty:
                 continue
 
+            if '_obsolete' in packages[p].version_hints[v].get('category', ''):
+                continue
+
             if not packages[p].tars[packages[p].vermap[v]['source']].is_used:
                 logging.error("package '%s' version '%s' source has no non-empty install tarfiles" % (p, v))
                 error = True


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-25 22:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-25 22:08 [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20160705-83-g6db7de4 jturney

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).