From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] package/python: add optional support for lib2to3
Date: Sun, 15 Mar 2020 16:08:15 +0100 [thread overview]
Message-ID: <20200315160815.7d72f067@windsurf> (raw)
In-Reply-To: <20200222185500.221018-1-bernd.kuhls@t-online.de>
On Sat, 22 Feb 2020 19:54:59 +0100
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:
> Kodi is in transition to support python3 instead of python2:
> https://kodi.wiki/view/General_information_about_migration_to_Python_3
>
> "For Kodi 18 (Leia), only addons that are compatible with both Python 2
> and 3 will be accepted to the official addon repository."
>
> Some of these addons depend on the Kodi addon script.module.future to
> provide support for both python versions.
>
> The script.module.future addon contains python-future:
> https://kodi.wiki/view/General_information_about_migration_to_Python_3#Future
> which in turn needs lib2to3 to be included in the target build of
> python2: http://python-future.org/automatic_conversion.html
>
> Kodi addons depending on the script.module.future addon are crashing on
> buildroot due to lib2to3 missing in the build.
>
> LibreELEC added lib2to3 to python2 to fix the problem:
> https://forum.libreelec.tv/thread/21239-lib2to3-pgen2-parse-missing/
> https://github.com/LibreELEC/LibreELEC.tv/pull/4147
>
> This patch provides the Config.in option to be used by Kodi.
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/python/Config.in | 5 +++++
> package/python/python.mk | 7 ++++++-
> 2 files changed, 11 insertions(+), 1 deletion(-)
Both patches applied to master. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2020-03-15 15:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-22 18:54 [Buildroot] [PATCH 1/2] package/python: add optional support for lib2to3 Bernd Kuhls
2020-02-22 18:55 ` [Buildroot] [PATCH 2/2] package/kodi: needs python 2to3 library Bernd Kuhls
2020-03-15 15:08 ` Thomas Petazzoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200315160815.7d72f067@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.