* [PATCH] distutils-base: Only RDEPEND python-core on target packages
@ 2011-03-04 22:15 Martin Jansa
2011-03-04 22:41 ` Koen Kooi
0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2011-03-04 22:15 UTC (permalink / raw)
To: openembedded-core
* 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@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}']}"
inherit distutils-common-base
--
1.7.4.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] distutils-base: Only RDEPEND python-core on target packages
2011-03-04 22:15 [PATCH] distutils-base: Only RDEPEND python-core on target packages Martin Jansa
@ 2011-03-04 22:41 ` Koen Kooi
2011-03-05 3:19 ` Khem Raj
0 siblings, 1 reply; 4+ messages in thread
From: Koen Kooi @ 2011-03-04 22:41 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
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@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@dominion.thruhere.net>
regards,
Koen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] distutils-base: Only RDEPEND python-core on target packages
2011-03-04 22:41 ` Koen Kooi
@ 2011-03-05 3:19 ` Khem Raj
2011-03-05 8:16 ` Koen Kooi
0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2011-03-05 3:19 UTC (permalink / raw)
To: openembedded-core
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@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@dominion.thruhere.net>
>
> regards,
>
> Koen
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] distutils-base: Only RDEPEND python-core on target packages
2011-03-05 3:19 ` Khem Raj
@ 2011-03-05 8:16 ` Koen Kooi
0 siblings, 0 replies; 4+ messages in thread
From: Koen Kooi @ 2011-03-05 8:16 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Op 5 mrt 2011, om 04:19 heeft Khem Raj het volgende geschreven:
> 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@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}
yes
>
>> For this patch:
>>
>> Acked-by: Koen Kooi<koen@dominion.thruhere.net>
>>
>> regards,
>>
>> Koen
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-03-05 8:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-04 22:15 [PATCH] distutils-base: Only RDEPEND python-core on target packages Martin Jansa
2011-03-04 22:41 ` Koen Kooi
2011-03-05 3:19 ` Khem Raj
2011-03-05 8:16 ` Koen Kooi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.