[game-data-packager] 01/01: fix cross build: host=fedora, target=debian
Alexandre Detiste
detiste-guest at moszumanska.debian.org
Thu Mar 16 19:39:06 UTC 2017
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 d5c824b764bad73195a8a187743e04e279242469
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date: Thu Mar 16 20:38:40 2017 +0100
fix cross build: host=fedora, target=debian
---
game_data_packager/build.py | 2 +-
game_data_packager/packaging/deb.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index f29be86..bd9f8cd 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -1557,7 +1557,7 @@ class PackagingTask(object):
'building packages for a different packaging '
'system')
for tool in self.packaging.BUILD_DEP:
- if not which(tool):
+ if not which(tool) and not(self.packaging.is_installed(tool)):
logger.error('tool "%s" is needed to cross-build packages', tool)
self.missing_tools.add(tool)
if self.missing_tools:
diff --git a/game_data_packager/packaging/deb.py b/game_data_packager/packaging/deb.py
index 6f662c9..daf3493 100644
--- a/game_data_packager/packaging/deb.py
+++ b/game_data_packager/packaging/deb.py
@@ -46,7 +46,7 @@ class DebPackaging(PackagingSystem):
ASSETS = '$datadir/games'
CHECK_CMD = 'lintian'
INSTALL_CMD = ['apt-get', 'install']
- BUILD_DEP = {'dpkg', 'fakeroot'}
+ BUILD_DEP = {'dpkg', 'fakeroot', 'python3-debian'}
PACKAGE_MAP = {
'id-shr-extract': 'dynamite',
'lha': 'lhasa',
--
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