From d8467f2ce7e3ca2277108e388690b79789790839 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 16 Feb 2018 23:36:23 -0200 Subject: go-dep: Upgrade 0.3.2 -> 0.4.1 The release was announced in Jan 24th 2018 and provides a number of features and bug fixes. The 0.4.1 restores the `dep prune` command support, which was dropped on 0.4.0, so existing scripts will continue to work. That said, it is advisable to change the scripts to use the new features of `dep ensure` as `dep prune` will be removed in future. Signed-off-by: Otavio Salvador Signed-off-by: Ross Burton --- ...er-constant-that-hopefully-works-the-same.patch | 33 ---------------------- meta/recipes-devtools/go/go-dep_0.3.2.bb | 21 -------------- meta/recipes-devtools/go/go-dep_0.4.1.bb | 20 +++++++++++++ 3 files changed, 20 insertions(+), 54 deletions(-) delete mode 100644 meta/recipes-devtools/go/go-dep/0001-use-a-smaller-constant-that-hopefully-works-the-same.patch delete mode 100644 meta/recipes-devtools/go/go-dep_0.3.2.bb create mode 100644 meta/recipes-devtools/go/go-dep_0.4.1.bb (limited to 'meta/recipes-devtools/go') diff --git a/meta/recipes-devtools/go/go-dep/0001-use-a-smaller-constant-that-hopefully-works-the-same.patch b/meta/recipes-devtools/go/go-dep/0001-use-a-smaller-constant-that-hopefully-works-the-same.patch deleted file mode 100644 index 2a7bc43cdb..0000000000 --- a/meta/recipes-devtools/go/go-dep/0001-use-a-smaller-constant-that-hopefully-works-the-same.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 73e8dd479420bb90a46cf9d99ca62289fab3677e Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 23 Sep 2017 08:43:58 -0700 -Subject: [PATCH] use a smaller constant that hopefully works the same. - -This test uses a constant that is too big for 32bit systems. - -Backported from -https://github.com/boltdb/bolt/issues/645 - -Signed-off-by: Khem Raj ---- -Upstream-Status: Submitted - - vendor/github.com/boltdb/bolt/db_test.go | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/vendor/github.com/boltdb/bolt/db_test.go b/vendor/github.com/boltdb/bolt/db_test.go -index 3034d4f4..035f5a5f 100644 ---- a/vendor/github.com/boltdb/bolt/db_test.go -+++ b/vendor/github.com/boltdb/bolt/db_test.go -@@ -370,7 +370,7 @@ func TestDB_Open_InitialMmapSize(t *testing.T) { - path := tempfile() - defer os.Remove(path) - -- initMmapSize := 1 << 31 // 2GB -+ initMmapSize := 1 << 29 // 512MB - testWriteSize := 1 << 27 // 134MB - - db, err := bolt.Open(path, 0666, &bolt.Options{InitialMmapSize: initMmapSize}) --- -2.14.1 - diff --git a/meta/recipes-devtools/go/go-dep_0.3.2.bb b/meta/recipes-devtools/go/go-dep_0.3.2.bb deleted file mode 100644 index cdf6da1593..0000000000 --- a/meta/recipes-devtools/go/go-dep_0.3.2.bb +++ /dev/null @@ -1,21 +0,0 @@ -SUMMARY = "Dependency management tool for Golang" -HOMEPAGE = "https://github.com/golang/dep" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=1bad315647751fab0007812f70d42c0d" - -GO_IMPORT = "github.com/golang/dep" -SRC_URI = "git://${GO_IMPORT} \ - file://0001-use-a-smaller-constant-that-hopefully-works-the-same.patch;patchdir=src/github.com/golang/dep \ - file://0001-Add-support-for-mips-mips64.patch;patchdir=src/github.com/golang/dep \ - " - -# Points to 0.3.2 tag -SRCREV = "8ddfc8afb2d520d41997ebddd921b52152706c01" - -inherit go - -GO_INSTALL = "${GO_IMPORT}/cmd/dep" - -RDEPENDS_${PN}-dev += "bash" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/go/go-dep_0.4.1.bb b/meta/recipes-devtools/go/go-dep_0.4.1.bb new file mode 100644 index 0000000000..d82e637205 --- /dev/null +++ b/meta/recipes-devtools/go/go-dep_0.4.1.bb @@ -0,0 +1,20 @@ +SUMMARY = "Dependency management tool for Golang" +HOMEPAGE = "https://github.com/golang/dep" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=1bad315647751fab0007812f70d42c0d" + +GO_IMPORT = "github.com/golang/dep" +SRC_URI = "git://${GO_IMPORT} \ + file://0001-Add-support-for-mips-mips64.patch;patchdir=src/github.com/golang/dep \ + " + +# Points to 0.4.1 tag +SRCREV = "37d9ea0ac16f0e0a05afc3b60e1ac8c364b6c329" + +inherit go + +GO_INSTALL = "${GO_IMPORT}/cmd/dep" + +RDEPENDS_${PN}-dev += "bash" + +BBCLASSEXTEND = "native nativesdk" -- cgit 1.2.3-korg