[Buildroot] [PATCH 6/8] package/python3-pyyaml: add special host variant

Yegor Yefremov yegorslists at googlemail.com
Thu Apr 23 06:55:14 UTC 2020


Hi Ryan,

On Tue, Apr 21, 2020 at 10:00 PM Ryan Barnett <ryan.barnett at collins.com> wrote:
>
> Yegor,
>
> I've been working on testing that your patch series builds/works to
> fix the issue with MongoDB not compiling with Buildroot 2020.02.
> Please see my feedback in regards to your current patch set below:
>
> On Mon, Mar 23, 2020 at 5:50 AM <yegorslists at googlemail.com> wrote:
> >
> > From: Yegor Yefremov <yegorslists at googlemail.com>
> >
> > Needed to build mongodb.
> >
> > Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
> > ---
> >  package/python3-pyyaml/python3-pyyaml.hash |  1 +
> >  package/python3-pyyaml/python3-pyyaml.mk   | 20 ++++++++++++++++++++
> >  2 files changed, 21 insertions(+)
> >  create mode 120000 package/python3-pyyaml/python3-pyyaml.hash
> >  create mode 100644 package/python3-pyyaml/python3-pyyaml.mk
> >
> > diff --git a/package/python3-pyyaml/python3-pyyaml.hash b/package/python3-pyyaml/python3-pyyaml.hash
> > new file mode 120000
> > index 0000000000..afa4932ecb
> > --- /dev/null
> > +++ b/package/python3-pyyaml/python3-pyyaml.hash
> > @@ -0,0 +1 @@
> > +../python-pyyaml/python-pyyaml.hash
> > \ No newline at end of file
> > diff --git a/package/python3-pyyaml/python3-pyyaml.mk b/package/python3-pyyaml/python3-pyyaml.mk
> > new file mode 100644
> > index 0000000000..3026135fca
> > --- /dev/null
> > +++ b/package/python3-pyyaml/python3-pyyaml.mk
> > @@ -0,0 +1,20 @@
> > +################################################################################
> > +#
> > +# python3-pyyaml
> > +#
> > +################################################################################
> > +
> > +# Please keep in sync with
> > +# package/python-pyyaml/python-pyyaml.mk
> > +PYTHON3_PYYAML_VERSION = 5.3
>
> This currently does not work as python-pyyaml has been bumped to version 5.3.1.
>
> https://patchwork.ozlabs.org/project/buildroot/patch/20200326100404.82191-1-james.hilliard1@gmail.com/
>
> Changing version to 5.3.1 fixes this.

Thanks for your feedback and testing. The problem is, there is still
no agreement on how to proceed. One way is to create python3-*
packages and the other is to remove Python2 support (see comments to
my patch [1]).

[1] https://patchwork.ozlabs.org/project/buildroot/patch/20200323104909.16765-3-yegorslists@googlemail.com/

Regards,
Yegor



More information about the buildroot mailing list