[meta-mentor] [PATCH 2/5] avahi-ui: add missing python deps, use python-dir
Michael Brown
eichisama at gmail.com
Tue May 14 15:04:02 PDT 2013
From: Christopher Larson <chris_larson at mentor.com>
Fixes warnings about unpackaged python files.
JIRA: SB-1144
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
(cherry picked from commit 73eb8a4a429ac6738df47b0261ca9fb7ea72f9d3)
Signed-off-by: Michael Brown <mw_brown at mentor.com>
---
recipes/avahi/avahi-ui_0.6.31.bbappend | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/recipes/avahi/avahi-ui_0.6.31.bbappend b/recipes/avahi/avahi-ui_0.6.31.bbappend
index 4aadd4c..42f9d35 100644
--- a/recipes/avahi/avahi-ui_0.6.31.bbappend
+++ b/recipes/avahi/avahi-ui_0.6.31.bbappend
@@ -1,6 +1,8 @@
-PRINC := "${@int(PRINC) + 1}"
+PRINC := "${@int(PRINC) + 2}"
-PYTHON_SITEPACKAGES_DIR = "/usr/lib/python2.7/dist-packages"
+inherit python-dir pythonnative
-EXTRA_OECONF += "--enable-python \
- "
+PACKAGECONFIG ??= "python"
+PACKAGECONFIG[python] = "--enable-python,--disable-python,python-native python,python-core"
+
+FILES_python-avahi += "${PYTHON_SITEPACKAGES_DIR}/avahi_discover"
--
1.7.9.5
More information about the meta-mentor
mailing list