[1/2] python3-blivetgui: use setuptools_legacy

Message ID 20220307121112.1844760-1-ross.burton@arm.com
State New
Headers show
Series [1/2] python3-blivetgui: use setuptools_legacy | expand

Commit Message

Ross Burton March 7, 2022, 12:11 p.m. UTC
The setup.py installs to arbitrary target paths, so can't use the new
bdist_wheel installation method.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Khem Raj March 7, 2022, 4:42 p.m. UTC | #1
Can you rebase this on master-next ?

On Mon, Mar 7, 2022 at 4:11 AM Ross Burton <ross@burtonini.com> wrote:
>
> The setup.py installs to arbitrary target paths, so can't use the new
> bdist_wheel installation method.
>
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
>  .../recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb   | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb b/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb
> index 995fb49622..7c3af1a8be 100644
> --- a/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb
> +++ b/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb
> @@ -16,7 +16,7 @@ SRC_URI = "git://github.com/storaged-project/blivet-gui.git;branch=master;protoc
>  inherit features_check
>  REQUIRED_DISTRO_FEATURES = "x11 systemd"
>
> -inherit setuptools3 python3native
> +inherit setuptools3_legacy python3native
>
>  RDEPENDS:${PN} = "python3-pygobject python3 \
>                    python3-blivet gtk+3  \
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#95847): https://lists.openembedded.org/g/openembedded-devel/message/95847
> Mute This Topic: https://lists.openembedded.org/mt/89610237/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Ross Burton March 7, 2022, 5:01 p.m. UTC | #2
Done and sent a v3 containing all of the patches in one series.

Ross

On Mon, 7 Mar 2022 at 16:42, Khem Raj <raj.khem@gmail.com> wrote:
>
> Can you rebase this on master-next ?
>
> On Mon, Mar 7, 2022 at 4:11 AM Ross Burton <ross@burtonini.com> wrote:
> >
> > The setup.py installs to arbitrary target paths, so can't use the new
> > bdist_wheel installation method.
> >
> > Signed-off-by: Ross Burton <ross.burton@arm.com>
> > ---
> >  .../recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb   | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb b/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb
> > index 995fb49622..7c3af1a8be 100644
> > --- a/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb
> > +++ b/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb
> > @@ -16,7 +16,7 @@ SRC_URI = "git://github.com/storaged-project/blivet-gui.git;branch=master;protoc
> >  inherit features_check
> >  REQUIRED_DISTRO_FEATURES = "x11 systemd"
> >
> > -inherit setuptools3 python3native
> > +inherit setuptools3_legacy python3native
> >
> >  RDEPENDS:${PN} = "python3-pygobject python3 \
> >                    python3-blivet gtk+3  \
> > --
> > 2.25.1
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#95847): https://lists.openembedded.org/g/openembedded-devel/message/95847
> > Mute This Topic: https://lists.openembedded.org/mt/89610237/1997914
> > Group Owner: openembedded-devel+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
Khem Raj March 7, 2022, 5:25 p.m. UTC | #3
Awesome, thanks!

On Mon, Mar 7, 2022 at 9:01 AM Ross Burton <ross@burtonini.com> wrote:
>
> Done and sent a v3 containing all of the patches in one series.
>
> Ross
>
> On Mon, 7 Mar 2022 at 16:42, Khem Raj <raj.khem@gmail.com> wrote:
> >
> > Can you rebase this on master-next ?
> >
> > On Mon, Mar 7, 2022 at 4:11 AM Ross Burton <ross@burtonini.com> wrote:
> > >
> > > The setup.py installs to arbitrary target paths, so can't use the new
> > > bdist_wheel installation method.
> > >
> > > Signed-off-by: Ross Burton <ross.burton@arm.com>
> > > ---
> > >  .../recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb   | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb b/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb
> > > index 995fb49622..7c3af1a8be 100644
> > > --- a/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb
> > > +++ b/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb
> > > @@ -16,7 +16,7 @@ SRC_URI = "git://github.com/storaged-project/blivet-gui.git;branch=master;protoc
> > >  inherit features_check
> > >  REQUIRED_DISTRO_FEATURES = "x11 systemd"
> > >
> > > -inherit setuptools3 python3native
> > > +inherit setuptools3_legacy python3native
> > >
> > >  RDEPENDS:${PN} = "python3-pygobject python3 \
> > >                    python3-blivet gtk+3  \
> > > --
> > > 2.25.1
> > >
> > >
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > > Links: You receive all messages sent to this group.
> > > View/Reply Online (#95847): https://lists.openembedded.org/g/openembedded-devel/message/95847
> > > Mute This Topic: https://lists.openembedded.org/mt/89610237/1997914
> > > Group Owner: openembedded-devel+owner@lists.openembedded.org
> > > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > >

Patch

diff --git a/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb b/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb
index 995fb49622..7c3af1a8be 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb
+++ b/meta-python/recipes-extended/python-blivet/python3-blivetgui_2.3.0.bb
@@ -16,7 +16,7 @@  SRC_URI = "git://github.com/storaged-project/blivet-gui.git;branch=master;protoc
 inherit features_check
 REQUIRED_DISTRO_FEATURES = "x11 systemd"
 
-inherit setuptools3 python3native
+inherit setuptools3_legacy python3native
 
 RDEPENDS:${PN} = "python3-pygobject python3 \
                   python3-blivet gtk+3  \