From f9d68f3de916ff29e65145058eaba051783503ad Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 13 Oct 2018 08:30:48 -0300 Subject: [PATCH] dnote-cli: update to 0.4.6. --- srcpkgs/dnote-cli/patches/uuid.patch | 22 ---------------------- srcpkgs/dnote-cli/template | 6 +++--- 2 files changed, 3 insertions(+), 25 deletions(-) delete mode 100644 srcpkgs/dnote-cli/patches/uuid.patch diff --git a/srcpkgs/dnote-cli/patches/uuid.patch b/srcpkgs/dnote-cli/patches/uuid.patch deleted file mode 100644 index a8e8a424cb..0000000000 --- a/srcpkgs/dnote-cli/patches/uuid.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- utils/utils.go.bck 2018-02-13 03:06:34.295215926 -0500 -+++ utils/utils.go 2018-02-13 03:06:52.708205990 -0500 -@@ -24,7 +24,7 @@ - - // GenerateUID returns a uid - func GenerateUID() string { -- return uuid.NewV4().String() -+ return uuid.Must(uuid.NewV4()).String() - } - - func GetInput() (string, error) { ---- migrate/migrations.go.bck 2018-02-13 03:10:28.827089361 -0500 -+++ migrate/migrations.go 2018-02-13 03:10:51.090077347 -0500 -@@ -48,7 +48,7 @@ - notes := []migrateToV2PostNote{} - for _, note := range book { - newNote := migrateToV2PostNote{ -- UUID: uuid.NewV4().String(), -+ UUID: uuid.Must(uuid.NewV4()).String(), - Content: note.Content, - AddedOn: note.AddedOn, - EditedOn: 0, diff --git a/srcpkgs/dnote-cli/template b/srcpkgs/dnote-cli/template index 020f94bf78..9581f20580 100644 --- a/srcpkgs/dnote-cli/template +++ b/srcpkgs/dnote-cli/template @@ -1,7 +1,7 @@ # Template file for 'dnote-cli' pkgname=dnote-cli -version=0.4.4 -revision=2 +version=0.4.6 +revision=1 wrksrc="cli-${version}" build_style=go go_import_path=github.com/dnote-io/cli @@ -11,7 +11,7 @@ maintainer="Toyam Cox " license="MIT" homepage="https://dnote.io/" distfiles="https://github.com/dnote-io/cli/archive/v${version}.tar.gz" -checksum=6e6cb9a28aeb81f7751e9439fdeafa7eab9d0e5e643b2d569240141a6f860180 +checksum=3bc307ef57bb209f4c95942cafc0436bbf27d681eb4f9adba75c6ed2c4c17341 pre_build() { cd $GOSRCPATH