All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-browser][PATCH] chromium.inc: Use setuptools3 instead of setuptools bbclass
@ 2020-06-22 22:11 Chandana kalluri
  2020-06-22 23:55 ` [oe] " Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Chandana kalluri @ 2020-06-22 22:11 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Sai Hari Chandana Kalluri

From dunfell onwards, python2 recipes and classes are not supported. Inherit
setuptools3.bbclass for chromium instead of setuptools.bbclass

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
---
 recipes-browser/chromium/chromium.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-browser/chromium/chromium.inc b/recipes-browser/chromium/chromium.inc
index a483ec4..49947be 100644
--- a/recipes-browser/chromium/chromium.inc
+++ b/recipes-browser/chromium/chromium.inc
@@ -18,7 +18,7 @@ TOOLCHAIN = "clang"
 # to build the native recipes (e.g. GN) with clang too.
 TOOLCHAIN_class-native = "clang"
 
-inherit python3native setuptools
+inherit python3native setuptools3
 
 # Chromium itself is licensed under the 3-clause BSD license. However, it
 # depends upon several other projects whose copyright files are listed in
-- 
2.7.4


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

* Re: [oe] [meta-browser][PATCH] chromium.inc: Use setuptools3 instead of setuptools bbclass
  2020-06-22 22:11 [meta-browser][PATCH] chromium.inc: Use setuptools3 instead of setuptools bbclass Chandana kalluri
@ 2020-06-22 23:55 ` Khem Raj
  2020-06-23  0:17   ` Chandana kalluri
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2020-06-22 23:55 UTC (permalink / raw)
  To: Chandana kalluri, openembedded-devel; +Cc: Sai Hari Chandana Kalluri



On 6/22/20 3:11 PM, Chandana kalluri wrote:
>  From dunfell onwards, python2 recipes and classes are not supported. Inherit
> setuptools3.bbclass for chromium instead of setuptools.bbclass
> 
> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
> ---
>   recipes-browser/chromium/chromium.inc | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-browser/chromium/chromium.inc b/recipes-browser/chromium/chromium.inc
> index a483ec4..49947be 100644
> --- a/recipes-browser/chromium/chromium.inc
> +++ b/recipes-browser/chromium/chromium.inc
> @@ -18,7 +18,7 @@ TOOLCHAIN = "clang"
>   # to build the native recipes (e.g. GN) with clang too.
>   TOOLCHAIN_class-native = "clang"
>   
> -inherit python3native setuptools
> +inherit python3native setuptools3

it still needs python2, better patch is to add meta-python2 to 
meta-browser layer dependencies

e.g in conf/layer.conf
LAYERDEPENDS_browser-layer = "clang-layer core openembedded-layer"


>   
>   # Chromium itself is licensed under the 3-clause BSD license. However, it
>   # depends upon several other projects whose copyright files are listed in
> 
> 
> 
> 

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

* Re: [oe] [meta-browser][PATCH] chromium.inc: Use setuptools3 instead of setuptools bbclass
  2020-06-22 23:55 ` [oe] " Khem Raj
@ 2020-06-23  0:17   ` Chandana kalluri
  0 siblings, 0 replies; 3+ messages in thread
From: Chandana kalluri @ 2020-06-23  0:17 UTC (permalink / raw)
  To: Khem Raj, openembedded-devel


> -----Original Message-----
> From: Khem Raj <raj.khem@gmail.com>
> Sent: Monday, June 22, 2020 4:55 PM
> To: Chandana Kalluri <ckalluri@xilinx.com>; openembedded-
> devel@lists.openembedded.org
> Cc: Chandana Kalluri <ckalluri@xilinx.com>
> Subject: Re: [oe] [meta-browser][PATCH] chromium.inc: Use setuptools3
> instead of setuptools bbclass
> 
> 
> 
> On 6/22/20 3:11 PM, Chandana kalluri wrote:
> >  From dunfell onwards, python2 recipes and classes are not supported.
> > Inherit setuptools3.bbclass for chromium instead of setuptools.bbclass
> >
> > Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
> > ---
> >   recipes-browser/chromium/chromium.inc | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/recipes-browser/chromium/chromium.inc
> > b/recipes-browser/chromium/chromium.inc
> > index a483ec4..49947be 100644
> > --- a/recipes-browser/chromium/chromium.inc
> > +++ b/recipes-browser/chromium/chromium.inc
> > @@ -18,7 +18,7 @@ TOOLCHAIN = "clang"
> >   # to build the native recipes (e.g. GN) with clang too.
> >   TOOLCHAIN_class-native = "clang"
> >
> > -inherit python3native setuptools
> > +inherit python3native setuptools3
> 
> it still needs python2, better patch is to add meta-python2 to meta-browser
> layer dependencies
> 
> e.g in conf/layer.conf
> LAYERDEPENDS_browser-layer = "clang-layer core openembedded-layer"
> 
> 
Will try this out. 

Thanks,
Chandana
> >
> >   # Chromium itself is licensed under the 3-clause BSD license. However, it
> >   # depends upon several other projects whose copyright files are
> > listed in
> >
> >
> > 
> >

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

end of thread, other threads:[~2020-06-23  0:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22 22:11 [meta-browser][PATCH] chromium.inc: Use setuptools3 instead of setuptools bbclass Chandana kalluri
2020-06-22 23:55 ` [oe] " Khem Raj
2020-06-23  0:17   ` Chandana kalluri

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.