dev-util/hermes: fix bug 827152

Closes: https://bugs.gentoo.org/827152
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
This commit is contained in:
Bob Dröge 2021-11-25 14:17:06 +01:00 committed by Guilherme Amadio
parent 2d8b5007c0
commit 25dc0e2142
No known key found for this signature in database
GPG Key ID: 163F3352A3B4F9FB

View File

@ -4,7 +4,7 @@
EAPI=7
LUA_COMPAT=( lua5-{1..3} )
inherit lua-single
inherit lua-single prefix
DESCRIPTION="Lua based testing manager"
HOMEPAGE="https://github.com/TACC/Hermes"
@ -35,6 +35,11 @@ DEPEND="test? ( ${RDEPEND} )"
PATCHES=( "${FILESDIR}"/${PN}-2.8-lua-shebang.patch )
src_prepare() {
default
hprefixify -w '/#\!\/bin\/bash/' tm/Tst.lua || die
}
src_compile() {
sed -e "s|@LUA@|${LUA}|g" \
-i lib/tool.lua \