[game-data-packager] 04/05: Build_from: list GOG zip archives

Alexandre Detiste detiste-guest at moszumanska.debian.org
Sat Sep 19 08:28:28 UTC 2015


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

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

commit 521fd16cb5afb50684d41b18f853c0bc0a99c965
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Sat Sep 19 10:21:06 2015 +0200

    Build_from: list GOG zip archives
---
 game_data_packager/__init__.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index 2948b5f..72637c4 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -1692,6 +1692,8 @@ class GameData(object):
                                fileobj=fsys_process.stdout) as tar:
                             self.consider_tar_stream(found_name, tar, provider)
                 elif fmt == 'zip':
+                    if provider.name.startswith('gog_'):
+                        package.used_sources.add(provider.name)
                     with zipfile.ZipFile(found_name, 'r') as zf:
                         self.consider_zip(found_name, zf, provider)
                 elif fmt == 'lha':

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