From 2e3162ffd4cd65baf3a3389bf3469517da1adac6 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 24 Jul 2024 20:01:36 +0100 Subject: [PATCH] python3-jsonpointer: upgrade 2.4 -> 3.0.0 Also re-arrange the recipe to match conventional order. (From OE-Core rev: 8083d5d1732d805a2172ae6df1d2ae51c476f9cf) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- ...er_2.4.bb => python3-jsonpointer_3.0.0.bb} | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) rename meta/recipes-devtools/python/{python3-jsonpointer_2.4.bb => python3-jsonpointer_3.0.0.bb} (85%) diff --git a/meta/recipes-devtools/python/python3-jsonpointer_2.4.bb b/meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb similarity index 85% rename from meta/recipes-devtools/python/python3-jsonpointer_2.4.bb rename to meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb index 062fa5243f..0a23dc3100 100644 --- a/meta/recipes-devtools/python/python3-jsonpointer_2.4.bb +++ b/meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb @@ -5,24 +5,24 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3" inherit pypi ptest setuptools3 -SRC_URI[sha256sum] = "585cee82b70211fa9e6043b7bb89db6e1aa49524340dde8ad6b63206ea689d88" - -RDEPENDS:${PN} += " \ - python3-json \ -" - -BBCLASSEXTEND = "native nativesdk" +SRC_URI[sha256sum] = "2b2d729f2091522d61c3b31f82e11870f60b68f43fbc705cb76bf4b832af59ef" SRC_URI += " \ file://run-ptest \ " +do_install_ptest() { + cp -f ${S}/tests.py ${D}${PTEST_PATH}/ +} + +RDEPENDS:${PN} += " \ + python3-json \ +" + RDEPENDS:${PN}-ptest += " \ python3-doctest \ python3-unittest \ python3-unittest-automake-output \ " -do_install_ptest() { - cp -f ${S}/tests.py ${D}${PTEST_PATH}/ -} +BBCLASSEXTEND = "native nativesdk"