python3: add PACKAGECONFIG[editline]
PATCH 1/1 python3: add PACKAGECONFIG[editline]
editline is a BSD alternative for readline which is GPLv3.
--- meta/recipes-devtools/python/python3_3.10.6.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/python/python3_3.10.6.bb +1 -0
@@ -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" # Use profile guided optimisation by running PyBench inside qemu-user PACKAGECONFIG[pgo] = "--enable-optimizations,,qemu-native" PACKAGECONFIG[tk] = ",,tk"
Signature · 1 line
2.36.1.vfs.0.0
Hi Etienne,
Quoted 12 lines · Etienne Cordonnier via lists.openembedded.org
editline is a BSD alternative for readline which is GPLv3.
Signed-off-by Etienne Cordonnier <[email protected]>--- meta/recipes-devtools/python/python3_3.10.6.bb | 1 + 1 file changed, 1 insertion(+)meta/recipes-devtools/python/python3_3.10.6.bb +0
-0
meta/recipes-devtools/python/python3_3.10.6.bb PACKAGECONFIG:class-target ??= "readline gdbm ${@bb.utils.filter('DISTRO_FEATURE · line 108
Quoted 4 lines
meta/recipes-devtools/python/python3_3.10.6.bb +1
-0@@ -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
Quoted 14 lines
meta/recipes-devtools/python/python3_3.10.6.bb +0
-1# 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 (#170576): https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_message_170576&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=QwQT1E3jSDJ2g0NTR_v12IuTnVPJslfFNt7_11W1SfSnn-87qis_5jjFlcsp3W6V&s=BmvM79DREWtojYRC-ufOj7AZ5khUIuwoZ_cL1VgAGu0&e=
Mute This Topic: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_mt_93654164_6293953&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=QwQT1E3jSDJ2g0NTR_v12IuTnVPJslfFNt7_11W1SfSnn-87qis_5jjFlcsp3W6V&s=QhIFYKrLZ1FS_BL-tsQvUEZtL5Fm4CrGs9aP-ihyae0&e=
Group Owner: [email protected]
Unsubscribe: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_unsub&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=QwQT1E3jSDJ2g0NTR_v12IuTnVPJslfFNt7_11W1SfSnn-87qis_5jjFlcsp3W6V&s=UVe3axFwAeEISx3bG_8YcrRRpZaV4V3DxhtIETyZjz4&e= [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Hi Quentin,
yes, editline is replacing readline in python3, even though editline may have slightly less functionality than readline. I'll edit the patch to add a conflict between editline and readline.
Thanks,
Etienne
Quoted 54 lines · Quentin Schulz
Hi Etienne,
Review
Quoted 8 lines · Etienne Cordonnier via lists.openembedded.org
editline is a BSD alternative for readline which is GPLv3.
Signed-off-by Etienne Cordonnier <[email protected]>--- meta/recipes-devtools/python/python3_3.10.6.bb | 1 + 1 file changed, 1 insertion(+)(quoted diff) +0
-0b/meta/recipes-devtools/python/python3_3.10.6.bb
meta/recipes-devtools/python/python3_3.10.6.bb PACKAGECONFIG:class-target ??= "readline gdbm
Quoted 4 lines
index
1b28728732..6c4ef5c7d1100644meta/recipes-devtools/python/python3_3.10.6.bb +0
-0@@ -105,6 +105,7 @@ PACKAGECONFIG:class-target ??= "readline gdbm${@bb.utils.filter('DISTRO_FEATURE
meta/recipes-devtools/python/python3_3.10.6.bb PACKAGECONFIG:class-target ??= "readline gdbm ${@bb.utils.filter('DISTRO_FEATURE · line 108
Quoted 4 lines
meta/recipes-devtools/python/python3_3.10.6.bb +1
-0PACKAGECONFIG: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
Cheers,
QuentinQuoted 9 lines
meta/recipes-devtools/python/python3_3.10.6.bb +0
-1# 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 (#170576):
Quoted 1 line
Mute This Topic:
Quoted 2 lines
Group Owner: [email protected] Unsubscribe:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_unsub&d=DwIFaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=QwQT1E3jSDJ2g0NTR_v12IuTnVPJslfFNt7_11W1SfSnn-87qis_5jjFlcsp3W6V&s=UVe3axFwAeEISx3bG_8YcrRRpZaV4V3DxhtIETyZjz4&e=
[[email protected]]Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-