[game-data-packager] 03/06: Remove support for install_files in game data
Simon McVittie
smcv at debian.org
Mon Jan 25 10:26:29 UTC 2016
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 f712937cf5c79136f8de9f69cad2e1919b766e55
Author: Simon McVittie <smcv at debian.org>
Date: Mon Jan 25 09:08:53 2016 +0000
Remove support for install_files in game data
Its use as a shorthand syntax has been superseded by groups, and the
naming is confusing now that we have package.install_files.
---
doc/tags.txt | 5 -----
game_data_packager/__init__.py | 8 +-------
2 files changed, 1 insertion(+), 12 deletions(-)
diff --git a/doc/tags.txt b/doc/tags.txt
index 0031354..83da679 100644
--- a/doc/tags.txt
+++ b/doc/tags.txt
@@ -68,11 +68,6 @@ packages:
optional: list
doc: list
license: list
- install_files:
- <file>:
- sha1:
- sha256:
- size:
files:
<file>:
diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index 3b3a009..56b3262 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -796,17 +796,11 @@ class GameData(object):
if 'version' in d:
package.version = d['version'] + '+' + GAME_PACKAGE_VERSION
- self._populate_files(d.get('install_files'), install_package=package)
-
- def _populate_files(self, d, install_package=None,
- **kwargs):
+ def _populate_files(self, d, **kwargs):
if d is None:
return
for filename, data in d.items():
- if install_package is not None:
- install_package.install.add(filename)
-
f = self._ensure_file(filename)
for k in kwargs:
--
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