meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb
Khem Raj cc3c87cade python3-ujson: Add python misc modules to ptest rdeps
Its needed for

ModuleNotFoundError: No module named 'tracemalloc'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 06:58:28 -07:00

39 lines
960 B
BlitzBasic

SUMMARY = "Ultra fast JSON encoder and decoder for Python"
DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3."
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e0039a83d8a99726b5418f0b03302d0a"
SRC_URI[sha256sum] = "b3cd8f3c5d8c7738257f1018880444f7b7d9b66232c64649f562d7ba86ad4bc1"
inherit pypi ptest python_setuptools_build_meta
# let OE do the strip operation
export UJSON_BUILD_NO_STRIP = "1"
DEPENDS += "python3-setuptools-scm-native"
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN} += "\
python3-datetime \
python3-numbers \
"
RDEPENDS:${PN}-ptest += " \
python3-json \
python3-misc \
python3-pytest \
python3-pytz \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
BBCLASSEXTEND = "native nativesdk"