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

Khem Raj raj.khem at gmail.com
Sat Mar 5 03:19:47 UTC 2011


On 3/4/2011 2:41 PM, Koen Kooi wrote:
>
> 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?
>

Do you mean checks for DEPENDS and RDEPEND_${PN}

> For this patch:
>
> Acked-by: Koen Kooi<koen at dominion.thruhere.net>
>
> regards,
>
> Koen
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core





More information about the Openembedded-core mailing list