Re: [meta-python][dunfell][PATCH 8/9] python3-pillow: fix wheel build


Tim Orling
 



On Wed, Jun 1, 2022 at 5:26 AM Ranjitsinh Rathod <ranjitsinhrathod1991@...> wrote:
From: Tim Orling <ticotimo@...>

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@...>
Signed-off-by: Khem Raj <raj.khem@...>
Signed-off-by: Trevor Gamblin <trevor.gamblin@...>
(cherry picked from commit b56940049dfa1968d5e0325ea3b2fe024a3aa34b)
Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@...>
Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@...>

Nacked-by: Tim Orling <ticotimo@...>
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

Join openembedded-devel@lists.openembedded.org to automatically receive all group messages.