Patchwork [09/20] python-setuptools: Update for python-native changes

login
register
mail settings
Submitter Morgan Little
Date July 13, 2012, 1:54 p.m.
Message ID <1342187709-19368-10-git-send-email-morgan.little@windriver.com>
Download mbox | patch
Permalink /patch/31983/
State New
Headers show

Comments

Morgan Little - July 13, 2012, 1:54 p.m.
Add pythonnative to the inherits list

Signed-off-by: Morgan Little <morgan.little@windriver.com>
---
 .../python/python-setuptools_0.6c11.bb             |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Richard Purdie - July 16, 2012, 8:50 a.m.
On Fri, 2012-07-13 at 09:54 -0400, Morgan Little wrote:
> Add pythonnative to the inherits list
> 
> Signed-off-by: Morgan Little <morgan.little@windriver.com>
> ---
>  .../python/python-setuptools_0.6c11.bb             |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
> index a769714..dbbc4dc 100644
> --- a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
> +++ b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
> @@ -5,7 +5,7 @@ LICENSE = "PSF"
>  LIC_FILES_CHKSUM = "file://setup.py;beginline=23;endline=23;md5=8a314270dd7a8dbca741775415f1716e"
>  
>  SRCNAME = "setuptools"
> -PR = "ml4"
> +PR = "ml3"
>  DEPENDS += "python"
>  DEPENDS_virtclass-native += "python-native"
>  
> @@ -14,7 +14,7 @@ SRC_URI = "\
>  "
>  S = "${WORKDIR}/${SRCNAME}-${PV}"
>  
> -inherit distutils
> +inherit distutils pythonnative

Rather than do this with every user of distutils, would it make sense to
inherit pythonnative in the distutils class? Is there a case we wouldn't
want that inherit?

Cheers,

Richard
Morgan Little - July 18, 2012, 8:07 p.m.
On 12-07-16 04:50 AM, Richard Purdie wrote:
> On Fri, 2012-07-13 at 09:54 -0400, Morgan Little wrote:
>> Add pythonnative to the inherits list
>>
>> Signed-off-by: Morgan Little <morgan.little@windriver.com>
>> ---
>>  .../python/python-setuptools_0.6c11.bb             |    4 ++--
>>  1 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
>> index a769714..dbbc4dc 100644
>> --- a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
>> +++ b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
>> @@ -5,7 +5,7 @@ LICENSE = "PSF"
>>  LIC_FILES_CHKSUM = "file://setup.py;beginline=23;endline=23;md5=8a314270dd7a8dbca741775415f1716e"
>>  
>>  SRCNAME = "setuptools"
>> -PR = "ml4"
>> +PR = "ml3"
>>  DEPENDS += "python"
>>  DEPENDS_virtclass-native += "python-native"
>>  
>> @@ -14,7 +14,7 @@ SRC_URI = "\
>>  "
>>  S = "${WORKDIR}/${SRCNAME}-${PV}"
>>  
>> -inherit distutils
>> +inherit distutils pythonnative
>
> Rather than do this with every user of distutils, would it make sense to
> inherit pythonnative in the distutils class? Is there a case we wouldn't
> want that inherit?
>
> Cheers,
>
> Richard
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

It does make sense. That was a small carry over from when I was going through and fixing issues as they came up.

I've made some changes to distutils and distutils-base and found another recipe that needed to be changed so I'll send a V2 today as long as everything builds without errors.

//Morgan

Patch

diff --git a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
index a769714..dbbc4dc 100644
--- a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
+++ b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
@@ -5,7 +5,7 @@  LICENSE = "PSF"
 LIC_FILES_CHKSUM = "file://setup.py;beginline=23;endline=23;md5=8a314270dd7a8dbca741775415f1716e"
 
 SRCNAME = "setuptools"
-PR = "ml4"
+PR = "ml3"
 DEPENDS += "python"
 DEPENDS_virtclass-native += "python-native"
 
@@ -14,7 +14,7 @@  SRC_URI = "\
 "
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-inherit distutils
+inherit distutils pythonnative
 
 do_install_prepend() {
     install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages