mirror of
https://git.yoctoproject.org/poky
synced 2026-02-08 01:36:38 +01:00
python: import jsonpointer from meta-python
required to support python3-json, which is required for python3-dtschema and device tree checking by the kernel. (From OE-Core rev: 5e057c058da55385d8566532bd713bcd7b4c9ebc) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
91dbc50d6e
commit
f5c4069808
26
meta/recipes-devtools/python/python3-jsonpointer_2.1.bb
Normal file
26
meta/recipes-devtools/python/python3-jsonpointer_2.1.bb
Normal file
@@ -0,0 +1,26 @@
|
||||
SUMMARY = "Resolve JSON Pointers in Python"
|
||||
HOMEPAGE = "https://github.com/stefankoegl/python-json-pointer"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3"
|
||||
|
||||
inherit pypi ptest setuptools3
|
||||
|
||||
SRC_URI[sha256sum] = "5a34b698db1eb79ceac454159d3f7c12a451a91f6334a4f638454327b7a89962"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
${PYTHON_PN}-json \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
cp -f ${S}/tests.py ${D}${PTEST_PATH}/
|
||||
}
|
||||
Reference in New Issue
Block a user