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.

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Justin Bronder 2022-03-01 12:47:41 -05:00 committed by Khem Raj
parent ad10b55072
commit ce2692fc0e

View File

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