[OE-core] [PATCH] distutils-base: Only RDEPEND python-core on target packages

Koen Kooi koen at dominion.thruhere.net
Fri Mar 4 22:41:23 UTC 2011


Op 4 mrt 2011, om 23:15 heeft Martin Jansa het volgende geschreven:

> * fixes ie setuptools, without this patch it RDEPENDs on python-core-native, which is not RPROVIDED by anything
> * imported from OE 8377b8ec57f35b9e5b81a74c77f68fd6e02949c8
> 
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
> meta/classes/distutils-base.bbclass |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/classes/distutils-base.bbclass b/meta/classes/distutils-base.bbclass
> index 2e151de..e84b0fc 100644
> --- a/meta/classes/distutils-base.bbclass
> +++ b/meta/classes/distutils-base.bbclass
> @@ -1,5 +1,5 @@
> DEPENDS  += "${@["python-native python", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}"
> -RDEPENDS += "python-core"
> +RDEPENDS_${PN} += "${@['', 'python-core']['${PN}' == '${BPN}']}"

Minor nit: the two check seem to do the same, should we make them the same? 

For this patch:

Acked-by: Koen Kooi <koen at dominion.thruhere.net>

regards,

Koen



More information about the Openembedded-core mailing list