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


Ranjitsinh Rathod
 

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@...>
---
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.