[game-data-packager] 02/05: lgeneral: Move lintian overrides from code to data
Simon McVittie
smcv at debian.org
Tue May 2 09:41:08 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 352c396e1a62f86ad6bd114e4d8e02e64016dc92
Author: Simon McVittie <smcv at debian.org>
Date: Tue May 2 08:34:02 2017 +0100
lgeneral: Move lintian overrides from code to data
Gbp-Dch: ignore
---
data/lgeneral.yaml | 3 +++
game_data_packager/games/lgeneral.py | 5 -----
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/data/lgeneral.yaml b/data/lgeneral.yaml
index 5892e0d..85b4094 100644
--- a/data/lgeneral.yaml
+++ b/data/lgeneral.yaml
@@ -19,6 +19,9 @@ packages:
# The actual game files are converted by lgc-pg, in Python code.
install:
- pg-data.tar.gz
+ # this file is timestamped but will never change (we have hashes)
+ lintian_overrides:
+ - package-contains-timestamped-gzip usr/share/games/lgeneral/pg-data.tar.gz
files:
pg-data.tar.gz:
diff --git a/game_data_packager/games/lgeneral.py b/game_data_packager/games/lgeneral.py
index 8477bb8..798eb97 100644
--- a/game_data_packager/games/lgeneral.py
+++ b/game_data_packager/games/lgeneral.py
@@ -77,9 +77,4 @@ class LGeneralTask(PackagingTask):
subprocess.check_call(['lgc-pg', '-s', unpackdir + '/pg-data/',
'-d', installdir + '/'])
- # this file is timestamped but will never change (we have hashes)
- self.packaging.override_lintian(destdir, package.name,
- 'package-contains-timestamped-gzip',
- 'usr/share/games/lgeneral/pg-data.tar.gz')
-
GAME_DATA_SUBCLASS = LGeneralGameData
--
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