From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1701408-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (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 E82A715802C for <garchives@archives.gentoo.org>; Wed, 18 Dec 2024 21:06:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BBB41E07D0; Wed, 18 Dec 2024 21:06:22 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F1A49E07D0 for <gentoo-commits@lists.gentoo.org>; Wed, 18 Dec 2024 21:06:19 +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 2829033BF60 for <gentoo-commits@lists.gentoo.org>; Wed, 18 Dec 2024 21:06:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 530B3D81 for <gentoo-commits@lists.gentoo.org>; Wed, 18 Dec 2024 21:06:17 +0000 (UTC) From: "Matt Turner" <mattst88@gentoo.org> 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" <mattst88@gentoo.org> Message-ID: <1734555973.ee92b38b16d04ca5f708ced7079c14b8343f204e.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.57.0.ebuild X-VCS-Directories: app-shells/fzf/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: ee92b38b16d04ca5f708ced7079c14b8343f204e X-VCS-Branch: master Date: Wed, 18 Dec 2024 21:06:17 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 66f528e9-6c0d-4301-a92a-e36910f8c03a X-Archives-Hash: 26a582baa11670612a2b86f0a7c2bda3 commit: ee92b38b16d04ca5f708ced7079c14b8343f204e Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Wed Dec 18 21:03:25 2024 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Wed Dec 18 21:06:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee92b38b app-shells/fzf: Version bump to 0.57.0 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> app-shells/fzf/Manifest | 2 ++ app-shells/fzf/fzf-0.57.0.ebuild | 72 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/app-shells/fzf/Manifest b/app-shells/fzf/Manifest index a0e1d83f86fb..906bc31b1b0f 100644 --- a/app-shells/fzf/Manifest +++ b/app-shells/fzf/Manifest @@ -1,2 +1,4 @@ DIST fzf-0.56.3-deps.tar.xz 5884504 BLAKE2B b5ffa8dd62e81d4db0266b1c66ebcb3938dc5a7702aced44f516327e2f94c7b381ac50e43dad012934c7adb397aa1b6c73b75fac91723838cc39c5c8d0076018 SHA512 ac15caa887d5d01fde7de5ed9dfc3c6c8b91ef583577aafe6ab93486732201b46625467ce1fc076a5b2ec5f6f71aa63d96c649564fe4ee672e950cf03d904c28 DIST fzf-0.56.3.tar.gz 300405 BLAKE2B d4139fd5fc95d710f18f5415f98e512c58812d5e5849481b47898b618dd33f33cfa532a9b767a787f565337f7ca8ea383f6bf10100ef90a78bbba9ad77e68fa3 SHA512 7144036bf3d027272bb1f961bb6a2721a7a85b16955b45f67798e16ac9f7891a04ed3b343b71c3426358e9e92abe1faba10b679caf8f99ca1905c6b312e6c9b7 +DIST fzf-0.57.0-deps.tar.xz 5890984 BLAKE2B 7d1bfbcbc01f99e77d601cec1080a45d8565320f4998f1ff4691ae3afbdbd7733c5861282e6d2167bb68d02ff06331913dad53ecdce6cd2ca6ced9ba11518279 SHA512 2c46a268cea450ff224e8251354443b1f7aa7f5a939e976c2a92fa3218444504205de3a72064820df2ee25b0d4de30e7f8877d4fa004e850d82eb13f2453e9ff +DIST fzf-0.57.0.tar.gz 303081 BLAKE2B ab478c15e9229105b73275155a54bcf3dfcfcc9704414fd84511932572156c8695982c9aee2b5f609a9ec4b82ff895a96c11bd30c5d1f1345273a7272a2d71bc SHA512 1e5a76e647bb1ab784582b1e8069df908d844e564ab1c2c7cf9d389326a97ffc3c8c102050c40656ef60039f70284ceef78b3c739d7c32ff84b7493aac71f7d2 diff --git a/app-shells/fzf/fzf-0.57.0.ebuild b/app-shells/fzf/fzf-0.57.0.ebuild new file mode 100644 index 000000000000..959a06f96205 --- /dev/null +++ b/app-shells/fzf/fzf-0.57.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 2019-2024 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=0476a65fca287a1cd17ae3cbdfd8155eb0fb40ad +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 +}