public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/fzf/
Date: Wed, 29 Apr 2020 11:40:25 +0000 (UTC)	[thread overview]
Message-ID: <1588160407.24712a082c1191fc63dddfc074a13b8342bfb7c1.juippis@gentoo> (raw)

commit:     24712a082c1191fc63dddfc074a13b8342bfb7c1
Author:     Olaf Torvaldsson <consus <AT> ftml <DOT> net>
AuthorDate: Sat Apr 25 07:32:53 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Apr 29 11:40:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24712a08

app-shells/fzf: bump to 0.21.1

Highlights:
* Install fzf(1) manual page
* Replace einfo with elog; einfo is muted when emerge is running
  in parallel mode
* Make shell commands easier to spot in elog messages
* Clarify that bash keybindings are in fact keybindings and are in fact
  bash-specific
* Remove kinda pointless optfeature noise

Closes: https://bugs.gentoo.org/719346
Signed-off-by: Olaf Torvaldsson <consus <AT> ftml.net>
Closes: https://github.com/gentoo/gentoo/pull/15511
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-shells/fzf/Manifest          |   1 +
 app-shells/fzf/fzf-0.21.1.ebuild | 120 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 121 insertions(+)

diff --git a/app-shells/fzf/Manifest b/app-shells/fzf/Manifest
index c272c9c89ab..7bc9ed0f9f9 100644
--- a/app-shells/fzf/Manifest
+++ b/app-shells/fzf/Manifest
@@ -1,4 +1,5 @@
 DIST fzf-0.21.0.tar.gz 161819 BLAKE2B 2da6b62425e88c10fa8d3ce3b7d2d25c67a9bd99bf3c402a8e0c84e567f931393fb914e365d0840d4a21409b06b6c76b7f622b68fe99fa5edd9fba8817eefea7 SHA512 8c3b7eb14ac98b386c26bd6621c54a27e904985f2e87c37ae8f31c3596196f32a817be17aa5e7dd399757cb90b5f25c35ce4a240453eb28f7d1d2fd837d8900d
+DIST fzf-0.21.1.tar.gz 163978 BLAKE2B 2f05379049229ca01570b3a58bbcaeab48f85330a556efccca2a19b6fbc80da160dd6cada27d35c3fbac3983e71141f408069e70916663aa3b5f40ed5ad22165 SHA512 db816446a2d562148f7bfe4fc99696e0786d4acfe021ba9bf31344c81219b8a61cae03ec7d4b279ab3dba9ca93fc883e655fc71a750fb6f1905612db071ac831
 DIST github.com%2F!d!a!t!a-!d!o!g%2Fgo-sqlmock%2F@v%2Fv1.3.3.mod 38 BLAKE2B eb94b6f6f4bf332f916cb642fae50486c6ad9f6a7aa1bb57aade3ed640bc98236ae167d30c140c106cee0ada737eca6bdf54d36bcab0751a940f283f55f08c5c SHA512 43bc64732c4ca2ff23bb09cd67f002b05a1b68963116fb42cf9bd60ac8dade8b2efa1cab798217a73b221ea86fb4e219e36912ffe338c7bd505f2a877be05c09
 DIST github.com%2Fgdamore%2Fencoding%2F@v%2Fv1.0.0.mod 77 BLAKE2B 1b81c4c20a890027242b50f1566f4dfdaf120ee26d3dc56d0c2b6465df2ba79b208289eb40c3d7b666a4e7e874210f59aea545d5125c9a55c5597a3ca7f37feb SHA512 fb153c4e481c073133f0c933c67eba8a1f160ab146921f2c77125b6ff5c348cea57e3a5701a557c8db2212d32e3cba1c09b9509210660c17b66c2a45ba97cb75
 DIST github.com%2Fgdamore%2Fencoding%2F@v%2Fv1.0.0.zip 19867 BLAKE2B a772206ce6dc48b32d7125a25b26694325d367ebcbad85466b2e6cfdb9fc9f0e08b98b7ecede5397344e5f7e623c4c76edcf69dcee99917adccf5b31aad80bf8 SHA512 127767c725e376b43fe4e2003ddc12fe89693d6d7e52b01e6d47d73fd04496decc0fd60b64c7a65303428e00a52ece1848610ea35231789a814187ef8503bee3

