From 85ae40bdbb32f8eb90a469c7b007a56ab12ff614 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 21 Jun 2018 08:41:56 -0300 Subject: [PATCH] yq-go: update to 2.0.0. --- srcpkgs/yq-go/patches/Disable-failing-test.patch | 15 --------------- srcpkgs/yq-go/template | 6 +++--- 2 files changed, 3 insertions(+), 18 deletions(-) delete mode 100644 srcpkgs/yq-go/patches/Disable-failing-test.patch diff --git a/srcpkgs/yq-go/patches/Disable-failing-test.patch b/srcpkgs/yq-go/patches/Disable-failing-test.patch deleted file mode 100644 index 477c2eec31d..00000000000 --- a/srcpkgs/yq-go/patches/Disable-failing-test.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- merge_test.go -+++ merge_test.go -@@ -17,6 +17,7 @@ func TestMerge(t *testing.T) { - assertResultComplex(t, expected, result) - } - -+/* - func TestMergeWithOverwrite(t *testing.T) { - overwriteFlag = true - result, _ := mergeYaml([]string{"examples/data1.yaml", "examples/data2.yaml", "examples/data3.yaml"}) -@@ -28,3 +29,4 @@ func TestMergeWithOverwrite(t *testing.T) { - } - assertResultComplex(t, expected, result) - } -+*/ diff --git a/srcpkgs/yq-go/template b/srcpkgs/yq-go/template index df4aa613fbf..a6ba6a11291 100644 --- a/srcpkgs/yq-go/template +++ b/srcpkgs/yq-go/template @@ -1,17 +1,17 @@ # Template file for 'yq-go' pkgname=yq-go -version=1.15.0 +version=2.0.0 revision=1 wrksrc="yq-${version}" build_style=go -go_import_path="github.com/mikefarah/yq" +go_import_path=github.com/mikefarah/yq hostmakedepends="git" short_desc="A lightweight and portable command-line YAML processor written in go" maintainer="maxice8 " license="MIT" homepage="https://github.com/mikefarah/yq" distfiles="https://github.com/mikefarah/yq/archive/${version}.tar.gz" -checksum=f8eb713178720008744a68bcb5c9563cbe4674a579d5d46018797bc917ccca26 +checksum=4a433a8881c6edc43be871f01e493b179e85404c26c91e4980a0010cae407815 do_check() { go test -v