[game-data-packager] 09/10: build: For each package, summarize what gaps we failed to fill

Simon McVittie smcv at debian.org
Sun Apr 30 21:11:04 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch master
in repository game-data-packager.

commit 2bbc3ccceefcaba786a38b8e3d7deffd76eb9cca
Author: Simon McVittie <smcv at debian.org>
Date:   Sun Apr 30 19:01:13 2017 +0100

    build: For each package, summarize what gaps we failed to fill
---
 game_data_packager/build.py | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index a645b4c..e61eb99 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -567,6 +567,15 @@ class PackagingTask(object):
                 # it is mandatory
                 result &= self.file_status[wanted.name]
 
+        for wanted in package.install_files:
+            if wanted.name not in self.found:
+                for alt in wanted.alternatives:
+                    if alt in self.found:
+                        break
+                else:
+                    logger.debug('unable to fill gap for %s: %s',
+                            package.name, wanted.name)
+
         self.package_status[package.name] = result
         logger.debug('%s: %s', package.name, result)
         return result

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list