This is the mail archive of the cygwin-apps-cvs mailing list for the cygwin-apps project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[calm - Cygwin server-side packaging maintenance script] branch master, updated. 20160705-83-g6db7de4




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]