diff options
author | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-04-02 18:08:34 +0000 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-04-02 19:55:30 +0000 |
commit | fabcb1e01382b67a1ed3527c8eafa061f5136bd5 (patch) | |
tree | 3461837fdf09894c461f8b4ffb4ab2fbfdc09116 | |
parent | c3c4514c5db9d9ba899e8d0779906e5dbe714825 (diff) | |
download | aports-fabcb1e01382b67a1ed3527c8eafa061f5136bd5.tar.bz2 aports-fabcb1e01382b67a1ed3527c8eafa061f5136bd5.tar.xz |
community/fzf: update to 0.18.0
fzf no longer provides a glide file itself, so we now need to supply our own.
-rw-r--r-- | community/fzf/APKBUILD | 36 | ||||
-rw-r--r-- | community/fzf/glide.lock | 46 | ||||
-rw-r--r-- | community/fzf/glide.yaml | 17 |
3 files changed, 91 insertions, 8 deletions
diff --git a/community/fzf/APKBUILD b/community/fzf/APKBUILD index 087a84ed17..055cb499bb 100644 --- a/community/fzf/APKBUILD +++ b/community/fzf/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Kevin Daudt <kdaudt@alpinelinux.org> # Maintainer: Kevin Daudt <kdaudt@alpinelinux.org> pkgname=fzf -pkgver=0.17.5 -pkgrel=2 +pkgver=0.18.0 +pkgrel=0 pkgdesc="A command-line fuzzy finder" url="https://github.com/junegunn/fzf" arch="all !s390x !aarch64 !armhf !armv7" @@ -14,13 +14,21 @@ subpackages=" $pkgname-zsh-completion:zshcomp:noarch " source="$pkgname-$pkgver.tar.gz::https://github.com/junegunn/fzf/archive/$pkgver.tar.gz - no-glide-install.patch" + glide.yaml + glide.lock" +builddir="$srcdir/src/github.com/junegunn/$pkgname" prepare() { - default_prepare + export GOPATH="$srcdir" + + mkdir -p "$(dirname "$builddir")" + mv "$srcdir"/$pkgname-$pkgver "$builddir"/ + cd "$builddir" - export GOPATH="$startdir" - glide install + cp "$srcdir"/glide.yaml "$srcdir"/glide.lock . + glide install --skip-test + + default_prepare } build() { @@ -71,5 +79,17 @@ zshcomp() { install -m0644 shell/key-bindings.zsh "$subpkgdir"/usr/share/fzf/ } -sha512sums="adb5290317362c32d053294a2dd9a2aa11711521635c1cb1fc11001dea1b06e27856a7c54e7316d211abee3304cc56b8a9ee60773bb99cb4132b533f5464a430 fzf-0.17.5.tar.gz -daa16985079e3b55ccf5e74dde356e1e13e43865c9809e432b5d272b053f541f1eacd402f3b04957ee855fb8c0ca1820b507d08e408f55dc80004990a949874c no-glide-install.patch" +glide_init() { + abuild clean deps unpack prepare + cd "$builddir" + export GOPATH="$startdir" + rm -f glide.yaml glide.lock + glide init --non-interactive + glide update + cp glide.yaml glide.lock "$startdir" + cd "$startdir" && abuild checksum clean +} + +sha512sums="70dcda693ed6706f232874550f89cfcdbce1d28360244a728dd0640a4cfbbbd0899601f42c9096197c159cde86e89d287a06905cb5d665bd09b9d01cca2cb754 fzf-0.18.0.tar.gz +dc14dea17ea585344e16eeffdc244693d97f4519676d20ec43434f6eff460d61be833399469ccb44c25c9fed296d52d424208c4a4cae5a3beecba14593cecd49 glide.yaml +5d1c0801d79a0425e1ec02c818bf440f2201841f356f32350fac06bf3ed7a7d03c0718cbeadc07143701895152f7ee19919e6e527be9e17c0df430f93d0282c9 glide.lock" diff --git a/community/fzf/glide.lock b/community/fzf/glide.lock new file mode 100644 index 0000000000..b2289c20ae --- /dev/null +++ b/community/fzf/glide.lock @@ -0,0 +1,46 @@ +hash: 400a67fd84c8b43e350ad0bf50e222e23596ca4d7dc6051b22fc969d264410a2 +updated: 2019-04-02T17:53:53.217462503Z +imports: +- name: github.com/gdamore/encoding + version: b23993cbb6353f0e6aa98d0ee318a34728f628b9 +- name: github.com/gdamore/tcell + version: 0a0db94084dfe181108c18508ebd312f12d331fb + subpackages: + - encoding +- name: github.com/junegunn/fzf + version: ff951341c993ed84ad65344e496e122ee3dddf67 + subpackages: + - src + - src/algo + - src/tui + - src/util +- name: github.com/lucasb-eyer/go-colorful + version: c900de9dbbc73129068f5af6a823068fc5f2308c +- name: github.com/mattn/go-isatty + version: 66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8 +- name: github.com/mattn/go-runewidth + version: 14207d285c6c197daabb5c9793d63e7af9ab2d50 +- name: github.com/mattn/go-shellwords + version: 02e3cf038dcea8290e44424da473dd12be796a8a +- name: golang.org/x/crypto + version: a5d413f7728c81fb97d96a2b722368945f651e78 + subpackages: + - ssh/terminal +- name: golang.org/x/sys + version: f49334f85ddcf0f08d7fb6dd7363e9e6d6b777eb + subpackages: + - unix + - windows +- name: golang.org/x/text + version: 4ee4af566555f5fbe026368b75596286a312663a + subpackages: + - encoding + - encoding/charmap + - encoding/internal + - encoding/internal/identifier + - encoding/japanese + - encoding/korean + - encoding/simplifiedchinese + - encoding/traditionalchinese + - transform +testImports: [] diff --git a/community/fzf/glide.yaml b/community/fzf/glide.yaml new file mode 100644 index 0000000000..f2c33deafb --- /dev/null +++ b/community/fzf/glide.yaml @@ -0,0 +1,17 @@ +package: src/github.com/junegunn/fzf +import: +- package: github.com/gdamore/tcell + subpackages: + - encoding +- package: github.com/junegunn/fzf + subpackages: + - src + - src/algo + - src/tui + - src/util +- package: github.com/mattn/go-isatty +- package: github.com/mattn/go-runewidth +- package: github.com/mattn/go-shellwords +- package: golang.org/x/crypto + subpackages: + - ssh/terminal |