mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-12 03:24:08 +00:00
Add the native and nativesdk to the recipe. Signed-off-by: Libo Chen <libo.chen.cn@windriver.com> Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
33 lines
876 B
BlitzBasic
33 lines
876 B
BlitzBasic
DESCRIPTION = "GPT Image is used to Create GUID Partition Table disk images \
|
|
on local disks. Written in pure Python gpt-image allows GPT disk images to \
|
|
be built on a local filesystem and exported to a destination device."
|
|
SUMMARY = "GPT Image (pure python)"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=db5f8de88d13d0917db21293d0e82e1d"
|
|
|
|
SRC_URI += "\
|
|
file://run-ptest \
|
|
"
|
|
|
|
DEPENDS += "python3-pip"
|
|
|
|
PYPI_PACKAGE = "gpt_image"
|
|
SRC_URI[sha256sum] = "c06d8efc7cf8d6f3954c1c3d8544f494aa95da37fe04e38a9699ad3f57455f7e"
|
|
|
|
inherit pypi setuptools3 python3native ptest
|
|
|
|
do_install_ptest() {
|
|
install -d ${D}${PTEST_PATH}/tests
|
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
}
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
python3-pytest \
|
|
"
|
|
|
|
do_install:append() {
|
|
rm -fr ${D}${libdir}/python*/site-packages/gpt-image/__pycache__
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|