diff mbox series

python3-jsonpointer: upgrade 2.4 -> 3.0.0

Message ID 20240724190136.3819101-1-ross.burton@arm.com
State Accepted, archived
Commit 8083d5d1732d805a2172ae6df1d2ae51c476f9cf
Headers show
Series python3-jsonpointer: upgrade 2.4 -> 3.0.0 | expand

Commit Message

Ross Burton July 24, 2024, 7:01 p.m. UTC
Also re-arrange the recipe to match conventional order.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 ...ter_2.4.bb => python3-jsonpointer_3.0.0.bb} | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
 rename meta/recipes-devtools/python/{python3-jsonpointer_2.4.bb => python3-jsonpointer_3.0.0.bb} (85%)
diff mbox series

Patch

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 062fa5243f9..0a23dc31002 100644
--- a/meta/recipes-devtools/python/python3-jsonpointer_2.4.bb
+++ b/meta/recipes-devtools/python/python3-jsonpointer_3.0.0.bb
@@ -5,16 +5,18 @@  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3"
 
 inherit pypi ptest setuptools3
 
-SRC_URI[sha256sum] = "585cee82b70211fa9e6043b7bb89db6e1aa49524340dde8ad6b63206ea689d88"
+SRC_URI[sha256sum] = "2b2d729f2091522d61c3b31f82e11870f60b68f43fbc705cb76bf4b832af59ef"
 
-RDEPENDS:${PN} += " \
-    python3-json \
+SRC_URI += " \
+	file://run-ptest \
 "
 
-BBCLASSEXTEND = "native nativesdk"
+do_install_ptest() {
+	cp -f ${S}/tests.py ${D}${PTEST_PATH}/
+}
 
-SRC_URI += " \
-	file://run-ptest \
+RDEPENDS:${PN} += " \
+    python3-json \
 "
 
 RDEPENDS:${PN}-ptest += " \
@@ -23,6 +25,4 @@  RDEPENDS:${PN}-ptest += " \
 	python3-unittest-automake-output \
 "
 
-do_install_ptest() {
-	cp -f ${S}/tests.py ${D}${PTEST_PATH}/
-}
+BBCLASSEXTEND = "native nativesdk"