Skip to contentSkip to conversation

chromium: change to python3

PATCH In review Ming Liu 2 participants 2 messages Sep 23, 2020

lore
Share & tools
lore

Ming Liu

author
#0 lore raw

PATCH 1/1 chromium: change to python3

From: Ming Liu <[email protected]>

python support has been dropped from OE since dunfell, let's change to python3.

---
 recipes-browser/chromium/chromium.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-browser/chromium/chromium.inc +1 -1
index b351114..0d1a761 100644
@@ -18,7 +18,7 @@ TOOLCHAIN = "clang"
 # to build the native recipes (e.g. GN) with clang too.
 TOOLCHAIN_class-native = "clang"
 
-inherit pythonnative 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
Signature · 1 line
2.28.0
#1 lore raw

https://bugs.chromium.org/p/chromium/issues/detail?id=942720

is still far from finished.

Using python from host and assuming it's python2 is much worse than pythonnative inherit and using meta-python2.

Quoted 31 lines · Ming Liu

From: Ming Liu <[email protected]>

python support has been dropped from OE since dunfell, let's change to python3.

---
 recipes-browser/chromium/chromium.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-browser/chromium/chromium.inc +1 -2
index b351114..0d1a761 100644
@@ -18,7 +18,7 @@ TOOLCHAIN = "clang"
 # to build the native recipes (e.g. GN) with clang too.
 TOOLCHAIN_class-native = "clang"
 
-inherit pythonnative 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.28.0