From 1c98d66d20a1c381715c6ab927a7ac8c8c4c0b1a Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Sun, 20 Apr 2025 14:46:19 +0200 Subject: yq: Correct the version (4.45.1+) The current version of yq is actually based on 4.45.1. Also remove ${SRCREV_yq} from PV to allow `devtool modify yq` to work. Signed-off-by: Peter Kjellerstedt Signed-off-by: Bruce Ashfield --- recipes-devtools/yq/yq_git.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-devtools/yq/yq_git.bb b/recipes-devtools/yq/yq_git.bb index 0e9d36ca..9682ec95 100644 --- a/recipes-devtools/yq/yq_git.bb +++ b/recipes-devtools/yq/yq_git.bb @@ -81,7 +81,7 @@ SRC_URI += "git://github.com/alecthomas/participle;name=v2;protocol=https;nobran SRCREV_mousetrap = "4e8053ee7ef85a6bd26368364a6d27f1641c1d21" SRC_URI += "git://github.com/inconshreveable/mousetrap;name=mousetrap;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/inconshreveable/mousetrap" -PV = "4.30.8+git${SRCREV_yq}" +PV = "4.45.1+git" GO_IMPORT = "github.com/mikefarah/yq" @@ -104,9 +104,9 @@ do_compile:prepend() { do_install_ptest() { install -d ${D}${PTEST_PATH}/tests - cp -r ${S}/src/github.com/mikefarah/yq/scripts/* ${D}${PTEST_PATH}/tests - cp -r ${S}/src/github.com/mikefarah/yq/acceptance_tests/* ${D}${PTEST_PATH}/tests - cp -r ${S}/src/github.com/mikefarah/yq/examples ${D}${PTEST_PATH}/tests + cp -r ${S}/src/${GO_IMPORT}/scripts/* ${D}${PTEST_PATH}/tests + cp -r ${S}/src/${GO_IMPORT}/acceptance_tests/* ${D}${PTEST_PATH}/tests + cp -r ${S}/src/${GO_IMPORT}/examples ${D}${PTEST_PATH}/tests } RDEPENDS:${PN}-ptest += " \ -- cgit v1.2.3-54-g00ecf