public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/fzf/
Date: Tue, 17 Jan 2023 01:53:10 +0000 (UTC)	[thread overview]
Message-ID: <1673920173.90dc4503a88fa3690e948177d23146d7f9053d61.sam@gentoo> (raw)

commit:     90dc4503a88fa3690e948177d23146d7f9053d61
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 17 01:49:33 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 17 01:49:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90dc4503

app-shells/fzf: add 0.36.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-shells/fzf/Manifest          |  2 ++
 app-shells/fzf/fzf-0.36.0.ebuild | 72 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/app-shells/fzf/Manifest b/app-shells/fzf/Manifest
index 42bc8b7986da..ee1ba5321155 100644
--- a/app-shells/fzf/Manifest
+++ b/app-shells/fzf/Manifest
@@ -4,3 +4,5 @@ DIST fzf-0.35.0-deps.tar.xz 16796112 BLAKE2B 61c22a914bb1eb8cb6da1daf4b25a19d98e
 DIST fzf-0.35.0.tar.gz 218715 BLAKE2B 7eb4a36e481738e56e031ec6e10c69b6499bd6fde204f8bc9474f80b9c6371ca66ebafd5733d4b5de3f2a1fed0c7f2b9b8bbb97681d6194a79f6c82088d6c28e SHA512 8dfdee14b6eced0f2fffc717d6f4e33b93531002754cfcc6b915169feb5f0b62060addf26eb43af028d3d62cdda3c2581a878305ed2fd89f0b27622b6d813cbb
 DIST fzf-0.35.1-deps.tar.xz 16796112 BLAKE2B 61c22a914bb1eb8cb6da1daf4b25a19d98e7b0dcd1575b47b6da995ae0fb5e5bc47612b7abafe2917d12b4900a69e604ffff87bf31f811de449522fe800af8f4 SHA512 eed0a0c5a48c5dfee2b6c4d3320280d75f19c16841e3ad731371060da55885c3ddd8d0490dbfc53a68f095dcff02727e8d804494bfa8edf6da041ffcb197dc74
 DIST fzf-0.35.1.tar.gz 218773 BLAKE2B 79b95e23a85865ea9218a222eba522a0a9d7f042f9119b308bc711cccc5327098dae271ba10fff9619f3ba7bc88037c70459f1caf511d5069264b931c875c49f SHA512 4e32836aa331835b6a7370ea342d2ddfa47a2059f5f7c5eec0b2c0dc9fdede14940bf64977c91df201775b3f4a06763a92593df7a50693d04d13b1befb194753
+DIST fzf-0.36.0-deps.tar.xz 16806808 BLAKE2B f121b3000bc5a0d72ee5cb66f59f4f44c41af30f28ca935a607b424399d12dc762f25811aea999e5de126e2727f8bda614e026da6983ed535d048a7229a07065 SHA512 121c6b1be0cd3af752b11461a72c22e3bc55eec12c12367b354a4ff4d4dc75fb0215cf19cec52008473045c6330a4af71b2e3a14a9a0a124e18aacc1aaad97a9
+DIST fzf-0.36.0.tar.gz 229126 BLAKE2B faa04870b7654b1ffb2f1c453636e33eab94e682c7db4702719419a5eca5ea136c657179248dd646573a625f575c823f9dcfd0023a96390bbf689e7455224411 SHA512 8e87dbd3b5ae9e0dc6a76855f7c75c9b4edc8ce797b2cd4eda053c4e1d618bb9afb2b24602e01776a49e47a00f2cd803ed433043f0acec8d385f741b13583e9e

diff --git a/app-shells/fzf/fzf-0.36.0.ebuild b/app-shells/fzf/fzf-0.36.0.ebuild
new file mode 100644
index 000000000000..688da9c01b11
--- /dev/null
+++ b/app-shells/fzf/fzf-0.36.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 2019-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="General-purpose command-line fuzzy finder, written in Golang"
+HOMEPAGE="https://github.com/junegunn/fzf"
+
+# For fancy versioning only. Bump on the next release!
+# MY_GIT_REV is the first 7 characters of release commit, we truncate it
+# after to make it easier to copy/paste.
+MY_GIT_REV=20230117636c9dfa3ed6f6428c5bc4c51b02f60a
+MY_GIT_REV=${MY_GIT_REV:0:7}
+
+SRC_URI="https://github.com/junegunn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz"
+
+LICENSE="MIT BSD-with-disclosure"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+src_prepare() {
+	default
+	sed -i 's/-s -w //' Makefile || die # bug 795225
+}
+
+src_compile() {
+	emake PREFIX="${EPREFIX}"/usr VERSION=${PV} REVISION=${MY_GIT_REV} bin/${PN}
+}
+
+src_install() {
+	dobin bin/${PN}
+	doman man/man1/${PN}.1
+
+	dobin bin/${PN}-tmux
+	doman man/man1/${PN}-tmux.1
+
+	insinto /usr/share/vim/vimfiles/plugin
+	doins plugin/${PN}.vim
+
+	insinto /usr/share/nvim/runtime/plugin
+	doins plugin/${PN}.vim
+
+	newbashcomp shell/completion.bash ${PN}
+
+	insinto /usr/share/zsh/site-functions
+	newins shell/completion.zsh _${PN}
+
+	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 ${EROOT}/usr/share/fzf."
+		elog
+		elog "For bash, add the following line to ~/.bashrc:"
+		elog
+		elog "	# source ${EROOT}/usr/share/bash-completion/completions/fzf"
+		elog "	# source ${EROOT}/usr/share/fzf/key-bindings.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:[~2023-01-17  1:53 UTC|newest]

Thread overview: 117+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-17  1:53 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-11 17:24 [gentoo-commits] repo/gentoo:master commit in: app-shells/fzf/ Matt Turner
2024-12-18 21:06 Matt Turner
2024-12-13 22:00 Matt Turner
2024-12-13  6:53 Arthur Zamarin
2024-12-13  6:25 Joonas Niilola
2024-12-13  6:21 Joonas Niilola
2024-12-02 16:38 Matt Turner
2024-11-04 16:47 Arthur Zamarin
2024-11-04  3:28 Sam James
2024-11-04  3:05 Sam James
2024-11-04  1:26 Matt Turner
2024-09-24  0:36 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
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-29 11:40 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=1673920173.90dc4503a88fa3690e948177d23146d7f9053d61.sam@gentoo \
    --to=sam@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