[jhbuild] tarball: Parse <pkg-config>
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] tarball: Parse <pkg-config>
- Date: Thu, 28 Jul 2011 21:36:14 +0000 (UTC)
commit da324a29393686e19e0d49fb44a427d9b3b4a42e
Author: Colin Walters <walters verbum org>
Date: Thu Jul 28 17:36:18 2011 -0400
tarball: Parse <pkg-config>
This really improves sysdeps.
jhbuild/modtypes/tarball.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/modtypes/tarball.py b/jhbuild/modtypes/tarball.py
index d7874bc..3aee3a1 100644
--- a/jhbuild/modtypes/tarball.py
+++ b/jhbuild/modtypes/tarball.py
@@ -27,7 +27,7 @@ try:
except ImportError:
hashlib = None
-from jhbuild.modtypes import register_module_type, get_dependencies
+from jhbuild.modtypes import register_module_type, get_dependencies, find_first_child_node_content
def parse_tarball(node, config, uri, repositories, default_repo):
name = node.getAttribute('id')
@@ -106,6 +106,7 @@ def parse_tarball(node, config, uri, repositories, default_repo):
instance.dependencies = dependencies
instance.after = after
instance.suggests = suggests
+ instance.pkg_config = find_first_child_node_content(node, 'pkg-config')
return instance
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]