Skip to contentSkip to conversation

python3-prctl: fix wheel build

PATCH New Justin Bronder 1 participant 1 message Mar 1, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-prctl: fix wheel build

Recipe does not inherit pypi nor would PN be a good guess at the name of the wheel. Set PIP_INSTALL_PACKAGE appropriately.

Also dropping '+git${SRCPV}' from PV as the SRCREV is pointing to the 1.8.1 tag.

---
 meta-python/recipes-devtools/python/python3-prctl_1.8.1.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-prctl_1.8.1.bb +1 -2
index 8426e48113..28d94ba5bf 100644
@@ -11,12 +11,11 @@ S = "${WORKDIR}/git"
 B = "${S}"
 
 SRCREV = "5e12e398eb5c4e30d7b29b02458c76d2cc780700"
-PV = "1.8.1+git${SRCPV}"
-
 SRC_URI = "git://github.com/seveas/python-prctl;protocol=https;branch=main \
            file://0001-support-cross-complication.patch \
 "
 inherit setuptools3 python3native
+PIP_INSTALL_PACKAGE = "python_prctl"
 
 DEPENDS += "libcap"
 
Signature · 1 line
2.35.1