commit: 2ea041d030002bbdfd882e6ba55869a6a38c2919
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 14 08:28:15 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Feb 14 08:28:15 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ea041d0
dev-util/hermes: sync live ebuild
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-util/hermes/hermes-9999.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dev-util/hermes/hermes-9999.ebuild
b/dev-util/hermes/hermes-9999.ebuild
index b7ca2487655..e616c7382f4 100644
--- a/dev-util/hermes/hermes-9999.ebuild
+++ b/dev-util/hermes/hermes-9999.ebuild
@@ -22,20 +22,23 @@ LICENSE="MIT"
SLOT="0"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
+
RESTRICT="!test? ( test )"
RDEPEND="${LUA_DEPS}
$(lua_gen_cond_dep '
+ dev-lua/luafilesystem[${LUA_USEDEP}]
dev-lua/luaposix[${LUA_USEDEP}]
')
"
+DEPEND="test? ( ${RDEPEND} )"
PATCHES=( "${FILESDIR}"/${PN}-2.8-lua-shebang.patch )
src_compile() {
sed -e "s|@LUA@|${LUA}|g" \
- -i lib/tool.lua \
- -i bin/lua_cmd || die
+ -i lib/tool.lua \
+ -i bin/lua_cmd || die
}
src_test() {