Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-shells/fzf-fish/
Date: Sat, 16 Oct 2021 10:21:43
Message-Id: 1634379664.f29eaa436f24204dbbd44a9464efb5610fee4ed5.Alessandro-Barbieri@gentoo
1 commit: f29eaa436f24204dbbd44a9464efb5610fee4ed5
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sat Oct 16 08:54:13 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sat Oct 16 10:21:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f29eaa43
7
8 app-shells/fzf-fish: add 7.3
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 app-shells/fzf-fish/Manifest | 1 +
13 app-shells/fzf-fish/fzf-fish-7.3.ebuild | 55 +++++++++++++++++++++++++++++++++
14 2 files changed, 56 insertions(+)
15
16 diff --git a/app-shells/fzf-fish/Manifest b/app-shells/fzf-fish/Manifest
17 index 76e949b55..1a2e4cdb8 100644
18 --- a/app-shells/fzf-fish/Manifest
19 +++ b/app-shells/fzf-fish/Manifest
20 @@ -1 +1,2 @@
21 DIST fzf-fish-7.1.tar.gz 6068759 BLAKE2B e985e5fdd935e50f079b9e096baad5aaa78478d2dc949c3f813c73b5c728899ad818322adb282f1e0cd4df966014b0cf8bff7e0b66b37958adeecc57564aea3a SHA512 11c89a1ce0fbb9d50370cbb694fb59d0b94847d92ab8333af28493130dce02f55b41df99641d69c6f0503641e891e5ea935ce1e3cb4f095239fd8619ee694e44
22 +DIST fzf-fish-7.3.tar.gz 5495974 BLAKE2B be1d29e01aae34ea010df44af53658ce0a6b8a58bd885c9e5a3e1e1428d36312f9affbf0a9dc6eac7bca3fe3ae26a67ace343a9a3bc5d22055ef7898eb209b85 SHA512 160735d107f2e6feaf9c51699abe425d36562bfb3a11135564c32944650b76c071fc7d5adc717a0d4f66df43c1ddad9a447d085a3063099dab7a6be1f9c395e7
23
24 diff --git a/app-shells/fzf-fish/fzf-fish-7.3.ebuild b/app-shells/fzf-fish/fzf-fish-7.3.ebuild
25 new file mode 100644
26 index 000000000..762694654
27 --- /dev/null
28 +++ b/app-shells/fzf-fish/fzf-fish-7.3.ebuild
29 @@ -0,0 +1,55 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DESCRIPTION="Augment your fish command line with fzf key bindings"
36 +HOMEPAGE="https://github.com/PatrickF1/fzf.fish"
37 +SRC_URI="https://github.com/PatrickF1/fzf.fish/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
38 +S="${WORKDIR}/${PN/-/.}-${PV}"
39 +
40 +LICENSE="MIT"
41 +SLOT="0"
42 +KEYWORDS="~amd64"
43 +IUSE="test"
44 +
45 +RDEPEND="
46 + app-shells/fish
47 + app-shells/fzf
48 + sys-apps/bat
49 + sys-apps/fd
50 +"
51 +DEPEND="
52 + ${RDEPEND}
53 + test? (
54 + app-shells/clownfish
55 + app-shells/fishtape
56 + app-shells/fzf-fish
57 + dev-vcs/git
58 + )
59 +"
60 +
61 +DOCS=( README.md )
62 +#RESTRICT="!test? ( test )"
63 +RESTRICT="test" # how to run tests?
64 +
65 +src_install() {
66 + insinto "/usr/share/fish/vendor_completions.d"
67 + doins completions/*
68 + insinto "/usr/share/fish/vendor_conf.d"
69 + doins conf.d/*
70 + insinto "/usr/share/fish/vendor_functions.d"
71 + doins functions/*
72 + einstalldocs
73 +}
74 +
75 +src_test() {
76 + # it want a git repo
77 + git init || die
78 + git config --global user.email "you@×××××××.com" || die
79 + git config --global user.name "Your Name" || die
80 + git add . || die
81 + git commit -m 'init' || die
82 +
83 + fish -c 'fishtape tests/*/*.fish' || die
84 +}