Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-shells/fzf-tab/
Date: Wed, 06 Apr 2022 19:50:56
Message-Id: 1649274420.64951fbc93db511b36e33f932282f9d0ef0ab25b.tastytea@gentoo
1 commit: 64951fbc93db511b36e33f932282f9d0ef0ab25b
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Wed Apr 6 19:45:59 2022 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Wed Apr 6 19:47:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=64951fbc
7
8 app-shells/fzf-tab: drop 0_pre20220331
9
10 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
11
12 app-shells/fzf-tab/fzf-tab-0_pre20220331.ebuild | 75 -------------------------
13 1 file changed, 75 deletions(-)
14
15 diff --git a/app-shells/fzf-tab/fzf-tab-0_pre20220331.ebuild b/app-shells/fzf-tab/fzf-tab-0_pre20220331.ebuild
16 deleted file mode 100644
17 index b16dfa3d2..000000000
18 --- a/app-shells/fzf-tab/fzf-tab-0_pre20220331.ebuild
19 +++ /dev/null
20 @@ -1,75 +0,0 @@
21 -# Copyright 2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=8
25 -
26 -inherit readme.gentoo-r1
27 -
28 -MY_COMMIT="103330fdbeba07416d5f90b391eee680cd20d2d6"
29 -DESCRIPTION="Replace zsh's default completion selection menu with fzf"
30 -HOMEPAGE="https://github.com/Aloxaf/fzf-tab"
31 -SRC_URI="https://github.com/Aloxaf/fzf-tab/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
32 -S="${WORKDIR}/${PN}-${MY_COMMIT}"
33 -
34 -LICENSE="MIT"
35 -SLOT="0"
36 -KEYWORDS="~amd64"
37 -IUSE="test"
38 -
39 -RDEPEND="
40 - app-shells/zsh
41 - app-shells/fzf
42 -"
43 -BDEPEND="
44 - test? (
45 - app-shells/zsh
46 - dev-vcs/git
47 - )
48 -"
49 -
50 -RESTRICT="!test? ( test )"
51 -
52 -DISABLE_AUTOFORMATTING="true"
53 -DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add
54 -. /usr/share/zsh/site-functions/${PN}.zsh
55 -to your ~/.zshrc after compinit, but before plugins which will wrap
56 -widgets, such as zsh-autosuggestions or fast-syntax-highlighting"
57 -
58 -MY_ZSH_LIBDIR="/usr/share/zsh/site-functions"
59 -
60 -src_configure() {
61 - # Test fails if we modify FZF_TAB_HOME in place
62 - sed -E "s|^FZF_TAB_HOME=\"[^\"]+\"$|FZF_TAB_HOME=\"${MY_ZSH_LIBDIR}/${PN}\"|" \
63 - ${PN}.zsh > ${PN}-patched.zsh || die "Modifying FZF_TAB_HOME failed"
64 -
65 - pushd modules || die "Changing directory failed"
66 - default_src_configure
67 -}
68 -
69 -src_compile() {
70 - pushd modules || die "Changing directory failed"
71 - default_src_compile
72 -}
73 -
74 -src_test() {
75 - pushd test || die "Changing directory failed"
76 - ZTST_verbose=1 zsh -f ./runtests.zsh fzftab.ztst || die "One or more tests failed"
77 -}
78 -
79 -src_install() {
80 - insinto ${MY_ZSH_LIBDIR}
81 - newins ${PN}{-patched,}.zsh
82 -
83 - insinto ${MY_ZSH_LIBDIR}/${PN}
84 - doins -r lib
85 -
86 - insinto ${MY_ZSH_LIBDIR}/${PN}/modules/Src/aloxaf
87 - doins modules/Src/aloxaf/fzftab.so
88 -
89 - readme.gentoo_create_doc
90 - einstalldocs
91 -}
92 -
93 -pkg_postinst() {
94 - readme.gentoo_print_elog
95 -}