Hi Etienne,

On 9/13/22 14:39, Etienne Cordonnier via lists.openembedded.org wrote:
editline is a BSD alternative for readline which is GPLv3.

Signed-off-by: Etienne Cordonnier <ecordonn...@snap.com>
---
  meta/recipes-devtools/python/python3_3.10.6.bb | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/python/python3_3.10.6.bb 
b/meta/recipes-devtools/python/python3_3.10.6.bb
index 1b28728732..6c4ef5c7d1 100644
--- a/meta/recipes-devtools/python/python3_3.10.6.bb
+++ b/meta/recipes-devtools/python/python3_3.10.6.bb
@@ -105,6 +105,7 @@ PACKAGECONFIG:class-target ??= "readline gdbm 
${@bb.utils.filter('DISTRO_FEATURE
  PACKAGECONFIG:class-native ??= "readline gdbm"
  PACKAGECONFIG:class-nativesdk ??= "readline gdbm"
  PACKAGECONFIG[readline] = ",,readline"
+PACKAGECONFIG[editline] = "--with-readline=editline,,libedit"

Is libedit supposed to replace readline entirely in python3? If so, I'm wondering if it'd make sense to make readline and editline PACKAGECONFIG's packageconfig-conflicts-for-f1 the other so that we cannot have both configs enabled at the same time?

C.f. last entry in https://docs.yoctoproject.org/ref-manual/variables.html#term-PACKAGECONFIG

Cheers,
Quentin

  # Use profile guided optimisation by running PyBench inside qemu-user
  PACKAGECONFIG[pgo] = "--enable-optimizations,,qemu-native"
  PACKAGECONFIG[tk] = ",,tk"





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#170578): 
https://lists.openembedded.org/g/openembedded-core/message/170578
Mute This Topic: https://lists.openembedded.org/mt/93654164/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to