summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2022-02-22 11:16:51 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-25 15:07:50 +0000
commitd53b85f467eff620745fcfdcb452a10d44bd0c24 (patch)
tree344fa329df5e1195290016f8af0f5510468d8d78 /meta/recipes-support
parentca95037362ea28294cf26175c76f0d8ab8c265bd (diff)
downloadpoky-d53b85f467eff620745fcfdcb452a10d44bd0c24.tar.gz
bmap-tools: set PIP_INSTALL_PACKAGE, BASEVER
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] (From OE-Core rev: 7aea6a938544582d036c454beeef947c986eedc7) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/bmap-tools/bmap-tools_git.bb (renamed from meta/recipes-support/bmap-tools/bmap-tools_3.6.bb)6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-support/bmap-tools/bmap-tools_3.6.bb b/meta/recipes-support/bmap-tools/bmap-tools_git.bb
index 1e87d45c90..e3315321ed 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"
13 13
14SRCREV = "c0673962a8ec1624b5189dc1d24f33fe4f06785a" 14SRCREV = "c0673962a8ec1624b5189dc1d24f33fe4f06785a"
15S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
16PV .= "+git${SRCPV}" 16BASEVER = "3.6"
17PV = "${BASEVER}+git${SRCPV}"
17 18
18UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" 19UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
19 20
@@ -23,4 +24,7 @@ RDEPENDS:${PN} = "python3-core python3-compression python3-mmap python3-setuptoo
23inherit python3native 24inherit python3native
24inherit setuptools3 25inherit setuptools3
25 26
27PIP_INSTALL_PACKAGE = "bmap_tools"
28PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-${BASEVER}-*.whl"
29
26BBCLASSEXTEND = "native nativesdk" 30BBCLASSEXTEND = "native nativesdk"