meta-openembedded/meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb
Khem Raj 0bc332a041
python3-fastjsonschema: Add missing rdeps for ptests
Allocated 5G RAM to qemu when running the ptest to avoid OOMs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-15 16:02:38 -07:00

41 lines
1.0 KiB
BlitzBasic

# Copyright (C) 2021 Khem Raj <raj.khem@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)
SUMMARY = "Fastest Python implementation of JSON schema"
HOMEPAGE = "https://github.com/seznam/python-fastjsonschema"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532"
SRC_URI[sha256sum] = "3d48fc5300ee96f5d116f10fe6f28d938e6008f59a6a025c2649475b87f76a23"
SRC_URI += "file://run-ptest"
inherit ptest pypi setuptools3
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
# python3-misc for timeit.py
RDEPENDS:${PN}-ptest += "\
python3-colorama \
python3-jsonschema \
python3-misc \
python3-pylint \
python3-pytest \
python3-pytest-benchmark \
python3-pytest-cache \
python3-statistics \
python3-unittest-automake-output \
"
RDEPENDS:${PN} += "\
python3-core \
python3-urllib3 \
python3-numbers \
python3-pickle \
python3-json \
"
BBCLASSEXTEND = "native nativesdk"