Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] python: ensure all of Python is installed in nativesdk
@ 2014-12-01 16:36 Ross Burton
  2014-12-01 16:36 ` [PATCH 2/2] python: remove spurious nativesdk dependency Ross Burton
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Ross Burton @ 2014-12-01 16:36 UTC (permalink / raw)
  To: openembedded-core

If any part of Python gets installed in a SDK, we need to ensure that all of
Python gets installed to avoid replacing python in the environment with a
minimal package set.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-devtools/python/python_2.7.3.bb |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/python/python_2.7.3.bb b/meta/recipes-devtools/python/python_2.7.3.bb
index 50c751e..7f13e22 100644
--- a/meta/recipes-devtools/python/python_2.7.3.bb
+++ b/meta/recipes-devtools/python/python_2.7.3.bb
@@ -161,6 +161,7 @@ require python-${PYTHON_MAJMIN}-manifest.inc
 # manual dependency additions
 RPROVIDES_${PN}-core = "${PN}"
 RRECOMMENDS_${PN}-core = "${PN}-readline"
+RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python-modules"
 RRECOMMENDS_${PN}-crypt = "openssl"
 RRECOMMENDS_${PN}-crypt_class-nativesdk = "nativesdk-openssl"
 
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/2] python: remove spurious nativesdk dependency
  2014-12-01 16:36 [PATCH 1/2] python: ensure all of Python is installed in nativesdk Ross Burton
@ 2014-12-01 16:36 ` Ross Burton
  2014-12-01 18:08 ` [PATCH 1/2] python: ensure all of Python is installed in nativesdk Laszlo Papp
  2015-01-20  9:36 ` [Dizzy backport] " Javier Viguera
  2 siblings, 0 replies; 7+ messages in thread
From: Ross Burton @ 2014-12-01 16:36 UTC (permalink / raw)
  To: openembedded-core

There's no need to add a dependency on python-crypt_class-native to
nativesdk-openssl as the general dependency there is transformed appropriately.

Presumably this is cruft from back when SDK packages were suffixed instead of
prefixed, and there were mapping problems.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-devtools/python/python_2.7.3.bb |    1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python_2.7.3.bb b/meta/recipes-devtools/python/python_2.7.3.bb
index 7f13e22..9ded75b 100644
--- a/meta/recipes-devtools/python/python_2.7.3.bb
+++ b/meta/recipes-devtools/python/python_2.7.3.bb
@@ -163,7 +163,6 @@ RPROVIDES_${PN}-core = "${PN}"
 RRECOMMENDS_${PN}-core = "${PN}-readline"
 RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python-modules"
 RRECOMMENDS_${PN}-crypt = "openssl"
-RRECOMMENDS_${PN}-crypt_class-nativesdk = "nativesdk-openssl"
 
 # package libpython2
 PACKAGES =+ "lib${BPN}2"
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] python: ensure all of Python is installed in nativesdk
  2014-12-01 16:36 [PATCH 1/2] python: ensure all of Python is installed in nativesdk Ross Burton
  2014-12-01 16:36 ` [PATCH 2/2] python: remove spurious nativesdk dependency Ross Burton
@ 2014-12-01 18:08 ` Laszlo Papp
  2014-12-01 19:02   ` Burton, Ross
  2015-01-20  9:36 ` [Dizzy backport] " Javier Viguera
  2 siblings, 1 reply; 7+ messages in thread
From: Laszlo Papp @ 2014-12-01 18:08 UTC (permalink / raw)
  To: Ross Burton; +Cc: openembedded-core

On Mon, Dec 1, 2014 at 4:36 PM, Ross Burton <ross.burton@intel.com> wrote:
> If any part of Python gets installed in a SDK, we need to ensure that all of
> Python gets installed to avoid replacing python in the environment with a
> minimal package set.
>
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
>  meta/recipes-devtools/python/python_2.7.3.bb |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-devtools/python/python_2.7.3.bb b/meta/recipes-devtools/python/python_2.7.3.bb
> index 50c751e..7f13e22 100644
> --- a/meta/recipes-devtools/python/python_2.7.3.bb
> +++ b/meta/recipes-devtools/python/python_2.7.3.bb
> @@ -161,6 +161,7 @@ require python-${PYTHON_MAJMIN}-manifest.inc
>  # manual dependency additions
>  RPROVIDES_${PN}-core = "${PN}"
>  RRECOMMENDS_${PN}-core = "${PN}-readline"
> +RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python-modules"
>  RRECOMMENDS_${PN}-crypt = "openssl"
>  RRECOMMENDS_${PN}-crypt_class-nativesdk = "nativesdk-openssl"
>
> --
> 1.7.10.4
>
> --

