Skip to contentSkip to conversation

python3-pillow: fix wheel build

PATCH New Tim Orling 1 participant 1 message Feb 26, 2022

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/1 python3-pillow: fix wheel build

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.

---
 meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb +3 -0
index de3c92c3d3..487e4b54c4 100644
@@ -13,6 +13,9 @@ SRCREV ?= "82541b6dec8452cb612067fcebba1c5a1a2bfdc8"
 
 inherit setuptools3
 
+PIP_INSTALL_PACKAGE = "Pillow"
+PIP_INSTALL_DIST_PATH = "${S}/dist"
+
 DEPENDS += " \
     zlib \
     jpeg \
Signature · 1 line
2.30.2