[OE-core] [PATCH] python-smartpm: add dependency on python-pprint

Bogdan Marinescu bogdan.a.marinescu at intel.com
Tue Jan 8 16:33:48 UTC 2013


smart's "config" command uses the Python pprint module. If it is not
present, "config" fails with this error:

 #############
 # smart config --help
 error: Invalid command 'config'
 #############

This patch adds a dependency on python-pprint which fixes the error.
Tested on qemux86/core-image-sato-sdk.

[YOCTO #3643]

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu at intel.com>
---
 meta/recipes-devtools/python/python-smartpm_1.4.1.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb
index f3dd399..4d0f96b 100644
--- a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb
+++ b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb
@@ -11,7 +11,7 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833"
 
 DEPENDS = "python rpm"
-PR = "r6"
+PR = "r7"
 SRCNAME = "smart"
 
 SRC_URI = "\
@@ -113,7 +113,7 @@ RDEPENDS_smartpm = "${PN}"
 
 RDEPENDS_${PN} += "${PN}-backend-rpm python-codecs python-textutils python-xml python-fcntl \
                    python-pickle python-crypt python-compression python-shell \
-                   python-resource python-netclient python-threading python-unixadmin"
+                   python-resource python-netclient python-threading python-unixadmin python-pprint"
 RDEPENDS_${PN}_class-native = ""
 
 RDEPENDS_${PN}-backend-rpm = "python-rpm"
-- 
1.7.10.4





More information about the Openembedded-core mailing list