[game-data-packager] 02/03: PackagingTask: inherit compress_deb from game
Simon McVittie
smcv at debian.org
Thu Oct 1 23:22:05 UTC 2015
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 0028509e8fcabde700e55ce5e2fc8e0675090bb8
Author: Simon McVittie <smcv at debian.org>
Date: Fri Oct 2 00:13:02 2015 +0100
PackagingTask: inherit compress_deb from game
---
game_data_packager/__init__.py | 7 +++++++
game_data_packager/build.py | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index 76af7a3..1e48b7e 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -340,6 +340,13 @@ class GameData(object):
self.argument_parser = None
+ # How to compress the .deb:
+ # True: dpkg-deb's default
+ # False: -Znone
+ # str: -Zstr (gzip, xz or none)
+ # list: arbitrary options (e.g. -z9 -Zgz -Sfixed)
+ self.compress_deb = True
+
for k in ('longname', 'copyright', 'compress_deb', 'help_text',
'engine', 'genre', 'missing_langs', 'franchise', 'wiki',
'steam', 'gog', 'dotemu', 'origin', 'url_misc', 'wikipedia'):
diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index 8c33cbe..1ae9079 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -374,7 +374,7 @@ class PackagingTask(object):
# False: -Znone
# str: -Zstr (gzip, xz or none)
# list: arbitrary options (e.g. -z9 -Zgz -Sfixed)
- self.compress_deb = True
+ self.compress_deb = game.compress_deb
def __del__(self):
self.__exit__()
--
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