meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb
Tim Orling 5218051879
python3-ujson: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:31 -08:00

36 lines
921 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] = "89cc92e73d5501b8a7f48575eeb14ad27156ad092c2e9fc7e3cf949f07e75532"
inherit pypi ptest setuptools3
SRC_URI += " \
file://run-ptest \
file://0001-setup.py-Do-not-strip-debugging-symbols.patch \
"
DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} += "\
python3-datetime \
python3-numbers \
"
RDEPENDS:${PN}-ptest += " \
python3-json \
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"