Is it worth referring to bug number 6735?
____________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] python: ensure all of Python is installed in nativesdk
  2014-12-01 18:08 ` [PATCH 1/2] python: ensure all of Python is installed in nativesdk Laszlo Papp
@ 2014-12-01 19:02   ` Burton, Ross
  0 siblings, 0 replies; 7+ messages in thread
From: Burton, Ross @ 2014-12-01 19:02 UTC (permalink / raw)
  To: Laszlo Papp; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 170 bytes --]

On 1 December 2014 at 18:08, Laszlo Papp <lpapp@kde.org> wrote:

> Is it worth referring to bug number 6735?
>

Yes, done locally, thanks for reminding me.

Ross

[-- Attachment #2: Type: text/html, Size: 542 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Dizzy backport] python: ensure all of Python is installed in nativesdk
  2014-12-01 16:36 [PATCH 1/2] python: ensure all of Python is installed in nativesdk Ross Burton
  2014-12-01 16:36 ` [PATCH 2/2] python: remove spurious nativesdk dependency Ross Burton
  2014-12-01 18:08 ` [PATCH 1/2] python: ensure all of Python is installed in nativesdk Laszlo Papp
@ 2015-01-20  9:36 ` Javier Viguera
  2015-01-20 15:48   ` Burton, Ross
  2 siblings, 1 reply; 7+ messages in thread
From: Javier Viguera @ 2015-01-20  9:36 UTC (permalink / raw)
  To: openembedded-core@lists.openembedded.org

Hi all,

Toolchains/SDK generated with Dizzy have the problem this commit fixes.

So could this be cherry-picked to Dizzy?

It applies just fine, there is no need to rework it.

-
Regards,

Javier Viguera


On 01/12/14 17:36, Ross Burton wrote:
> If any part of Python gets installed in a SDK, we need to ensure that all of
> Python gets installed to avoid replacing python in the environment with a
> minimal package set.
>
> Signed-off-by: Ross Burton <ross.burton-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> ---
>   meta/recipes-devtools/python/python_2.7.3.bb |    1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-devtools/python/python_2.7.3.bb b/meta/recipes-devtools/python/python_2.7.3.bb
> index 50c751e..7f13e22 100644
> --- a/meta/recipes-devtools/python/python_2.7.3.bb
> +++ b/meta/recipes-devtools/python/python_2.7.3.bb
> @@ -161,6 +161,7 @@ require python-${PYTHON_MAJMIN}-manifest.inc
>   # manual dependency additions
>   RPROVIDES_${PN}-core = "${PN}"
>   RRECOMMENDS_${PN}-core = "${PN}-readline"
> +RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python-modules"
>   RRECOMMENDS_${PN}-crypt = "openssl"
>   RRECOMMENDS_${PN}-crypt_class-nativesdk = "nativesdk-openssl"
>
>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Dizzy backport] python: ensure all of Python is installed in nativesdk
  2015-01-20  9:36 ` [Dizzy backport] " Javier Viguera
@ 2015-01-20 15:48   ` Burton, Ross
  2015-01-21  6:02     ` akuster808
  0 siblings, 1 reply; 7+ messages in thread
From: Burton, Ross @ 2015-01-20 15:48 UTC (permalink / raw)
  To: Javier Viguera, Armin Kuster; +Cc: openembedded-core@lists.openembedded.org

[-- Attachment #1: Type: text/plain, Size: 1672 bytes --]

CC'ing Armin to ensure that he see's this.

Ross

On 20 January 2015 at 09:36, Javier Viguera <javier.viguera@digi.com> wrote:

> Hi all,
>
> Toolchains/SDK generated with Dizzy have the problem this commit fixes.
>
> So could this be cherry-picked to Dizzy?
>
> It applies just fine, there is no need to rework it.
>
> -
> Regards,
>
> Javier Viguera
>
>
> On 01/12/14 17:36, Ross Burton wrote:
>
>> If any part of Python gets installed in a SDK, we need to ensure that all
>> of
>> Python gets installed to avoid replacing python in the environment with a
>> minimal package set.
>>
>> Signed-off-by: Ross Burton <ross.burton-ral2JQCrhuEAvxtiuMwx3w@public.
>> gmane.org>
>> ---
>>   meta/recipes-devtools/python/python_2.7.3.bb |    1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/meta/recipes-devtools/python/python_2.7.3.bb
>> b/meta/recipes-devtools/python/python_2.7.3.bb
>> index 50c751e..7f13e22 100644
>> --- a/meta/recipes-devtools/python/python_2.7.3.bb
>> +++ b/meta/recipes-devtools/python/python_2.7.3.bb
>> @@ -161,6 +161,7 @@ require python-${PYTHON_MAJMIN}-manifest.inc
>>   # manual dependency additions
>>   RPROVIDES_${PN}-core = "${PN}"
>>   RRECOMMENDS_${PN}-core = "${PN}-readline"
>> +RRECOMMENDS_${PN}-core_append_class-nativesdk = "
>> nativesdk-python-modules"
>>   RRECOMMENDS_${PN}-crypt = "openssl"
>>   RRECOMMENDS_${PN}-crypt_class-nativesdk = "nativesdk-openssl"
>>
>>
>>  --
> _______________________________________________
>
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 2965 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Dizzy backport] python: ensure all of Python is installed in nativesdk
  2015-01-20 15:48   ` Burton, Ross
