[oe-commits] Tom Rini : distutils-base: Only RDEPEND python-core on target packages

git version control git at git.openembedded.org
Tue Oct 5 22:32:47 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 8377b8ec57f35b9e5b81a74c77f68fd6e02949c8
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8377b8ec57f35b9e5b81a74c77f68fd6e02949c8

Author: Tom Rini <tom_rini at mentor.com>
Date:   Tue Oct  5 15:30:40 2010 -0700

distutils-base: Only RDEPEND python-core on target packages

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 classes/distutils-base.bbclass |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/classes/distutils-base.bbclass b/classes/distutils-base.bbclass
index 2e151de..59864f7 100644
--- a/classes/distutils-base.bbclass
+++ b/classes/distutils-base.bbclass
@@ -1,5 +1,4 @@
 DEPENDS  += "${@["python-native python", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}"
-RDEPENDS += "python-core"
+RDEPENDS += "${@['', 'python-core']['${PN}' == '${BPN}']}"
 
 inherit distutils-common-base
-





More information about the Openembedded-commits mailing list