From 9d007ecbd694ab7b8524e0998293abf235eb63e0 Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Thu, 9 Apr 2020 21:56:02 +0200 Subject: app-shells/fzf: Bump to 0.21.1 This ebuild now uses the recommended go-module eclass. Package-Manager: Portage-2.3.89, Repoman-2.3.20 --- app-shells/fzf/fzf-0.20.0.ebuild | 81 ---------------------------------------- 1 file changed, 81 deletions(-) delete mode 100644 app-shells/fzf/fzf-0.20.0.ebuild (limited to 'app-shells/fzf/fzf-0.20.0.ebuild') diff --git a/app-shells/fzf/fzf-0.20.0.ebuild b/app-shells/fzf/fzf-0.20.0.ebuild deleted file mode 100644 index 2522421..0000000 --- a/app-shells/fzf/fzf-0.20.0.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -GIT_COMMIT="${PV}" -EGO_PN="github.com/junegunn/${PN}" -EGO_VENDOR=( - "github.com/gdamore/tcell 0a0db94084df" - "github.com/mattn/go-isatty 66b8e73f3f5c" - "github.com/mattn/go-runewidth 14207d285c6c" - "github.com/mattn/go-shellwords v1.0.3" - "golang.org/x/crypto 558b6879de74 github.com/golang/crypto" - "golang.org/x/sys a5b02f93d862 github.com/golang/sys" -) - -inherit bash-completion-r1 golang-vcs-snapshot - -DESCRIPTION="A general-purpose command-line fuzzy finder" -HOMEPAGE="https://github.com/junegunn/fzf" -ARCHIVE_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -SRC_URI="${ARCHIVE_URI} ${EGO_VENDOR_URI}" -RESTRICT="mirror" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64" -IUSE="debug tmux" - -RDEPEND="tmux? ( app-misc/tmux )" - -DOCS=( CHANGELOG.md README.md ) -QA_PRESTRIPPED="usr/bin/.*" - -S="${WORKDIR}/${P}/src/${EGO_PN}" - -src_compile() { - local mygoargs=( - -v - -work - -x - -tags release - -ldflags "-X main.version=${PV}" - -asmflags "-trimpath=${S}" - -gcflags "-trimpath=${S}" - ) - GO111MODULE=off GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \ - go build "${mygoargs[@]}" || die -} - -src_test() { - GO111MODULE=off GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \ - go test -timeout 30m -v -work ./src{,/algo,/tui,/util} || die -} - -src_install() { - dobin fzf - use debug && dostrip -x /usr/bin/fzf - einstalldocs - - doman man/man1/fzf.1 - - newbashcomp shell/completion.bash fzf - - insinto /usr/share/nvim/runtime/plugin - doins plugin/fzf.vim - - insinto /usr/share/vim/vimfiles/plugin - doins plugin/fzf.vim - dodoc README-VIM.md - - insinto /usr/share/zsh/site-functions - newins shell/completion.zsh _fzf - insinto /usr/share/zsh/site-contrib/ - newins shell/key-bindings.zsh fzf.zsh - - if use tmux; then - dobin bin/fzf-tmux - doman man/man1/fzf-tmux.1 - fi -} -- cgit v1.2.3-2-gb3c3