diff --git a/app-shells/fzf/fzf-0.21.1.ebuild b/app-shells/fzf/fzf-0.21.1.ebuild
new file mode 100644
index 00000000000..54e6dff35df
--- /dev/null
+++ b/app-shells/fzf/fzf-0.21.1.ebuild
@@ -0,0 +1,120 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="A general-purpose command-line fuzzy finder, written in GoLang"
+HOMEPAGE="https://github.com/junegunn/fzf"
+
+EGO_SUM=(
+	"github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod"
+	"github.com/gdamore/encoding v1.0.0"
+	"github.com/gdamore/encoding v1.0.0/go.mod"
+	"github.com/gdamore/tcell v1.3.0"
+	"github.com/gdamore/tcell v1.3.0/go.mod"
+	"github.com/lucasb-eyer/go-colorful v1.0.2"
+	"github.com/lucasb-eyer/go-colorful v1.0.2/go.mod"
+	"github.com/lucasb-eyer/go-colorful v1.0.3"
+	"github.com/lucasb-eyer/go-colorful v1.0.3/go.mod"
+	"github.com/mattn/go-isatty v0.0.12"
+	"github.com/mattn/go-isatty v0.0.12/go.mod"
+	"github.com/mattn/go-runewidth v0.0.4"
+	"github.com/mattn/go-runewidth v0.0.4/go.mod"
+	"github.com/mattn/go-runewidth v0.0.8"
+	"github.com/mattn/go-runewidth v0.0.8/go.mod"
+	"github.com/mattn/go-shellwords v1.0.9"
+	"github.com/mattn/go-shellwords v1.0.9/go.mod"
+	"github.com/saracen/walker v0.0.0-20191201085201-324a081bae7e"
+	"github.com/saracen/walker v0.0.0-20191201085201-324a081bae7e/go.mod"
+	"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2"
+	"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
+	"golang.org/x/crypto v0.0.0-20200128174031-69ecbb4d6d5d"
+	"golang.org/x/crypto v0.0.0-20200128174031-69ecbb4d6d5d/go.mod"
+	"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
+	"golang.org/x/net v0.0.0-20190620200207-3b0461eec859"
+	"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
+	"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
+	"golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e"
+	"golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod"
+	"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
+	"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
+	"golang.org/x/sys v0.0.0-20190626150813-e07cf5db2756"
+	"golang.org/x/sys v0.0.0-20190626150813-e07cf5db2756/go.mod"
+	"golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod"
+	"golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5"
+	"golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod"
+	"golang.org/x/text v0.3.0"
+	"golang.org/x/text v0.3.0/go.mod"
+	"golang.org/x/text v0.3.2"
+	"golang.org/x/text v0.3.2/go.mod"
+	"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
+	"golang.org/x/tools v0.0.0-20191011211836-4c025a95b26e"
+	"golang.org/x/tools v0.0.0-20191011211836-4c025a95b26e/go.mod"
+	"golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod"
+)
+go-module_set_globals
+
+EGO_PN="github.com/junegunn/${PN}"
+SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+	${EGO_SUM_SRC_URI}"
+
+LICENSE="MIT BSD-with-disclosure"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=( ${FILESDIR}/${PN}-0.21.0-makefile.patch )
+
+src_install() {
+	default
+
+	# Install fzf binary
+	dobin bin/${PN}
+	doman man/man1/${PN}.1
+
+	# Install TMUX utils
+	dobin bin/${PN}-tmux
+	doman man/man1/${PN}-tmux.1
+
+	# Install Neovim plugin
+	insinto /usr/share/nvim/runtime/plugin
+	doins plugin/${PN}.vim
+
+	# Install VIM plugin
+	insinto /usr/share/vim/vimfiles/plugin
+	doins plugin/${PN}.vim
+
+	# Install bash completion file
+	newbashcomp shell/completion.bash ${PN}
+
+	# Install zsh completion file
+	insinto /usr/share/zsh/site-functions
+	newins shell/completion.zsh _${PN}
+
+	# Install key-bindings for bash, fish and zsh
+	insinto /usr/share/fzf
+	doins shell/key-bindings.bash
+	doins shell/key-bindings.fish
+	doins shell/key-bindings.zsh
+}
+
+pkg_postinst() {
+	if [[ -z "${REPLACING_VERSIONS}" ]]; then
+		elog "To add fzf support to your shell, make sure to use the right file"
+		elog "from /usr/share/fzf."
+		elog
+		elog "For bash, add the following line to ~/.bashrc:"
+		elog
+		elog "	# source /usr/share/fzf/key-bindings.bash"
+		elog
+		elog "Or create a symlink:"
+		elog
+		elog "	# ln -s /usr/share/fzf/key-bindings.bash /etc/bash/bashrc.d/fzf.bash"
+		elog
+		elog "Plugins for Vim and Neovim are installed to respective directories"
+		elog "and will work out of the box."
+		elog
+		elog "For fzf support in tmux see fzf-tmux(1)."
+	fi
+}


             reply	other threads:[~2020-04-29 11:40 UTC|newest]

