Message ID | 20220601122527.19987-8-ranjitsinhrathod1991@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-python,dunfell,1/9] python3-pillow: Upgrade 6.2.1 -> 7.2.0 | expand |
On Wed, Jun 1, 2022 at 5:26 AM Ranjitsinh Rathod < ranjitsinhrathod1991@gmail.com> wrote: > From: Tim Orling <ticotimo@gmail.com> > > Recipe does not inherit pypi nor would PN resolve to the name of the > wheel so we must set PIP_INSTALL_PACKAGE appropriately. > > The recipe also builds its wheel in ${S}/dist so we must set > PIP_INSTALL_DIST_PATH appropriately. > > Signed-off-by: Tim Orling <tim.orling@konsulko.com> > Signed-off-by: Khem Raj <raj.khem@gmail.com> > Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> > (cherry picked from commit b56940049dfa1968d5e0325ea3b2fe024a3aa34b) > Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com> > Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com> > Nacked-by: Tim Orling <ticotimo@gmail.com> NO. We do not do version upgrades in stable branches and the wheel infrastructure is only supported in 'kirkstone'+. You can create a mixin layer for the upgrade if you require a newer version. But we WILL NOT take this into meta-openembedded/meta-python. > --- > meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb > b/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb > index e522269927..346071d1ca 100644 > --- a/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb > +++ b/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb > @@ -13,6 +13,9 @@ SRCREV ?= "82541b6dec8452cb612067fcebba1c5a1a2bfdc8" > > inherit setuptools3 > > +PIP_INSTALL_PACKAGE = "Pillow" > +PIP_INSTALL_DIST_PATH = "${S}/dist" > + > DEPENDS += " \ > zlib \ > jpeg \ > -- > 2.17.1 > >
diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb b/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb index e522269927..346071d1ca 100644 --- a/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb @@ -13,6 +13,9 @@ SRCREV ?= "82541b6dec8452cb612067fcebba1c5a1a2bfdc8" inherit setuptools3 +PIP_INSTALL_PACKAGE = "Pillow" +PIP_INSTALL_DIST_PATH = "${S}/dist" + DEPENDS += " \ zlib \ jpeg \