diff options
| author | Tim Orling <ticotimo@gmail.com> | 2022-02-22 11:16:51 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-25 15:07:50 +0000 |
| commit | d53b85f467eff620745fcfdcb452a10d44bd0c24 (patch) | |
| tree | 344fa329df5e1195290016f8af0f5510468d8d78 /meta/recipes-support/bmap-tools/bmap-tools_git.bb | |
| parent | ca95037362ea28294cf26175c76f0d8ab8c265bd (diff) | |
| download | poky-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/bmap-tools/bmap-tools_git.bb')
| -rw-r--r-- | meta/recipes-support/bmap-tools/bmap-tools_git.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-support/bmap-tools/bmap-tools_git.bb b/meta/recipes-support/bmap-tools/bmap-tools_git.bb new file mode 100644 index 0000000000..e3315321ed --- /dev/null +++ b/meta/recipes-support/bmap-tools/bmap-tools_git.bb | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | SUMMARY = "Tools to generate block map (AKA bmap) and flash images using bmap" | ||
| 2 | DESCRIPTION = "Bmap-tools - tools to generate block map (AKA bmap) and flash images using \ | ||
| 3 | bmap. Bmaptool is a generic tool for creating the block map (bmap) for a file, \ | ||
| 4 | and copying files using the block map. The idea is that large file containing \ | ||
| 5 | unused blocks, like raw system image files, can be copied or flashed a lot \ | ||
| 6 | faster with bmaptool than with traditional tools like "dd" or "cp"." | ||
| 7 | HOMEPAGE = "https://github.com/01org/bmap-tools" | ||
| 8 | SECTION = "console/utils" | ||
| 9 | LICENSE = "GPL-2.0-only" | ||
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
| 11 | |||
| 12 | SRC_URI = "git://github.com/intel/${BPN};branch=master;protocol=https" | ||
| 13 | |||
| 14 | SRCREV = "c0673962a8ec1624b5189dc1d24f33fe4f06785a" | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | BASEVER = "3.6" | ||
| 17 | PV = "${BASEVER}+git${SRCPV}" | ||
| 18 | |||
| 19 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" | ||
| 20 | |||
| 21 | # Need df from coreutils | ||
| 22 | RDEPENDS:${PN} = "python3-core python3-compression python3-mmap python3-setuptools python3-fcntl python3-six coreutils" | ||
| 23 | |||
| 24 | inherit python3native | ||
| 25 | inherit setuptools3 | ||
| 26 | |||
| 27 | PIP_INSTALL_PACKAGE = "bmap_tools" | ||
| 28 | PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-${BASEVER}-*.whl" | ||
| 29 | |||
| 30 | BBCLASSEXTEND = "native nativesdk" | ||
