From 05ecf0d4ff955f3debe1a8e2988d78f4aeaa3b57 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 22 Nov 2021 12:32:22 +0200 Subject: python3-jsonpointer: Upgrade 2.1 -> 2.2 Upgrade to release 2.2: - Add method and add classmethod tag - Add test for get_parts (new method) Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/python3-jsonpointer_2.1.bb | 26 ---------------------- .../python/python3-jsonpointer_2.2.bb | 26 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-jsonpointer_2.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-jsonpointer_2.2.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-jsonpointer_2.1.bb b/meta-python/recipes-devtools/python/python3-jsonpointer_2.1.bb deleted file mode 100644 index fb3d9e0da9..0000000000 --- a/meta-python/recipes-devtools/python/python3-jsonpointer_2.1.bb +++ /dev/null @@ -1,26 +0,0 @@ -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}/ -} diff --git a/meta-python/recipes-devtools/python/python3-jsonpointer_2.2.bb b/meta-python/recipes-devtools/python/python3-jsonpointer_2.2.bb new file mode 100644 index 0000000000..225fde7556 --- /dev/null +++ b/meta-python/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