Skip to contentSkip to conversation

python3-pykickstart: 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-pykickstart: fix wheel build

Recipe does not inherit pypi, nor is PN a reasonable guess for the wheel name so set PIP_INSTALL_PACKAGE appropriately.

The wheel is built in ${S}/dist rather than ${B}/dist so set PIP_INSTALL_DIST_PATH appropriately.

---
 .../python-pykickstart/python3-pykickstart_3.34.bb              | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.34.bb +2 -0
index 65fc88e77b..7aa0758400 100644
@@ -23,3 +23,5 @@ SRCREV = "bfd836cfdd8439d984595aca015811ed5c6be733"
 UPSTREAM_CHECK_GITTAGREGEX = "r(?P<pver>\d+(\.\d+)+(-\d+)*)"
 
 inherit setuptools3
+PIP_INSTALL_PACKAGE = "pykickstart"
+PIP_INSTALL_DIST_PATH = "${S}/dist"
Signature · 1 line
2.30.2