mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00

The wheel that is built is: lopper-1.0-py3-none-any.whl Set BASEVERSION to 1.0 and use this to set PV and the value for PYPA_WHEEL (the path to the wheel filename). Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
35 lines
912 B
BlitzBasic
35 lines
912 B
BlitzBasic
SUMMARY = "Device Tree Lopper"
|
|
DESCRIPTION = "Tool for manipulation of system device tree files"
|
|
LICENSE = "BSD-3-Clause"
|
|
SECTION = "bootloader"
|
|
|
|
SRC_URI = "git://github.com/devicetree-org/lopper.git;branch=master;protocol=https"
|
|
SRCREV = "3c81fcce08eeb64cbbde1535abd83572985a8689"
|
|
S = "${WORKDIR}/git"
|
|
|
|
BASEVERSION = "1.0"
|
|
PV="v${BASEVERSION}+git${SRCPV}"
|
|
|
|
PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${BPN}-${BASEVERSION}-*.whl"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=8e5f5f691f01c9fdfa7a7f2d535be619"
|
|
|
|
RDEPENDS:${PN} = " \
|
|
python3-core \
|
|
python3-dtc \
|
|
python3-humanfriendly \
|
|
"
|
|
|
|
inherit setuptools3
|
|
|
|
INHIBIT_PACKAGE_STRIP = "1"
|
|
|
|
do_install:append() {
|
|
# we have to remove the vendor'd libfdt, since an attempt to strip it
|
|
# will be made, and it will fail in a cross environment.
|
|
rm -rf ${D}/${PYTHON_SITEPACKAGES_DIR}/${BPN}/vendor
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|