meta-openembedded/meta-python/recipes-devtools/python/python3-tomlkit_0.12.1.bb
Daniel McGregor c3db67f7d6 python3-pylint: allow native build
We use pylint for some native recipes in our build. Allow pylint
to be a native recipe, and likewise allow its runtime dependencies
to be native recipes.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit fbb9d27079)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00

32 lines
727 B
BlitzBasic

SUMMARY = "Style preserving TOML library"
HOMEPAGE = "https://pypi.org/project/tomlkit/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82"
SRC_URI[sha256sum] = "38e1ff8edb991273ec9f6181244a6a391ac30e9f5098e7535640ea6be97a7c86"
inherit pypi python_poetry_core ptest
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN} += " \
python3-datetime \
python3-profile \
python3-stringold \
"
RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-poetry-core \
${PYTHON_PN}-pytest \
${PYTHON_PN}-pyyaml \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
BBCLASSEXTEND = "native nativesdk"