mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
app-shells/fzf-fish: add 8.1, drop 7.1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
DIST fzf-fish-7.1.tar.gz 6068759 BLAKE2B e985e5fdd935e50f079b9e096baad5aaa78478d2dc949c3f813c73b5c728899ad818322adb282f1e0cd4df966014b0cf8bff7e0b66b37958adeecc57564aea3a SHA512 11c89a1ce0fbb9d50370cbb694fb59d0b94847d92ab8333af28493130dce02f55b41df99641d69c6f0503641e891e5ea935ce1e3cb4f095239fd8619ee694e44
|
||||
DIST fzf-fish-7.3.tar.gz 5495974 BLAKE2B be1d29e01aae34ea010df44af53658ce0a6b8a58bd885c9e5a3e1e1428d36312f9affbf0a9dc6eac7bca3fe3ae26a67ace343a9a3bc5d22055ef7898eb209b85 SHA512 160735d107f2e6feaf9c51699abe425d36562bfb3a11135564c32944650b76c071fc7d5adc717a0d4f66df43c1ddad9a447d085a3063099dab7a6be1f9c395e7
|
||||
DIST fzf-fish-8.1.tar.gz 6486433 BLAKE2B 09f5d5232b99c2e7fad89e952fb9e2d9291c2ea6d7cae79466c9b011b9df82e3ae1f67c9f4fe29675ba43ba3b6174c0efc4f5d2c37dc191367b29fd597a90611 SHA512 19f1426afcf0591136c0a7af73f5472e90f59efe46ebfa48563ef91f61c71c669f4e8685c3c32c7dd34f87efc4f790e373f783acbe0a110ac24e4de1270f729c
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Augment your fish command line with fzf key bindings"
|
||||
HOMEPAGE="https://github.com/PatrickF1/fzf.fish"
|
||||
@@ -11,15 +11,27 @@ S="${WORKDIR}/${PN/-/.}-${PV}"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
sys-apps/fd
|
||||
app-shells/fish
|
||||
app-shells/fzf
|
||||
sys-apps/bat
|
||||
sys-apps/fd
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
app-shells/clownfish
|
||||
app-shells/fishtape
|
||||
app-shells/fzf-fish
|
||||
dev-vcs/git
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( README.md )
|
||||
#RESTRICT="!test? ( test )"
|
||||
RESTRICT="test" # how to run tests?
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/fish/vendor_completions.d"
|
||||
@@ -30,3 +42,14 @@ src_install() {
|
||||
doins functions/*
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# it want a git repo
|
||||
git init || die
|
||||
git config --global user.email "you@example.com" || die
|
||||
git config --global user.name "Your Name" || die
|
||||
git add . || die
|
||||
git commit -m 'init' || die
|
||||
|
||||
fish -c 'fishtape tests/*/*.fish' || die
|
||||
}
|
||||
Reference in New Issue
Block a user