commit: 62518e2d06ae1f94d23bb5378e3fdcdd724eab0a Author: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail <DOT> com> AuthorDate: Tue Aug 6 11:53:24 2024 +0000 Commit: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail <DOT> com> CommitDate: Tue Aug 6 11:54:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=62518e2d
dev-util/shellspec: revbump This revision allows respecting `EPREFIX`. Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail.com> ...spec-0.28.1-r1.ebuild => shellspec-0.28.1-r2.ebuild} | 17 +++++++++++++++++ dev-util/shellspec/shellspec-9999.ebuild | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-util/shellspec/shellspec-0.28.1-r1.ebuild b/dev-util/shellspec/shellspec-0.28.1-r2.ebuild similarity index 80% rename from dev-util/shellspec/shellspec-0.28.1-r1.ebuild rename to dev-util/shellspec/shellspec-0.28.1-r2.ebuild index 8cab3a2a4..54b8100cb 100644 --- a/dev-util/shellspec/shellspec-0.28.1-r1.ebuild +++ b/dev-util/shellspec/shellspec-0.28.1-r2.ebuild @@ -3,6 +3,8 @@ EAPI=8 +inherit prefix + DESCRIPTION="A full-featured BDD unit testing framework for all POSIX shells" HOMEPAGE="https://shellspec.info/" @@ -46,6 +48,21 @@ src_prepare() { sed -i "s/lib/$(get_libdir)/" stub/shellspec || 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() { :; } diff --git a/dev-util/shellspec/shellspec-9999.ebuild b/dev-util/shellspec/shellspec-9999.ebuild index 8cab3a2a4..54b8100cb 100644 --- a/dev-util/shellspec/shellspec-9999.ebuild +++ b/dev-util/shellspec/shellspec-9999.ebuild @@ -3,6 +3,8 @@ EAPI=8 +inherit prefix + DESCRIPTION="A full-featured BDD unit testing framework for all POSIX shells" HOMEPAGE="https://shellspec.info/" @@ -46,6 +48,21 @@ src_prepare() { sed -i "s/lib/$(get_libdir)/" stub/shellspec || 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() { :; }
