Change filename to _git.bb and use BASEVER to set PV. The wheel built by bdist_wheel is named "bmap_tool-*.whl" set the PIP_INSTALL_PACKAGE name accordingly.
Use BASEVER to set PYPA_WHEEL to match the version in the wheel produced by bdist_wheel. [YOCTO #14638] Signed-off-by: Tim Orling <tim.orl...@konsulko.com> --- .../bmap-tools/{bmap-tools_3.6.bb => bmap-tools_git.bb} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename meta/recipes-support/bmap-tools/{bmap-tools_3.6.bb => bmap-tools_git.bb} (86%) diff --git a/meta/recipes-support/bmap-tools/bmap-tools_3.6.bb b/meta/recipes-support/bmap-tools/bmap-tools_git.bb similarity index 86% rename from meta/recipes-support/bmap-tools/bmap-tools_3.6.bb rename to meta/recipes-support/bmap-tools/bmap-tools_git.bb index 1e87d45c90d..e3315321ed1 100644 --- a/meta/recipes-support/bmap-tools/bmap-tools_3.6.bb +++ b/meta/recipes-support/bmap-tools/bmap-tools_git.bb @@ -13,7 +13,8 @@ SRC_URI = "git://github.com/intel/${BPN};branch=master;protocol=https" SRCREV = "c0673962a8ec1624b5189dc1d24f33fe4f06785a" S = "${WORKDIR}/git" -PV .= "+git${SRCPV}" +BASEVER = "3.6" +PV = "${BASEVER}+git${SRCPV}" UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" @@ -23,4 +24,7 @@ RDEPENDS:${PN} = "python3-core python3-compression python3-mmap python3-setuptoo inherit python3native inherit setuptools3 +PIP_INSTALL_PACKAGE = "bmap_tools" +PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-${BASEVER}-*.whl" + BBCLASSEXTEND = "native nativesdk" -- 2.30.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#162216): https://lists.openembedded.org/g/openembedded-core/message/162216 Mute This Topic: https://lists.openembedded.org/mt/89324676/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-