From dc9020a605b30788075d1480d4a6da839fd873ad Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Thu, 25 Nov 2021 11:20:37 -0500 Subject: python3-jsonpointer: Update 2.1 to 2.2 The import from meta-python was slightly out of date, and the 2.1 version was grabbed. We bump the oe-core version to 2.2 to match the latest meta-oe version. (From OE-Core rev: 687823be0ec6ee93614e386af72c3d315d0258ef) Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie --- .../python/python3-jsonpointer_2.2.bb | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-jsonpointer_2.2.bb (limited to 'meta/recipes-devtools/python/python3-jsonpointer_2.2.bb') diff --git a/meta/recipes-devtools/python/python3-jsonpointer_2.2.bb b/meta/recipes-devtools/python/python3-jsonpointer_2.2.bb new file mode 100644 index 0000000000..225fde7556 --- /dev/null +++ b/meta/recipes-devtools/python/python3-jsonpointer_2.2.bb @@ -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] = "f09f8deecaaa5aea65b5eb4f67ca4e54e1a61f7a11c75085e360fe6feb6a48bf" + +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}/ +} -- cgit v1.2.3-54-g00ecf