All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] python3-blivetgui: use setuptools_legacy
@ 2022-03-07 12:11 Ross Burton
  2022-03-07 12:11 ` [PATCH 2/2] python3-blivet: " Ross Burton
  2022-03-07 16:42 ` [oe] [PATCH 1/2] python3-blivetgui: " Khem Raj
  0 siblings, 2 replies; 6+ messages in thread
From: Ross Burton @ 2022-03-07 12:11 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] python3-blivet: use setuptools_legacy
  2022-03-07 12:11 [PATCH 1/2] python3-blivetgui: use setuptools_legacy Ross Burton
@ 2022-03-07 12:11 ` Ross Burton
  2022-03-07 16:43   ` [oe] " Khem Raj
  2022-03-07 16:42 ` [oe] [PATCH 1/2] python3-blivetgui: " Khem Raj
  1 sibling, 1 reply; 6+ messages in thread
From: Ross Burton @ 2022-03-07 12:11 UTC (permalink / raw)
  To: openembedded-devel

The setup.py installs to arbitrary target paths, so can't use the new
bdist_wheel installation method.

Reverts daba6521f which was a sympton of the bad usage.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../python-blivet/python3-blivet_3.4.3.bb                 | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb b/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb
index fcadf130c9..bd57604f26 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb
@@ -19,16 +19,10 @@ SRC_URI += "\
 "
 SRC_URI[sha256sum] = "1b05b77f3ee35d82c7a577a168c9ba0204d3e9a87eb1975e5f9af47700eeff48"
 
-inherit pypi features_check systemd setuptools3
+inherit pypi features_check systemd setuptools3_legacy
 
 REQUIRED_DISTRO_FEATURES = "systemd"
 
-do_install:append() {
-    mv ${D}${PYTHON_SITEPACKAGES_DIR}${exec_prefix}/* ${D}${exec_prefix}
-    mv ${D}${PYTHON_SITEPACKAGES_DIR}${sysconfdir} ${D}
-    mv ${D}${PYTHON_SITEPACKAGES_DIR}${base_libdir} ${D}
-}
-
 RDEPENDS:${PN} += "python3-pykickstart python3-pyudev \
                   parted python3-pyparted multipath-tools \
                   lsof cryptsetup libblockdev \
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [oe] [PATCH 1/2] python3-blivetgui: use setuptools_legacy
  2022-03-07 12:11 [PATCH 1/2] python3-blivetgui: use setuptools_legacy Ross Burton
  2022-03-07 12:11 ` [PATCH 2/2] python3-blivet: " Ross Burton
@ 2022-03-07 16:42 ` Khem Raj
  2022-03-07 17:01   ` Ross Burton
  1 sibling, 1 reply; 6+ messages in thread
From: Khem Raj @ 2022-03-07 16:42 UTC (permalink / raw)
  To: Ross Burton; +Cc: openembeded-devel

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]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [oe] [PATCH 2/2] python3-blivet: use setuptools_legacy
  2022-03-07 12:11 ` [PATCH 2/2] python3-blivet: " Ross Burton
@ 2022-03-07 16:43   ` Khem Raj
  0 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2022-03-07 16:43 UTC (permalink / raw)
  To: Ross Burton; +Cc: openembeded-devel

please rebase 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.
>
> Reverts daba6521f which was a sympton of the bad usage.
>
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
>  .../python-blivet/python3-blivet_3.4.3.bb                 | 8 +-------
>  1 file changed, 1 insertion(+), 7 deletions(-)
>
> diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb b/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb
> index fcadf130c9..bd57604f26 100644
> --- a/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb
> +++ b/meta-python/recipes-extended/python-blivet/python3-blivet_3.4.3.bb
> @@ -19,16 +19,10 @@ SRC_URI += "\
>  "
>  SRC_URI[sha256sum] = "1b05b77f3ee35d82c7a577a168c9ba0204d3e9a87eb1975e5f9af47700eeff48"
>
> -inherit pypi features_check systemd setuptools3
> +inherit pypi features_check systemd setuptools3_legacy
>
>  REQUIRED_DISTRO_FEATURES = "systemd"
>
> -do_install:append() {
> -    mv ${D}${PYTHON_SITEPACKAGES_DIR}${exec_prefix}/* ${D}${exec_prefix}
> -    mv ${D}${PYTHON_SITEPACKAGES_DIR}${sysconfdir} ${D}
> -    mv ${D}${PYTHON_SITEPACKAGES_DIR}${base_libdir} ${D}
> -}
> -
>  RDEPENDS:${PN} += "python3-pykickstart python3-pyudev \
>                    parted python3-pyparted multipath-tools \
>                    lsof cryptsetup libblockdev \
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#95848): https://lists.openembedded.org/g/openembedded-devel/message/95848
> Mute This Topic: https://lists.openembedded.org/mt/89610238/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [oe] [PATCH 1/2] python3-blivetgui: use setuptools_legacy
  2022-03-07 16:42 ` [oe] [PATCH 1/2] python3-blivetgui: " Khem Raj
@ 2022-03-07 17:01   ` Ross Burton
  2022-03-07 17:25     ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Ross Burton @ 2022-03-07 17:01 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

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]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [oe] [PATCH 1/2] python3-blivetgui: use setuptools_legacy
  2022-03-07 17:01   ` Ross Burton
@ 2022-03-07 17:25     ` Khem Raj
  0 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2022-03-07 17:25 UTC (permalink / raw)
  To: Ross Burton; +Cc: openembeded-devel

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]
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > >


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-03-07 17:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-07 12:11 [PATCH 1/2] python3-blivetgui: use setuptools_legacy Ross Burton
2022-03-07 12:11 ` [PATCH 2/2] python3-blivet: " Ross Burton
2022-03-07 16:43   ` [oe] " Khem Raj
2022-03-07 16:42 ` [oe] [PATCH 1/2] python3-blivetgui: " Khem Raj
2022-03-07 17:01   ` Ross Burton
2022-03-07 17:25     ` Khem Raj

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.