similarity index 67%
rename from meta/recipes-devtools/python/python3-jsonpointer_3.1.1.bb
rename to meta/recipes-devtools/python/python3-jsonpointer_3.2.1.bb
@@ -5,14 +5,16 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3"
inherit pypi ptest setuptools3
-SRC_URI[sha256sum] = "0b801c7db33a904024f6004d526dcc53bbb8a4a0f4e32bfd10beadf60adf1900"
+SRC_URI[sha256sum] = "47c846513b3a4ec46eecef1105207fba075e2a3659048e362bd7daff0fc33342"
SRC_URI += " \
file://run-ptest \
"
do_install_ptest() {
- cp -f ${S}/tests.py ${D}${PTEST_PATH}/
+ install -m 0644 ${S}/tests.py ${D}${PTEST_PATH}/
+ install -d ${D}${PTEST_PATH}/bin
+ install -m 0755 ${S}/bin/jsonpointer ${D}${PTEST_PATH}/bin/
}
RDEPENDS:${PN} += " \
ReleaseNotes: https://github.com/stefankoegl/python-json-pointer/releases/tag/v3.2.1 CompareLog: https://github.com/stefankoegl/python-json-pointer/compare/v3.1.1...v3.2.1 - switch tests.py from cp to install. - install bin/jsonpointer needed for CommandLineTests Ptest logs: PASSED: tests.CommandLineTests.test_empty_pointer PASSED: tests.CommandLineTests.test_invalid_pointer_file PASSED: tests.CommandLineTests.test_missing_pointer_multiple_files PASSED: tests.CommandLineTests.test_no_pointer PASSED: tests.CommandLineTests.test_pointer_and_pointer_file_exclusive PASSED: tests.CommandLineTests.test_pointer_file PASSED: tests.CommandLineTests.test_pointer_file_preserves_member_whitespace PASSED: tests.CommandLineTests.test_pointer_file_requires_value PASSED: tests.CommandLineTests.test_pointer_file_single_file PASSED: tests.CommandLineTests.test_pointer_option PASSED: tests.CommandLineTests.test_positional_pointer PASSED: tests.CommandLineTests.test_positional_pointer_single_file PASSED: tests.CommandLineTests.test_unresolvable_pointer PASSED: tests.CommandLineTests.test_unresolvable_pointer_in_one_file Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech> --- Changes Since v1: - Install bin/jsonpointer needed for CommandLineTests - switch tests.py from cp to install ...n3-jsonpointer_3.1.1.bb => python3-jsonpointer_3.2.1.bb} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python/{python3-jsonpointer_3.1.1.bb => python3-jsonpointer_3.2.1.bb} (67%)