summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2023-01-31 15:29:07 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2023-02-10 12:58:29 -0500
commite8a1ce41d762a7ce1a234410a93b16866c53a8a6 (patch)
treedfcccea58d209041d5cfee70bf075af34f443850
parent24f5ab34cbbe51dd753c07e26070bd10387bfa74 (diff)
downloadmeta-virtualization-e8a1ce41d762a7ce1a234410a93b16866c53a8a6.tar.gz
yq: Upgrade to 4.30.8
Upgrade yq to 4.30.8 [1]. [1] https://github.com/mikefarah/yq/releases/tag/v4.30.8 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-devtools/yq/yq_git.bb50
1 files changed, 33 insertions, 17 deletions
diff --git a/recipes-devtools/yq/yq_git.bb b/recipes-devtools/yq/yq_git.bb
index daa9ab8f..867bfccf 100644
--- a/recipes-devtools/yq/yq_git.bb
+++ b/recipes-devtools/yq/yq_git.bb
@@ -2,33 +2,49 @@ SUMMARY = "a lightweight and portable command-line YAML processor "
2HOMEPAGE = "https://github.com/mikefarah/yq" 2HOMEPAGE = "https://github.com/mikefarah/yq"
3 3
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=090d381b4b3eb93194e8cbff4aaae2de" 5LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=e40a0dcd62f8269b9bff37fe9aa7dcc2"
6 6
7SRCREV_yq = "e0f5cb3c5958e57c7f250a7030e92c768c1b2b19" 7SRCREV_yq = "dd6cf3df146f3e2c0f8c765a6ef9e35780ad8cc1"
8SRCREV_color = "daf2830f2741ebb735b21709a520c5f37d642d85" 8SRCREV_color = "daf2830f2741ebb735b21709a520c5f37d642d85"
9SRCREV_lexer = "81f720df2c51e9f1e1d387b17a0af386ed2b257d" 9SRCREV_lexer = "6cdefc42e112ac71cbe316e1eed264ea62f58e25"
10SRCREV_debug = "fa7b53cdfc9105c70f134574002f406232921437" 10SRCREV_cobra = "b43be995ebb4bee335a787bd44498b91aef7619c"
11SRCREV_errors = "614d223910a179a466c1767a985424175c39b465" 11SRCREV_pflag = "2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab"
12SRCREV_cobra = "b97b5ead31f7d34f764ac8666e40c214bb8e06dc"
13SRCREV_pflag = "6971c29c4a22981adeaee7f4b437c0cffe08c031"
14SRCREV_logging = "b2cb9fa56473e98db8caba80237377e83fe44db5" 12SRCREV_logging = "b2cb9fa56473e98db8caba80237377e83fe44db5"
15SRCREV_yaml = "eeeca48fe7764f320e4870d231902bf9c1be2c08" 13SRCREV_yaml = "f6f7691b1fdeb513f56608cd2c32c51f8194bf51"
16SRCREV_xerrors="5ec99f83aff198f5fbd629d6c8d8eb38a04218ca" 14SRCREV_xerrors="65e65417b02f28de84b55f16b46a1e789149973a"
15SRCREV_envsubst = "16035fe3571ad42c7796bf554f978bb2df64231b"
16SRCREV_participle = "49f4822ed012d9818c80ca4fcdeb7e2d55c04806"
17SRCREV_utfbom = "6ae8f945ca96f30defc7e8ab12ec5d10cf86ded4"
18SRCREV_orderedmap = "1e43e194ff533a346bab5f9b66b738256f199c8a"
19SRCREV_go-json = "5efc7d07eeeba186df630d9ab4ac78c761938c27"
20SRCREV_copier = "d132b069fe1a77d09e4c260852b389a730bbe9ba"
21SRCREV_properties = "c9a06e8f8f0164e4e16c0d5c4793cbed4ac90264"
22SRCREV_net = "f3363e06e74cdc304618bf31d898b78590103527"
23SRCREV_text = "434eadcdbc3b0256971992e8c70027278364c72c"
24SRCREV_diff = "20ebb0f2a09e612109b224b32f79370409108bcc"
17 25
18SRCREV_FORMAT = "yq_color" 26SRCREV_FORMAT = "yq_color"
19SRC_URI = "git://${GO_IMPORT};name=yq;branch=master;protocol=https \ 27SRC_URI = "git://${GO_IMPORT};name=yq;branch=master;protocol=https \
20 git://github.com/fatih/color;name=color;destsuffix=build/vendor/src/github.com/fatih/color;branch=main;protocol=https \ 28 git://github.com/fatih/color;name=color;destsuffix=build/vendor/src/github.com/fatih/color;branch=main;protocol=https \
21 git://github.com/goccy/go-yaml;name=lexer;destsuffix=build/vendor/src/github.com/goccy/go-yaml/;branch=master;protocol=https \ 29 git://github.com/goccy/go-yaml;name=lexer;destsuffix=build/vendor/src/github.com/goccy/go-yaml/;branch=master;protocol=https \
22 git://github.com/kylelemons/godebug;name=debug;destsuffix=build/vendor/src/github.com/kylelemons/godebug/;branch=master;protocol=https \ 30 git://github.com/spf13/cobra.git;name=cobra;nobranch=1;destsuffix=build/vendor/src/github.com/spf13/cobra;branch=main;protocol=https \
23 git://github.com/pkg/errors;name=errors;destsuffix=build/vendor/src/github.com/pkg/errors/;branch=master;protocol=https \ 31 git://github.com/spf13/pflag;name=pflag;destsuffix=build/vendor/src/github.com/spf13/pflag;branch=master;protocol=https \
24 git://github.com/spf13/cobra;name=cobra;destsuffix=build/vendor/src/github.com/spf13/cobra;branch=main;protocol=https \ 32 git://github.com/op/go-logging.git;name=logging;destsuffix=build/vendor/src/gopkg.in/op/go-logging.v1;branch=master;protocol=https \
25 git://github.com/spf13/pflag;name=pflag;destsuffix=build/vendor/src/github.com/spf13/pflag;branch=master;protocol=https \ 33 git://github.com/go-yaml/yaml.git;name=yaml;branch=v3;destsuffix=build/vendor/src/gopkg.in/yaml.v3;protocol=https \
26 git://github.com/op/go-logging.git;name=logging;destsuffix=build/vendor/src/gopkg.in/op/go-logging.v1;branch=master;protocol=https \
27 git://github.com/go-yaml/yaml.git;name=yaml;branch=v3;destsuffix=build/vendor/src/gopkg.in/yaml.v3;protocol=https \
28 git://github.com/golang/xerrors;name=xerrors;protocol=https;nobranch=1;destsuffix=build/vendor/src/golang.org/x/xerrors \ 34 git://github.com/golang/xerrors;name=xerrors;protocol=https;nobranch=1;destsuffix=build/vendor/src/golang.org/x/xerrors \
35 git://github.com/a8m/envsubst;name=envsubst;destsuffix=build/vendor/src/github.com/a8m/envsubst;branch=master;protocol=https \
36 git://github.com/alecthomas/participle;name=participle;destsuffix=build/vendor/src/github.com/alecthomas/participle;branch=master;protocol=https \
37 git://github.com/dimchansky/utfbom;name=utfbom;destsuffix=build/vendor/src/github.com/dimchansky/utfbom;branch=master;protocol=https \
38 git://github.com/elliotchance/orderedmap;name=orderedmap;destsuffix=build/vendor/src/github.com/elliotchance/orderedmap;branch=master;protocol=https \
39 git://github.com/goccy/go-json;name=go-json;destsuffix=build/vendor/src/github.com/goccy/go-json;branch=master;protocol=https \
40 git://github.com/jinzhu/copier;name=copier;destsuffix=build/vendor/src/github.com/jinzhu/copier;branch=master;protocol=https \
41 git://github.com/magiconair/properties;name=properties;destsuffix=build/vendor/src/github.com/magiconair/properties;branch=main;protocol=https \
42 git://github.com/golang/net;name=net;destsuffix=build/vendor/src/golang.org/x/net;branch=master;protocol=https \
43 git://github.com/golang/text;name=text;destsuffix=build/vendor/src/golang.org/x/text;branch=master;protocol=https \
44 git://github.com/pkg/diff;name=diff;destsuffix=build/vendor/src/github.com/pkg/diff;branch=main;protocol=https \
29 " 45 "
30 46
31PV = "1.13.1+git${SRCREV_yq}" 47PV = "4.30.8+git${SRCREV_yq}"
32GO_IMPORT = "github.com/mikefarah/yq" 48GO_IMPORT = "github.com/mikefarah/yq"
33 49
34inherit go 50inherit go
@@ -45,12 +61,12 @@ do_compile:prepend() {
45 export GO111MODULE=off 61 export GO111MODULE=off
46} 62}
47 63
48
49do_install:append() { 64do_install:append() {
50 # these bring in dependencies for the -dev package on bash, and we don't 65 # these bring in dependencies for the -dev package on bash, and we don't
51 # need them .. so we remove them to avoid needing that rdepends 66 # need them .. so we remove them to avoid needing that rdepends
52 rm -rf ${D}/${libdir}/go/src/${GO_IMPORT}/debian/rules 67 rm -rf ${D}/${libdir}/go/src/${GO_IMPORT}/debian/rules
53 rm -rf ${D}/${libdir}/go/src/${GO_IMPORT}/scripts 68 rm -rf ${D}/${libdir}/go/src/${GO_IMPORT}/scripts
69 rm -rf ${D}/${libdir}/go/src/${GO_IMPORT}/acceptance_tests
54} 70}
55 71
56BBCLASSEXTEND = "native" 72BBCLASSEXTEND = "native"