Patchwork python-smartpm: add dependency on python-pprint

login
register
mail settings
Submitter Bogdan Marinescu
Date Jan. 8, 2013, 4:33 p.m.
Message ID <1357662828-3148-1-git-send-email-bogdan.a.marinescu@intel.com>
Download mbox | patch
Permalink /patch/42335/
State Accepted
Commit 54021c2a4183c21a16f1325f79c0ab7f78162a43
Headers show

Comments

Bogdan Marinescu - Jan. 8, 2013, 4:33 p.m.
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@intel.com>
---
 meta/recipes-devtools/python/python-smartpm_1.4.1.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

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"