mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
dev-util/shellspec: revbump
This revision allows respecting `EPREFIX`. Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
This commit is contained in:
@@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
|
inherit prefix
|
||||||
|
|
||||||
DESCRIPTION="A full-featured BDD unit testing framework for all POSIX shells"
|
DESCRIPTION="A full-featured BDD unit testing framework for all POSIX shells"
|
||||||
HOMEPAGE="https://shellspec.info/"
|
HOMEPAGE="https://shellspec.info/"
|
||||||
|
|
||||||
@@ -46,6 +48,21 @@ src_prepare() {
|
|||||||
|
|
||||||
sed -i "s/lib/$(get_libdir)/" stub/shellspec || die
|
sed -i "s/lib/$(get_libdir)/" stub/shellspec || die
|
||||||
sed -i "s/LICENSE//g" Makefile || die
|
sed -i "s/LICENSE//g" Makefile || die
|
||||||
|
|
||||||
|
local to_analyze=(
|
||||||
|
examples
|
||||||
|
helper
|
||||||
|
lib
|
||||||
|
libexec
|
||||||
|
stub/shellspec
|
||||||
|
shellspec
|
||||||
|
)
|
||||||
|
|
||||||
|
local -a to_prefixify
|
||||||
|
|
||||||
|
readarray -t to_prefixify < <(find "${to_analyze[@]}" -type f) || die
|
||||||
|
hprefixify "${to_prefixify[@]}"
|
||||||
|
sed -i "s|#!|#!${EPREFIX}|" README.md || die
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() { :; }
|
src_compile() { :; }
|
||||||
@@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
|
inherit prefix
|
||||||
|
|
||||||
DESCRIPTION="A full-featured BDD unit testing framework for all POSIX shells"
|
DESCRIPTION="A full-featured BDD unit testing framework for all POSIX shells"
|
||||||
HOMEPAGE="https://shellspec.info/"
|
HOMEPAGE="https://shellspec.info/"
|
||||||
|
|
||||||
@@ -46,6 +48,21 @@ src_prepare() {
|
|||||||
|
|
||||||
sed -i "s/lib/$(get_libdir)/" stub/shellspec || die
|
sed -i "s/lib/$(get_libdir)/" stub/shellspec || die
|
||||||
sed -i "s/LICENSE//g" Makefile || die
|
sed -i "s/LICENSE//g" Makefile || die
|
||||||
|
|
||||||
|
local to_analyze=(
|
||||||
|
examples
|
||||||
|
helper
|
||||||
|
lib
|
||||||
|
libexec
|
||||||
|
stub/shellspec
|
||||||
|
shellspec
|
||||||
|
)
|
||||||
|
|
||||||
|
local -a to_prefixify
|
||||||
|
|
||||||
|
readarray -t to_prefixify < <(find "${to_analyze[@]}" -type f) || die
|
||||||
|
hprefixify "${to_prefixify[@]}"
|
||||||
|
sed -i "s|#!|#!${EPREFIX}|" README.md || die
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() { :; }
|
src_compile() { :; }
|
||||||
|
|||||||
Reference in New Issue
Block a user