@ 2015-01-21  6:02     ` akuster808
  0 siblings, 0 replies; 7+ messages in thread
From: akuster808 @ 2015-01-21  6:02 UTC (permalink / raw)
  To: Burton, Ross, Javier Viguera; +Cc: openembedded-core@lists.openembedded.org

On 1/20/15, 7:48 AM, Burton, Ross wrote:

will get it. thanks.

Armin
> CC'ing Armin to ensure that he see's this.
>
> Ross
>
> On 20 January 2015 at 09:36, Javier Viguera <javier.viguera@digi.com 
> <mailto:javier.viguera@digi.com>> wrote:
>
>     Hi all,
>
>     Toolchains/SDK generated with Dizzy have the problem this commit
>     fixes.
>
>     So could this be cherry-picked to Dizzy?
>
>     It applies just fine, there is no need to rework it.
>
>     -
>     Regards,
>
>     Javier Viguera
>
>
>     On 01/12/14 17:36, Ross Burton wrote:
>
>         If any part of Python gets installed in a SDK, we need to
>         ensure that all of
>         Python gets installed to avoid replacing python in the
>         environment with a
>         minimal package set.
>
>         Signed-off-by: Ross Burton
>         <ross.burton-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
>         <mailto:ross.burton-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>>
>         ---
>           meta/recipes-devtools/python/python_2.7.3.bb
>         <http://python_2.7.3.bb> |    1 +
>           1 file changed, 1 insertion(+)
>
>         diff --git a/meta/recipes-devtools/python/python_2.7.3.bb
>         <http://python_2.7.3.bb>
>         b/meta/recipes-devtools/python/python_2.7.3.bb
>         <http://python_2.7.3.bb>
>         index 50c751e..7f13e22 100644
>         --- a/meta/recipes-devtools/python/python_2.7.3.bb
>         <http://python_2.7.3.bb>
>         +++ b/meta/recipes-devtools/python/python_2.7.3.bb
>         <http://python_2.7.3.bb>
>         @@ -161,6 +161,7 @@ require python-${PYTHON_MAJMIN}-manifest.inc
>           # manual dependency additions
>           RPROVIDES_${PN}-core = "${PN}"
>           RRECOMMENDS_${PN}-core = "${PN}-readline"
>         +RRECOMMENDS_${PN}-core_append_class-nativesdk = "
>         nativesdk-python-modules"
>           RRECOMMENDS_${PN}-crypt = "openssl"
>           RRECOMMENDS_${PN}-crypt_class-nativesdk = "nativesdk-openssl"
>
>
>     -- 
>     _______________________________________________
>
>     Openembedded-core mailing list
>     Openembedded-core@lists.openembedded.org
>     <mailto:Openembedded-core@lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-01-21  6:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-01 16:36 [PATCH 1/2] python: ensure all of Python is installed in nativesdk Ross Burton
2014-12-01 16:36 ` [PATCH 2/2] python: remove spurious nativesdk dependency Ross Burton
2014-12-01 18:08 ` [PATCH 1/2] python: ensure all of Python is installed in nativesdk Laszlo Papp
2014-12-01 19:02   ` Burton, Ross
2015-01-20  9:36 ` [Dizzy backport] " Javier Viguera
2015-01-20 15:48   ` Burton, Ross
2015-01-21  6:02     ` akuster808

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox