python3-scapy: Define custom PYPA_WHEEL

Standard defaults are not able to guess it right, so aid it a bit

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Khem Raj 2022-02-28 13:24:12 -08:00
parent 8b8bfbcadf
commit e82c489191

View File

@ -25,6 +25,8 @@ S = "${WORKDIR}/git"
UPSTREAM_CHECK_COMMITS = "1"
inherit setuptools3 ptest
PIP_INSTALL_PACKAGE = "scapy"
PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-*-*.whl"
do_install:append() {
mv ${D}${bindir}/scapy ${D}${bindir}/scapy3