From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 327051581EE for ; Wed, 02 Apr 2025 15:53:08 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 1F08F343226 for ; Wed, 02 Apr 2025 15:53:08 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 3E9AE1104B4; Wed, 02 Apr 2025 15:53:04 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 349EC1104B4 for ; Wed, 02 Apr 2025 15:53:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC6E234321B for ; Wed, 02 Apr 2025 15:53:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 161DE1BEE for ; Wed, 02 Apr 2025 15:53:02 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1743609178.b5f69a9de6c6af37eb0b904f18a9f89c2b4b1628.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/fzf/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-shells/fzf/Manifest app-shells/fzf/fzf-0.61.0.ebuild X-VCS-Directories: app-shells/fzf/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: b5f69a9de6c6af37eb0b904f18a9f89c2b4b1628 X-VCS-Branch: master Date: Wed, 02 Apr 2025 15:53:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d6959d54-6855-4ad5-9812-dcc51bc794d8 X-Archives-Hash: 042bc28bac7ea70ee9a20b23131d50fc commit: b5f69a9de6c6af37eb0b904f18a9f89c2b4b1628 Author: Matt Turner gentoo org> AuthorDate: Wed Apr 2 15:52:12 2025 +0000 Commit: Matt Turner gentoo org> CommitDate: Wed Apr 2 15:52:58 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5f69a9d app-shells/fzf: Version bump to 0.61.0 Signed-off-by: Matt Turner gentoo.org> app-shells/fzf/Manifest | 2 ++ app-shells/fzf/fzf-0.61.0.ebuild | 72 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/app-shells/fzf/Manifest b/app-shells/fzf/Manifest index 4a98f4c4667e..d849749de784 100644 --- a/app-shells/fzf/Manifest +++ b/app-shells/fzf/Manifest @@ -6,3 +6,5 @@ DIST fzf-0.59.0-deps.tar.xz 5897312 BLAKE2B 3d4116c8cd49d36a4019c092b9598cb40ce0 DIST fzf-0.59.0.tar.gz 323970 BLAKE2B 88d6a98d5f969831c1214e2ae69a05b39e87400abfac3bbf3fbd18cb2cde561f3ed8ef0c770fe6fc1ea86b09b8e08aee69d63c53b4f79b080cdbb9f02cd8ab7a SHA512 271f6870c680f7631fd9e9ee1fe154ef617f2329b8cf3611e24d0c0bac0b3a2f9c0e1be1eda874ffa8343a9c5669607650aaf607087b73a7ff71efa9e1f9994a DIST fzf-0.60.3-deps.tar.xz 5910228 BLAKE2B ee8085868748a4edc66bf0ce7fcd056eb4822635d0435dd7703816f9e4d13366af8e19be8853600612205a49f586c99fa3a2075ffa64e34ccd1a6ace9e370f75 SHA512 614f51fdc12a2c323307236de3fb9be5370ec274f5d4e2fc8ed8b0eb17ca03a9ed781b375bbcd40d949627d48049cd323fc05d6cce65aeb85fd567c5a12dda76 DIST fzf-0.60.3.tar.gz 328951 BLAKE2B 36e80b027ccbe1c6f0d3d36dc3cabb449a006c1d45eeae757592ed0f84c761ab06514fd020602ca3c1c572dfdea5205814b26c12edf10590aaf2cd902cf9e0ca SHA512 da34038bd9df735ba43ed834e593188b7242a46f9c7f9e1b5a7818f030eb97a6052c2a0a8161bccf1dbb918c4f891ac29d232c2bcb55f73f2c1dd1e86367463b +DIST fzf-0.61.0-deps.tar.xz 5906864 BLAKE2B 5d6e2db6f2234bcc0b7a8d4f2af3a48cae78620c0ab3a876b8d65119e3773fcb14266773573fab4ed0a8a405b0c75ecc427867fe8148d9650974d48ec80818c9 SHA512 6976447df5f99542f74d6d9734a2db365adbc04a35c76eebe660feca772b5c647fcecc83804cace37f2ee54d1512f6e7241c33c9124c751effe6ee7c7c3ded2e +DIST fzf-0.61.0.tar.gz 330880 BLAKE2B b3f426d827ef30d1ebc26349c97c54da079203c52928c914b51b4cccae5d2555e76611f6295d219b74a6f5f0a64fd743d5adfe213139facee918a857704964c0 SHA512 83c9fee7f4bdffee04847ac6ed079f58506b0f740388deed9f3082ca67e5db672d03c1a17dfec25489c8390f36d9545b589c522585b3d5bb7cc9288a91f546c6 diff --git a/app-shells/fzf/fzf-0.61.0.ebuild b/app-shells/fzf/fzf-0.61.0.ebuild new file mode 100644 index 000000000000..ca3b55c87044 --- /dev/null +++ b/app-shells/fzf/fzf-0.61.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 2019-2025 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=e15cba0c8c7c9dd3388d260cf5b5de7fc044dfbc +MY_GIT_REV=${MY_GIT_REV:0:7} + +SRC_URI="https://github.com/junegunn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~mattst88/distfiles/${P}-deps.tar.xz" + +LICENSE="MIT BSD-with-disclosure" +SLOT="0" +KEYWORDS="~amd64 ~arm ~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 +}