[OE-core] [PATCH 09/20] python-setuptools: Update for python-native changes

Richard Purdie richard.purdie at linuxfoundation.org
Mon Jul 16 08:50:37 UTC 2012


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 at 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






More information about the Openembedded-core mailing list