Thread overview: 106+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-29 11:40 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-24  0:36 [gentoo-commits] repo/gentoo:master commit in: app-shells/fzf/ Matt Turner
2024-09-05  0:06 Sam James
2024-09-02 19:25 Sam James
2024-09-02 19:25 Sam James
2024-09-02 18:22 Matt Turner
2024-07-31 16:14 Matt Turner
2024-07-31 16:14 Matt Turner
2024-07-22 10:29 Jakov Smolić
2024-07-22  5:43 Joonas Niilola
2024-07-22  5:43 Joonas Niilola
2024-07-22  3:27 Matt Turner
2024-07-15 18:05 Matt Turner
2024-07-02  9:48 Sam James
2024-07-02  5:48 Joonas Niilola
2024-07-02  5:45 Joonas Niilola
2024-06-11 19:09 Matt Turner
2024-06-11 19:09 Matt Turner
2024-06-06  4:05 Sam James
2024-06-06  1:55 Jakov Smolić
2024-06-06  0:45 Sam James
2024-05-16  6:52 Joonas Niilola
2024-05-16  6:52 Joonas Niilola
2024-05-16  4:17 Arthur Zamarin
2024-05-15 15:29 Matt Turner
2024-05-01 20:24 Matt Turner
2024-04-10 17:17 Matt Turner
2024-02-27 23:00 Sam James
2024-02-02  1:18 Sam James
2024-02-02  1:02 Sam James
2024-01-28 21:51 Sam James
2024-01-28 20:36 Jonas Stein
2024-01-02  7:27 Sam James
2023-12-16  7:05 Arthur Zamarin
2023-12-16  4:12 Sam James
2023-11-25 22:47 Sam James
2023-11-25 22:47 Sam James
2023-11-13  3:28 Sam James
2023-10-15  8:26 Sam James
2023-08-29  7:01 Sam James
2023-07-16 17:34 Arthur Zamarin
2023-07-16 17:34 Arthur Zamarin
2023-06-15 22:03 Sam James
2023-05-27  7:07 Sam James
2023-05-27  7:07 Sam James
2023-05-27  7:07 Sam James
2023-05-26 12:52 Sam James
2023-05-01 15:00 Sam James
2023-05-01 15:00 Sam James
2023-05-01 10:42 Sam James
2023-04-02 21:44 Sam James
2023-02-16  4:18 Sam James
2023-02-12  6:22 Sam James
2023-01-26  8:30 Joonas Niilola
2023-01-26  8:30 Joonas Niilola
2023-01-26  7:15 Sam James
2023-01-25  7:13 Sam James
2023-01-17  1:53 Sam James
2023-01-17  1:53 Sam James
2022-11-19  3:23 Sam James
2022-11-11 22:36 Sam James
2022-11-09 12:30 Matt Turner
2022-11-05 17:11 Agostino Sarubbo
2022-11-05  6:27 Sam James
2022-09-29  5:10 Joonas Niilola
2022-09-29  5:10 Joonas Niilola
2022-09-28 23:35 Sam James
2022-08-29 20:13 Sam James
2022-08-29 19:06 Sam James
2022-08-12 18:16 Sam James
2022-07-22 22:02 Sam James
2022-07-19 19:47 Matt Turner
2022-07-12  6:47 Agostino Sarubbo
2022-07-12  6:46 Agostino Sarubbo
2022-06-05  5:28 Joonas Niilola
2022-06-05  5:28 Joonas Niilola
2022-06-04 19:46 Matt Turner
2022-06-04 19:46 Matt Turner
2022-02-02 22:24 Sam James
2022-02-02 22:24 Sam James
2022-01-12  9:31 Georgy Yakovlev
2022-01-02 13:26 Georgy Yakovlev
2022-01-02 13:21 Yixun Lan
2021-11-14  5:25 Sam James
2021-11-14  5:25 Sam James
2021-11-11  9:47 Jakov Smolić
2021-11-11  8:36 Jakov Smolić
2021-11-04 17:09 Sam James
2021-07-13  0:05 Sam James
2021-07-12 22:37 Sam James
2021-06-16 14:14 Sam James
2021-06-16 14:14 Sam James
2021-06-16 14:14 Sam James
2021-06-16 14:14 Sam James
2021-05-10  6:14 Joonas Niilola
2021-02-09  8:35 Sam James
2021-02-09  8:35 Sam James
2021-01-09  4:21 Sam James
2021-01-09  4:21 Sam James
2020-12-16  8:29 Joonas Niilola
2020-10-31  9:47 Joonas Niilola
2020-10-31  9:47 Joonas Niilola
2020-08-12  7:23 Joonas Niilola
2020-06-07 12:12 Joonas Niilola
2020-05-27  6:18 Joonas Niilola
2020-04-23  6:37 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1588160407.24712a082c1191fc63dddfc074a13b8342bfb7c1.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox