Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/fzf/
Date: Tue, 09 Feb 2021 08:45:19
Message-Id: 1612859650.610c34e281884dbce99f2d2e33accaf184e3f290.sam@gentoo
1 commit: 610c34e281884dbce99f2d2e33accaf184e3f290
2 Author: Theo Anderson <telans <AT> posteo <DOT> de>
3 AuthorDate: Mon Feb 8 21:55:18 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 9 08:34:10 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=610c34e2
7
8 app-shells/fzf: bump to 0.25.1
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Theo Anderson <telans <AT> posteo.de>
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 app-shells/fzf/Manifest | 1 +
15 app-shells/fzf/fzf-0.25.1.ebuild | 106 +++++++++++++++++++++++++++++++++++++++
16 2 files changed, 107 insertions(+)
17
18 diff --git a/app-shells/fzf/Manifest b/app-shells/fzf/Manifest
19 index a3fca91f65c..aa551c2296b 100644
20 --- a/app-shells/fzf/Manifest
21 +++ b/app-shells/fzf/Manifest
22 @@ -1,5 +1,6 @@
23 DIST fzf-0.24.4.tar.gz 175421 BLAKE2B 8c06f6abb2e8a8a407f36e613efc084d63cc9797bb8c076c7d9a497b52b86865243b3cf3e80147cd2db0f6a98e850a28dc58dc949109a152ca6adf330dd41ff1 SHA512 348cc000b4e28054bff56a37171ef4dd7ac22c7c292c19c3c0b95f3d30856b443887447604e1e38cfd71b421a22c1135a13cb40c78e5b34d477acaa3dcadb821
24 DIST fzf-0.25.0.tar.gz 176905 BLAKE2B fd0fa18643947428d8a7257f9aebf579e3d57fbc0216d4629ed77616d1729d2cc68514125b5de5b2e85b65b26d6c95e69942f076aa99aa27e57d4f9b778f8923 SHA512 73b65374334531ac81a64bb973cb976f4dab7c6458eb2705f323349223880294fa6238b0eeea3412ff121c5c1b70905b261ceb7994c2b00425b02c88286b36e3
25 +DIST fzf-0.25.1.tar.gz 177955 BLAKE2B e5bb5e40ccdb36ba015196ba6e5abfff6b7c6f4b6ebc4c824d5e2c4e8107a08d49f03210732358bcbb56d1765448f8eecfe4a2e61405ebdd36984c3c54b7d818 SHA512 755046b4a8604fd3d1f2b66b967ad79cf5d4581dba1e40abed338c767d4421620df0f1f6a81a6c22c20da54dfdb1ff6847bad8f58ed83fc5e1928038c9d042f2
26 DIST github.com%2Fgdamore%2Fencoding%2F@v%2Fv1.0.0.mod 77 BLAKE2B 1b81c4c20a890027242b50f1566f4dfdaf120ee26d3dc56d0c2b6465df2ba79b208289eb40c3d7b666a4e7e874210f59aea545d5125c9a55c5597a3ca7f37feb SHA512 fb153c4e481c073133f0c933c67eba8a1f160ab146921f2c77125b6ff5c348cea57e3a5701a557c8db2212d32e3cba1c09b9509210660c17b66c2a45ba97cb75
27 DIST github.com%2Fgdamore%2Fencoding%2F@v%2Fv1.0.0.zip 19867 BLAKE2B a772206ce6dc48b32d7125a25b26694325d367ebcbad85466b2e6cfdb9fc9f0e08b98b7ecede5397344e5f7e623c4c76edcf69dcee99917adccf5b31aad80bf8 SHA512 127767c725e376b43fe4e2003ddc12fe89693d6d7e52b01e6d47d73fd04496decc0fd60b64c7a65303428e00a52ece1848610ea35231789a814187ef8503bee3
28 DIST github.com%2Fgdamore%2Ftcell%2F@v%2Fv1.4.0.mod 250 BLAKE2B 46093e9211011e814962ba2eafec4392948f185d27a202a8b626e16299e3a3fa4554a604933ceab584b27cca2b7a6b1f51d4e5fe10d673e875e38eca08de64ec SHA512 412dee57c525bd5a3c0ce9c482e7933814758e36ebb226a16392e648f57e280485f86e30f17be2339eed427b52e4b0b601401503d0bd324c7fa874e2fcba2b60
29
30 diff --git a/app-shells/fzf/fzf-0.25.1.ebuild b/app-shells/fzf/fzf-0.25.1.ebuild
31 new file mode 100644
32 index 00000000000..7d0e59ec1bb
33 --- /dev/null
34 +++ b/app-shells/fzf/fzf-0.25.1.ebuild
35 @@ -0,0 +1,106 @@
36 +# Copyright 2019-2021 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=7
40 +
41 +inherit bash-completion-r1 go-module
42 +
43 +DESCRIPTION="A general-purpose command-line fuzzy finder, written in GoLang"
44 +HOMEPAGE="https://github.com/junegunn/fzf"
45 +
46 +# For fancy versioning only. Bump on the next release!
47 +MY_GIT_REV=6654239
48 +
49 +EGO_SUM=(
50 + "github.com/gdamore/encoding v1.0.0"
51 + "github.com/gdamore/encoding v1.0.0/go.mod"
52 + "github.com/gdamore/tcell v1.4.0"
53 + "github.com/gdamore/tcell v1.4.0/go.mod"
54 + "github.com/lucasb-eyer/go-colorful v1.0.3"
55 + "github.com/lucasb-eyer/go-colorful v1.0.3/go.mod"
56 + "github.com/mattn/go-isatty v0.0.12"
57 + "github.com/mattn/go-isatty v0.0.12/go.mod"
58 + "github.com/mattn/go-runewidth v0.0.7/go.mod"
59 + "github.com/mattn/go-runewidth v0.0.9"
60 + "github.com/mattn/go-runewidth v0.0.9/go.mod"
61 + "github.com/mattn/go-shellwords v1.0.10"
62 + "github.com/mattn/go-shellwords v1.0.10/go.mod"
63 + "github.com/saracen/walker v0.1.1"
64 + "github.com/saracen/walker v0.1.1/go.mod"
65 + "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2"
66 + "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
67 + "golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897"
68 + "golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod"
69 + "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
70 + "golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod"
71 + "golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9"
72 + "golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod"
73 + "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
74 + "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
75 + "golang.org/x/sys v0.0.0-20190626150813-e07cf5db2756"
76 + "golang.org/x/sys v0.0.0-20190626150813-e07cf5db2756/go.mod"
77 + "golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod"
78 + "golang.org/x/sys v0.0.0-20201026173827-119d4633e4d1"
79 + "golang.org/x/sys v0.0.0-20201026173827-119d4633e4d1/go.mod"
80 + "golang.org/x/text v0.3.0"
81 + "golang.org/x/text v0.3.0/go.mod"
82 + "golang.org/x/text v0.3.3"
83 + "golang.org/x/text v0.3.3/go.mod"
84 + "golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
85 +)
86 +
87 +go-module_set_globals
88 +
89 +SRC_URI="
90 + https://github.com/junegunn/fzf/archive/${PV}.tar.gz -> ${P}.tar.gz
91 + ${EGO_SUM_SRC_URI}
92 +"
93 +
94 +LICENSE="MIT BSD-with-disclosure"
95 +SLOT="0"
96 +KEYWORDS="~amd64 ~x86"
97 +
98 +src_compile() {
99 + emake PREFIX="${EPREFIX}"/usr VERSION=${PV} REVISION=${MY_GIT_REV} bin/${PN}
100 +}
101 +
102 +src_install() {
103 + dobin bin/${PN}
104 + doman man/man1/${PN}.1
105 +
106 + dobin bin/${PN}-tmux
107 + doman man/man1/${PN}-tmux.1
108 +
109 + insinto /usr/share/vim/vimfiles/plugin
110 + doins plugin/${PN}.vim
111 +
112 + insinto /usr/share/nvim/runtime/plugin
113 + doins plugin/${PN}.vim
114 +
115 + newbashcomp shell/completion.bash ${PN}
116 +
117 + insinto /usr/share/zsh/site-functions
118 + newins shell/completion.zsh _${PN}
119 +
120 + insinto /usr/share/fzf
121 + doins shell/key-bindings.bash
122 + doins shell/key-bindings.fish
123 + doins shell/key-bindings.zsh
124 +}
125 +
126 +pkg_postinst() {
127 + if [[ -z ${REPLACING_VERSIONS} ]]; then
128 + elog "To add fzf support to your shell, make sure to use the right file"
129 + elog "from /usr/share/fzf."
130 + elog
131 + elog "For bash, add the following line to ~/.bashrc:"
132 + elog
133 + elog " # source /usr/share/bash-completion/completions/fzf"
134 + elog " # source /usr/share/fzf/key-bindings.bash"
135 + elog
136 + elog "Plugins for Vim and Neovim are installed to respective directories"
137 + elog "and will work out of the box."
138 + elog
139 + elog "For fzf support in tmux see fzf-tmux(1)."
140 + fi
141 +}