The removal of d.setVar should be in a separate commit, with its own
explanation.

Alex

On Tue, 26 Nov 2024 at 18:51, Dan McGregor via lists.openembedded.org
<[email protected]> wrote:
>
> From: Dan McGregor <[email protected]>
>
> Seems every time python is updated this gets removed. That's likely
> because the tk option can't be enabled in python3-native without
> creating a dependency loop.
>
> Instead of manually editing the manifest every time, explicitly
> add it in the recipe as suggested by Alexander Kanavin.
>
> Signed-off-by: Dan McGregor <[email protected]>
> ---
>  meta/recipes-devtools/python/python3_3.13.0.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/python/python3_3.13.0.bb 
> b/meta/recipes-devtools/python/python3_3.13.0.bb
> index 8db5b813738..a393b5e4a07 100644
> --- a/meta/recipes-devtools/python/python3_3.13.0.bb
> +++ b/meta/recipes-devtools/python/python3_3.13.0.bb
> @@ -360,7 +360,6 @@ python(){
>              newpackages.append(pypackage)
>
>          # "Build" python's manifest FILES, RDEPENDS and SUMMARY
> -        d.setVar('FILES:' + pypackage, '')
>          for value in python_manifest[key]['files']:
>              d.appendVar('FILES:' + pypackage, ' ' + value)
>
> @@ -428,6 +427,7 @@ RPROVIDES:${PN}-modules = "${PN}"
>
>  FILES:${PN}-pydoc += "${bindir}/pydoc${PYTHON_MAJMIN} ${bindir}/pydoc3"
>  FILES:${PN}-idle += "${bindir}/idle3 ${bindir}/idle${PYTHON_MAJMIN}"
> +FILES:${PN}-tkinter += 
> "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/_tkinter.*.so"
>
>  # provide python-pyvenv from python3-venv
>  RPROVIDES:${PN}-venv += "${MLPREFIX}python3-pyvenv"
> --
> 2.47.0
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#207876): 
https://lists.openembedded.org/g/openembedded-core/message/207876
Mute This Topic: https://lists.openembedded.org/mt/109793661/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to