[jhbuild] sysdeps --install now work with partial_build = False (GNOME bug 681344)
- From: Craig Keogh <cskeogh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] sysdeps --install now work with partial_build = False (GNOME bug 681344)
- Date: Tue, 23 Oct 2012 11:27:44 +0000 (UTC)
commit 0f5cb8a5a39b29ddcbc1bd04edfaad53dfaaed2b
Author: Craig Keogh <cskeogh adam com au>
Date: Sat Oct 13 20:40:10 2012 +1030
sysdeps --install now work with partial_build = False (GNOME bug 681344)
jhbuild/commands/sysdeps.py | 46 +++++++++++++++++++++---------------------
1 files changed, 23 insertions(+), 23 deletions(-)
---
diff --git a/jhbuild/commands/sysdeps.py b/jhbuild/commands/sysdeps.py
index 4ab5a05..b221bb5 100644
--- a/jhbuild/commands/sysdeps.py
+++ b/jhbuild/commands/sysdeps.py
@@ -147,28 +147,28 @@ class cmd_sysdeps(cmd_build):
if len(uninstalled_pkgconfigs) == 0:
print _(' (none)')
- if options.install:
- installer = SystemInstall.find_best()
- if installer is None:
- # FIXME: This should be implemented per Colin's design:
- # https://bugzilla.gnome.org/show_bug.cgi?id=682104#c3
- if cmds.has_command('apt-get'):
- raise FatalError(_("%(cmd)s is required to install "
- "packages on this system. Please "
- "install %(cmd)s.")
- % {'cmd' : 'apt-file'})
-
- raise FatalError(_("Don't know how to install packages on this system"))
-
- if (len(uninstalled_pkgconfigs) +
- len(uninstalled_filenames)) == 0:
- logging.info(_("No uninstalled system dependencies to install for modules: %r" % (modules, )))
- else:
- logging.info(_("Installing dependencies on system: %s" % \
- ' '.join([pkg[0] for pkg in
- uninstalled_pkgconfigs +
- uninstalled_filenames])))
- installer.install(uninstalled_pkgconfigs,
- uninstalled_filenames)
+ if options.install:
+ installer = SystemInstall.find_best()
+ if installer is None:
+ # FIXME: This should be implemented per Colin's design:
+ # https://bugzilla.gnome.org/show_bug.cgi?id=682104#c3
+ if cmds.has_command('apt-get'):
+ raise FatalError(_("%(cmd)s is required to install "
+ "packages on this system. Please "
+ "install %(cmd)s.")
+ % {'cmd' : 'apt-file'})
+
+ raise FatalError(_("Don't know how to install packages on this system"))
+
+ if (len(uninstalled_pkgconfigs) +
+ len(uninstalled_filenames)) == 0:
+ logging.info(_("No uninstalled system dependencies to install for modules: %r" % (modules, )))
+ else:
+ logging.info(_("Installing dependencies on system: %s" % \
+ ' '.join([pkg[0] for pkg in
+ uninstalled_pkgconfigs +
+ uninstalled_filenames])))
+ installer.install(uninstalled_pkgconfigs,
+ uninstalled_filenames)
register_command(cmd_sysdeps)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]