[game-data-packager] 21/25: Override fill_extra_files instead of fill_dest_dir
Simon McVittie
smcv at debian.org
Sun Oct 9 21:26:07 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 460b0f496b988e0c226e06e08eb4d6221b8aa2e8
Author: Simon McVittie <smcv at debian.org>
Date: Sun Oct 9 18:51:24 2016 +0100
Override fill_extra_files instead of fill_dest_dir
---
game_data_packager/games/lgeneral.py | 4 ++--
game_data_packager/games/morrowind.py | 4 ++--
game_data_packager/games/quake2.py | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/game_data_packager/games/lgeneral.py b/game_data_packager/games/lgeneral.py
index 6cff876..8477bb8 100644
--- a/game_data_packager/games/lgeneral.py
+++ b/game_data_packager/games/lgeneral.py
@@ -58,9 +58,9 @@ class LGeneralTask(PackagingTask):
assert self.game.packages['lgeneral-data-nonfree'] in ready
return ready
- def fill_dest_dir(self, package, destdir):
+ def fill_extra_files(self, package, destdir):
assert package.name == 'lgeneral-data-nonfree'
- super(LGeneralTask, self).fill_dest_dir(package, destdir)
+ super(LGeneralTask, self).fill_extra_files(package, destdir)
installdir = os.path.join(destdir, 'usr/share/games/lgeneral')
unpackdir = os.path.join(self.get_workdir(), 'tmp', 'pg-data.tar.gz.d')
diff --git a/game_data_packager/games/morrowind.py b/game_data_packager/games/morrowind.py
index aa5339f..f302ee0 100644
--- a/game_data_packager/games/morrowind.py
+++ b/game_data_packager/games/morrowind.py
@@ -29,8 +29,8 @@ class MorrowindGameData(GameData):
return MorrowindTask(self, **kwargs)
class MorrowindTask(PackagingTask):
- def fill_dest_dir(self, package, destdir):
- super(MorrowindTask, self).fill_dest_dir(package, destdir)
+ def fill_extra_files(self, package, destdir):
+ super(MorrowindTask, self).fill_extra_files(package, destdir)
install_to = self.packaging.substitute(package.install_to,
package.name)
diff --git a/game_data_packager/games/quake2.py b/game_data_packager/games/quake2.py
index 0025fe4..33dd9e4 100644
--- a/game_data_packager/games/quake2.py
+++ b/game_data_packager/games/quake2.py
@@ -30,8 +30,8 @@ class Quake2GameData(GameData):
return Quake2Task(self, **kwargs)
class Quake2Task(PackagingTask):
- def fill_dest_dir(self, package, destdir):
- super(Quake2Task, self).fill_dest_dir(package, destdir)
+ def fill_extra_files(self, package, destdir):
+ super(Quake2Task, self).fill_extra_files(package, destdir)
if package.name not in ('quake2-reckoning-data',
'quake2-groundzero-data'):
--
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